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:
- These clients are available on the Windows platforms.
Check the prerequisites page for information on platform support and
product prerequisites.
- The browser installation precedes the client code installation.
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 Application Client for WebSphere Application Server so that the
browser recognizes the IBM® product Java plug-in.
Procedure
- Install the Application Client for WebSphere Application
Server.
- Configure required Java runtime parameters.
- Click .
- Select the IBM Control Panel for Java
- 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
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.
- 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.