Deploying applet client code

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

开始之前

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.

关于此任务

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.

过程

  1. Install the Application Client for WebSphere Application Server.
  2. 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
    注: 对于安装了 WebSphere Application Server 应用程序客户机的 Java 插件用户,这些参数条目将自动放入到 WebSphere Application Server 控制面板中,只要您正在使用 JDK 1.5 之前的 Java SE Development Kit (JDK)。如果正在运行 Applet 的用户并不是安装客户机的那个用户,那么该用户必须输入这些参数条目。

    对于 JDK 1.5 及更高版本,已移除此自动参数功能。

    • Java 运行时参数字段类似于使用命令行选项时的命令提示符。因此,您还可以在此字段中输入大多数可以在命令提示符处使用的选项(例如 -cp、类路径以及其他选项)。
  3. 进行配置以使用安全套接字层 (SSL),以便对资源进行安全访问。 缺省情况下,Applet 客户机已配置为启用安全性。如果您已在从中访问资源的服务器上打开管理安全性,那么可以在需要时使用 SSL。如果您确定 Applet 客户机应用程序的安全性需求与其他类型客户机应用程序的安全性需求不同,那么可以创建客户机属性文件的特殊副本以供 Applet 使用。

指示主题类型的图标 任务主题



时间戳记图标 最近一次更新时间: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=tcli_deployapplet
文件名:tcli_deployapplet.html