WebSphere Application Server Network Deployment, Version 6.0.x   Operating Systems: AIX, HP-UX, Linux, Solaris, Windows
             [TIP: Focusing the table of contents and search results]

Developing 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 reside on either Web servers or WebSphere Application Servers and can only communicate using the HTTP protocol, applet clients are capable of communicating over the HTTP protocol and the RMI-IIOP protocol. This additional capability gives the applet direct access to enterprise beans.

Procedure

  1. Install the Application Client for WebSphere Application Server.
  2. Select the applet client feature.
  3. From the IBM Control Panel for Java, enter the following code:
    -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>\lib\WMQ\java\lib"
    -Dcom.ibm.CORBA.ConfigURL=file:<app_client_root>\properties\sas.client.props
    -Dcom.ibm.SSL.ConfigURL=file:<app_client_root>\properties\ssl.client.props
    -classpath <app_client_root>\properties
    Note: The previous 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 this sample is being run by a user other than the person who installed the client, the user must enter the entries.
    • The Java Run-Time 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.
    • Access the IBM Control Panel for Java from the Start menu. Click Start > Control panel > select the IBM Control Panel for Java.
    • 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.

    View the Samples gallery for more information about application clients.




Sub-topics
Accessing secure resources using SSL and applet clients
Applet client tag requirements
Applet client code requirements
Task topic    

Terms of Use | Feedback

Last updated: Mar 8, 2007 8:14:28 PM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tcli_developapplet.html

© Copyright IBM Corporation 2004, 2006. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)