I suspect the original question was about 1.0 deployment options.
My experience is with WebLogic. WLS 4.5 (and probably others as well) allows
for deployment using:
a) EJB jar files -- in which case the jar file's manifest references .ser files
stored in the jar, or
b) .ser files directly.
In the case (b), the rest of the beans' implementations must be in the server's
class path. For (a) this *may* not be the case -- depending upon whether you
have any cross-jarfile dependencies.
-Tom
-----Original Message-----
From: Alexis Moussine-Pouchkine - Sun Microsystems
<[EMAIL PROTECTED]>
Sent: Monday, April 17, 2000 3:25 PM
To: [EMAIL PROTECTED]
Subject: Re: .ser VS .jar
Lakshmi Anantharaman wrote:
>
> What is the difference in deployin a ser file and a jar file ?
>
> Lakshmi
>
> ===========================================================================
> 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".
Lakshmi,
The 1.0 EJB spec used .ser files for deploying EJBs. These are
instanciated
classes written to an object stream (file). They represent data
(deployment
attributes).
Jar files are not comparable because Jar is essentially an archive
format
for Java classes (not objects). The EJB 1.1 spec now asks for an XML
deployment descriptor thus replacing the data in the .ser file by a more
"readable" format.
EJB 1.0 DD: .ser file
EJB 1.1 DD: .jar file + XML file
Alex.
--
===========================================================================
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".
===========================================================================
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".