Edward,

There are a few steps involved in deploying EJBs on Oracle9iAS, but
it it not hard.  Below are instructions I took from Empirix's
Bean-test product for deploying sample EJBs on it Oracle9iAS v1.0.

The instructions below assume you are using Empirix's sample EJBs,
but it can be your .ear/.jar file containing the standard EJB files.
(If you need sample EJBs to use, you can get them from downloading
Bean-test at http://www.empirix.com/downloads/bean-test  (You don't
need a license just to grab the sample EJBs.)

Drop this .jar/.ear file in <Oracle9iAS_home>\j2ee\home\applications

>From the Bean-test demo instructions:
Open the following file in a text editor:
c:\Oracle9iAS\j2ee\home\config\server.xml

Add the line shown in bold below:

<application-server
    application-directory="../applications"
    deployment-directory="../application-deployments"
>
    <application name="ejbsamples" path="../demo/ejb" />
    <application name="BeanTestDemoBeans" path="../applications/BeanTestDemoBeans.ear" 
/>

Then save and close the file.

Open the following file in a text editor:

c:\Oracle9iAS\j2ee\home\config\principals.xml

Make a note of the username and password for an activated account
that you can use to run the demo. Then close the file.

Open the following file in a text editor:

c:\Oracle9iAS\j2ee\home\config\rmi.xml

Make a note of the rmi-server port number (the default is 23791).
Then close the file.

Start the Oracle9iAS server and verify that the "Containers for J2EE
initialized" message is displayed.

Now you can create use Bean-test to test the EJBs on thiss server
or make your own EJB client if you don't want to use Bean-test.

I hope this helps.  Good luck.
Steve

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to