You need to take five steps:

1. First tell the server where the app is in the server.xml file (this is in
the config directory). Add this line between the <application-server> tags:
                        <application name="someapp" path="/path/to/someapp" />

2. Create a directory the reflects your /path/to/someapp above. Add a
directory, /path/to/someapp/META-INF.

3. Create an application.xml with the following content, and put it in the
META-INF directory:

<?xml version="1.0"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE
Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd";>

<application>

        <module>
                <ejb>EJBS.jar</ejb>
        </module>

</application>

4. copy your EJBS.jar to the /path/to/someapp directory.

5. Restart orion, or start the new application from admin.jar.

Presto, you should see orion deploying your ejbs.

Regards,

The elephantwalker




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of cmp user
Sent: Tuesday, May 08, 2001 2:30 PM
To: Orion-Interest
Subject: can we deploy Ejb.jar into orion without using EAR


Hi
I was wondering if I could deploy an EJB.jar (which is
a simple session bean) without making it part of an
EAR file

thanks
cmpuser

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/



Reply via email to