c

Corba example:

Interface (wrapper) to examples.ejb.basic.statelessSession.Trader that is part of Weblogics ejb example set.

Steps to run demo:

  1. Configure Weblogic Application Server

    Make sure the jar file is deployed and configured in the weblogic.properties file. You should see the following line if not add one.

    weblogic.ejb.deploy=\
    	d:/weblogic4.5/classes/ejb_basic_statelessSession.jar
  2. Start weblogic server.

  3. Configure runtime environment.

    Open dos window and set up env. (change paths if need be)

    D:\Corba\ejb_mapping>setup.bat

  4. Start CORBA naming service

    D:\Corba\ejb_mapping>runORB.bat

  5. Start server

    D:\Corba\ejb_mapping>runServer.bat

  6. Start client

    D:\Corba\ejb_mapping>runClient.bat

Steps to building demo:

  1. Configure runtime environment.

    Open dos window and set up env. (change paths if need be)

    D:\Corba\ejb_mapping>setup.bat

  2. Run idl compiler on idl to generate interface (stubs/skeletons)

    D:\Corba\ejb_mapping>make.bat

    Output is as follows:

    Building ...
    corbaEJB.idl
    Note: 2 files use or override a deprecated API. Recompile with "-deprecation" for details.
    1 warning
Hosted by www.Geocities.ws

1