Web Stack Demo

Overview

This sample demonstrate how to run a web stack application using the Stack SessionBean with Instant ASP.

Install the EJB Application

  1. Start up your browser and go to the main administration page (the default is http://<hostname>:8888,  where hostname is the machine where you installed the application server).
  2. Click Applications in the navigational tree to display the list of applications in the right frame.
  3. Click , this displays the Add Application dialog.
  4. In the Add Application dialog:
    Application Type: select Enterprise JavaBeans (or jcorba ).
    Configure Mode: select From File or Manual. (It does not matter which you select.)
    Click Apply.

    This displays the Add JavaBeans Application dialog box.

  5. In the Add JavaBeans (or JCorba)Application dialog box:
    Display Name: enter the name to identify your application in the navigational tree.
    EJB Jar File: enter the full path to your JAR file.

    Click Apply.

  6. Click Websit40 Site in the navigational tree to display the list of Websit40 Site in the right frame.
  7. Click start or reload .until load finished,then click button OK(if the OAS processes are already up,Please reload).
  1. set ORAWEB_HOME=c:\orant\ows\4.0
    set JCO_JAR=
         %ORAWEB_HOME%\..\jco\apps\client\myStack\_client.jar;
         %ORAWEB_HOME%\sample\jco\stack\ClientStack.jar
    set JCODRIVER=%ORAWEB_HOME%\..\jco\api\jcoapi.jar

    set JBEANS_JAR=
         %ORAWEB_HOME%\..\jbeans\apps\client\StackDemo\_client.jar;
         %ORAWEB_HOME%\sample\jbeans\stack\ClientStack.jar
    set JBEANSDRIVER=%ORAWEB_HOME%\..\jbeans\api\jbapi.jar

    set ORB_JARS=
         %ORAWEB_HOME%\jbeans\lib\vbjorb.jar;
         %ORAWEB_HOME%\jbeans\lib\vbjapp.jar

    set OAS_JARS=%JCO_JAR%;%JCODRIVER%;
         %JBEANS_JAR%;%JBEANSDRIVER%;%ORB_JARS%

    set CLASSPATH=%OAS_JARS%;%CLASSPATH%
  2. modify oas.java.naming.provider.url  = oas://<hostname>:8889/ in file ejb.properties to write your hostname.
  3. Start the Instant Active Server Page Proxy Server.
  4. Run stack.asp in your browser.

 

If you require technical support please send complete details about the problem you are having to support@halcyonsoft.com.


Copyright © 1998-2000, Halcyon Software Inc. All rights reserved.