Applet client sample

In the Applet client model, a Java applet embedded in a HyperText Markup Language (HTML) document resides on a client machine that is remote from the WebSphere® Application Server. With this type of client, the user accesses an enterprise bean in the WebSphere Application Server through the Java applet in the HTML document. The Applet client sample demonstrates how to use a simple stateless session enterprise bean from the Applet client.

Time required to set up and configure this sample

1 hour

Prerequisites for use

  • Windows® 32-bit operating system
  • WebSphere Application Server Version 8.0
  • Application Client installed
  • Application Client Samples installed (This is an optional feature during installation.)
  • IBM® JRE installed during Application Client installation
  • Standalone thin clients installed (This is an optional feature during installation.)
Important: This sample was tested with WebSphere Application Server Version 8.0.

Sample download

To use the sample, download the Applet client sample files from a product download site:

  1. Choose one of the following methods to download the TechnologySamplesAppletClient.zip file to a directory on your workstation: FTP or HTTP. You might create the /samples/applet_client directory path on your workstation and download the Applet client sample files to that directory path.
  2. From the displayed dialog, specify the target directory to which to save the compressed file and click OK.
  3. The TechnologySamplesAppletClient.zip file contains sample files in the following directory structure:
    /TechnologySamplesAppletClient
      /BasicCalculator
      /images
      /style
      build.xml
      readme.html
    Attention: The readme.html file contains information for installing and running the sample.

Sample description

BasicCalculatorClient

The BasicCalculatorClient sample is a simple Java Swing applet that shows how to use a simple stateless session enterprise bean from the Applet client.




Related tasks
WebSphere Application Server Version 8.0 samples
Concept topic Concept topic    

Terms of Use | Feedback

Last updatedLast updated: Sep 20, 2011 1:12:33 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-nd-mp&topic=sample_applet_client
File name: sample_applet_client.html