Deploying applet client code

Applet clients are capable of communicating over the HTTP protocol and the RMI-IIOP protocol.

Before you begin

Applet clients have the following setup requirements:

About this task

Unlike typical applets that are on Web servers or WebSphere® Application Servers 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. You must first install the Applet client feature from the Application Client for WebSphere Application Server so that the browser recognizes the IBM® product Java plug-in.

Procedure

  1. Install the Application Client for WebSphere Application Server.
  2. Select the Applet client feature.
  3. 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
    
    Note: These parameter entries are automatically placed into the WebSphere Application Server control panel for the Java plug-in user who installed the WebSphere Application Server Application Client. 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.
    • 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.
  4. Configure use of secure sockets layer (SSL) for secure access to resources. By default, the applet client is configured to have security enabled. If you 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.
Task topic    

Terms of Use | Feedback

Last updated: Oct 20, 2010 7:53:43 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-nd-dist&topic=tcli_deployapplet
File name: tcli_deployapplet.html