Developing applet client code

Before you begin

Applet clients have the following setup requirements:

Why and when to perform this task

Unlike typical applet clients 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 client direct access to enterprise beans.

Steps for this task

  1. Run the WebSphere Application Server clients installation.
  2. Select the Applet client option.
  3. Install the Applet client.
  4. Install the WebSphere Application Server plug-in for the browser.
    The installation creates the following Java Runtime Parameters for the Java Plug-in for the user who installed the Applet client.
    -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: If a user other than the one who installed the applet client runs an applet client sample, then that user must enter these 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.
    • Start the Java Plug-in control panel.
    • The Java Run-Time Parameters field is in the Advance tab of the Java Plug-in control panel.
    • 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. Before you run the basicCalculator Sample, ensure the JMS Server is started.

    These samples do not include client applications that communicate with Enterprise server-side examples.


Related reference
Applet client tag requirements
Applet client code requirements



Searchable topic ID:   tcli_developapplet
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/ae/tcli_developapplet.html

Library | Support | Terms of Use | Feedback