Hi,
        You can have multiple EJBs in the same jar. You can check out the
deployment descriptor dtd in the EJB 1.1 spec (section 16.5) for more info
of how to do that. Coming to your questions :
1: I feel that the Entity EJbs and the Session Ejb which gives the facade
for them can be in the same jar file. So you get a jarfile containing a
particular discrete business logic functionality (or functionalities).
2: But, it is easier to maintain and redeploy EJBs if they are seperate jars
during development.

But anyway, its your choice.
HTH,
Anil

--------------------------------------------
Anil Colin Lobo
Aztec Software, Inc.
3211 Scott Blvd., Suite 204
Santa Clara, California 95054
Ph: (408) 7483500
Web: http://www.aztecsoft.com

-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Shiv Kumar
Sent: Tuesday, August 29, 2000 11:38 PM
To: [EMAIL PROTECTED]
Subject: Multiple EJBs in single jar


Hi all

I posted this question two days back. I did not get any useful response.
Forwarding it again..

I have a stateless session bean calling different entity beans. I would like
to
hear on how to jar all these EJBs.

Basically, I have two choices :-

   * Have one separate Jar for each EJB (one session and other entites)
   * Have a single Jar for all EJBs (session and entities)

What is the recommended approach? What is the advantage/disadvantage?

TIA.
--
shiv
[EMAIL PROTECTED]

===========================================================================
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