WebSphere Application Server - Express, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Developing applet client code

Before you begin

Applet clients have the following setup requirements:

Why and when to perform 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.

Steps for this task

  1. Run the application server client installation.
  2. Select the applet client option.
  3. Install an applet client.
  4. Install the WebSphere Application Server plug-in for the browser. From the WebSphere Application Server Java Plug-in control panel, enter the following code:
    -Djava.security.policy=<product_installation_dir>\properties\client.policy
    -Dwas.install.root=<product_installation_dir>
    -Djava.ext.dirs=<product_installation_dir>\classes;
    <product_installation_dir>\java\jre\lib\ext;
    <product_installation_dir>\java\jre\lib;
    <product_installation_dir>\lib;<product_installation_dir>\properties
    -Dcom.ibm.CORBA.ConfigURL=file:<product_installation_dir>\properties\sas.client.props
    -classpath <product_installation_dir>\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 Sever 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 control panel from the Start menu. Click Start > Control panel > select the product Java plug-in.
    • The applet container is the Web browser and the Java plug-in combination. You must first install the WebSphere Application Server Applet client 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: Jun 8, 2005 12:45:23 PM EDT
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/tcli_developapplet.html

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