Network Deployment (Distributed operating systems), v8.0 > Develop and deploying applications > Develop Client applications > Deploy client applications


Deploy applet client code

Applet clients are capable of communicating over the HTTP protocol and the RMI-IIOP protocol. Applet clients have the following setup requirements:

Unlike typical applets that are on web servers or WASs and can only communicate over the HTTP protocol, applet clients can communicate over the HTTP protocol and the RMI-IIOP protocol. This additional capability gives the applet direct access to enterprise beans.

The applet container is the web browser and the Java plug-in combination. We must first install the Application Client for WAS so that the browser recognizes the IBM product Java plug-in.


Procedure

  1. Install the Application Client for WAS.

  2. Configure required Java runtime parameters.

    1. Click Start > Control panel .

    2. Select the IBM Control Panel for Java

    3. On the Advanced tab, enter the following parameter values in the Java Runtime Parameters field.

    -Xmx512M
    -Djava.security.policy=
    <APP_CLIENT_ROOT>\properties\client.policy
    -Dwas.install.root=
    <APP_CLIENT_ROOT> -Djava.ext.dirs=
    <APP_CLIENT_ROOT>\java\jre\lib\ext;
    
    <APP_CLIENT_ROOT>\lib;
    
    <APP_CLIENT_ROOT>\plugins;
    
    <APP_CLIENT_ROOT>\lib\ext;
    
    <APP_CLIENT_ROOT>\installedConnectors\
    -Djava.class.path=
    <APP_CLIENT_ROOT>\properties
    -Dcom.ibm.CORBA.ConfigURL=file:
    <APP_CLIENT_ROOT>\properties\sas.client.props
    -Dcom.ibm.SSL.ConfigURL=file:
    <APP_CLIENT_ROOT>\properties\ssl.client.props
    
    

    These parameter entries are automatically placed into the WAS control panel for the Java plug-in user who installed the WAS Application Client provided you are using a Java SE Development Kit (JDK) prior to JDK 1.5. If the applet is being run by a user other than the person who installed the client, then that user must enter the parameter entries.

    For JDK 1.5 and later, this automatic parameter feature is removed.

    • The Java Runtime Parameters field is similar to the command prompt when using command line options. Therefore, you can enter most options available from the command prompt (for example, -cp, classpath, and others) in this field as well.

  3. Configure use of secure sockets layer (SSL) for secure access to resources. By default, the applet client is configured to have security enabled. If we have administrative security turned on at the server from which you are accessing resources, then you can use SSL when needed. If you decide that the security requirements for applet client applications differ from other types of client applications, then you can create special copies of client property files for applets to use.


Develop applet client code

+

Search Tips   |   Advanced Search