Hi!
One .jar could contain and normally does contain multiple beans. All the
information for deployment of these beans goes in just one ejb-jar.xml.
The contents of ejb-jar.xml are specified by the EJB specification from
SUN. Into the same dir (META-INF) goes jboss.xml and jaws.xml. You don't
need them to start. jboss.xml specifies settings which are special to
jBoss. jaws.xml specifies special mappings for storing CMP beans
(container managed persistence) into a database. To start you only need
ejb-jar.xml. JBoss wil use good default settings for everything else.

Good luck,
Tobias

"Andersson, Jan" wrote:
> 
> Hi!
> 
> I've been working my way through the "Beginning EJB programming using jBoss
> (Windows)" and have now started to create some beans by myself. Some
> problems I've come across have had me thinking of the following things found
> in "Beginning ...".
> 
> The structure for the interest bean example:
> 
> com
>     web_tomorrow
>         interest
>             {java source and class files here}
> 
> META-INF
>         ejb-jar.xml
>         jboss.xml (optional)
> 
> Why is META-INF on top of the package/directory structure, instead of in the
> interest directory? There will probably be lots of beans in a package
> structure. Do the all have to share the same META-INF and, consequently, the
> same ejb-jar.xml?
> 
> The following sentence from step three in "Beginning...":
> 
> "The deployment descriptor must be called ejb-jar.xml and it must be in the
> directory .\META-INF."
> 
> The dot in .\META-INF of course is the reference to the current directory,
> but what is the current directory?
> 
> Regards,
> Jan Andersson
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> List Help?:          [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to