Step #1:  Install an EJB Server

  • Download WebLogic's Tengah server from the following web site:

    "http://www.weblogic.com/download.htm "

  • Extract the distribution using "jar" or the "unzip" utility. Throughout this tutorial we assume that Tengah is installed in the /export directory, for example, /export/weblogic.

  • Download the latest version of the JDK from the SolarisTM web site:

    http://www.sun.com/solaris/java

  • Set your CLASSPATH on the server host:

    Add weblogic/classes and weblogic/lib/weblogicaux.jar to your Java CLASSPATH, also ensure you have "." or your current directory in the CLASSPATH as well

    Add weblogic/lib/solaris to your LD_LIBRARY_PATH

  • Edit the WebLogic properties file "weblogic.properties"

    Set system password, weblogic.password.system

  • Start the Tengah server using the startTengah.sh script. Later, after building and deploying the example bean, you can check that the EJB bean has been deployed correctly, either by checking the server command line window, or by opening the Console and examining the "EJB Transaction Server" under the "Distributed Objects"; you should see DemoBean deployed, and can monitor its activity.


     
     
    next