Verify that your browser can run JDK 1.2 applets  Write the applet code

Chapter 2: Creating CORBA Java Components and Clients

Prepare your EAServer installation to run applets

As installed, EAServer does not provide the classes required to run applets under the html or html/classes directories. To run the applet, you must copy or link the required runtime JAR files to the EAServer html/classes directory.

NoteDo not expand the JAR files The applets created in this tutorial do not require expansion of the easclient.jar and easj2ee.jar files.

StepsOn Windows, copy the JAR files

  1. Copy easclient.jar and easj2ee.jar from the EAServer java/lib directory to the html/classes directory.

StepsOn UNIX platforms, link the JAR files

  1. Create symbolic links from the easclient.jar and easj2ee.jar in the EAServer java/lib directory to the html/classes directory. For example, run these commands:

    cd $JAGUAR/html/classes
    ln -s $JAGUAR/java/lib/easclient.jar
    ln -s $JAGUAR/java/lib/easj2ee.jar
    




Copyright © 2005. Sybase Inc. All rights reserved. Write the applet code

View this book as PDF