can we deploy Ejb.jar into orion without using EAR

2001-05-09 Thread cmp user

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/




RE: can we deploy Ejb.jar into orion without using EAR

2001-05-09 Thread elephantwalker

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
ejbEJBS.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/






RE: can we deploy Ejb.jar into orion without using EAR

2001-05-09 Thread Kesav Kumar
Title: RE: can we deploy Ejb.jar into orion without using EAR





Create all your classes(home, remote, EJB) write a deployment descriptor ejb-jar.xml keep the ejb-jar.xml in Meta-inf directory of your application. This works fine.

Kesav Kumar
Software Engineer
Voquette, Inc.
650 356 3740
mailto:[EMAIL PROTECTED]
http://www.voquette.com
Voquette...Delivering Sound Information



-Original Message-
From: cmp user [mailto:[EMAIL PROTECTED]]
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/