ejb.xml and ejb-jar.xml ....are these same ?

G

gk

ejb.xml and ejb-jar.xml ....are these same ?

both of them seems to be called deployment descriptor.

are these really same ?
 
M

Manish Pandit

ejb-xml is container/vendor specific. I have never seen an ejb.xml
standalone, it is always something like weblogic-ejb.xml or
jboss-ejb.xml. It contains JNDI mappings for resources. On the other
hand, ejb-jar.xml deployment descriptor is a part of the J2EE spec,
which lists the various EJBs, their transaction/persistance properties
and remote/home/class information.

-cheers,
Manish
 
G

gk

Manish said:
ejb-xml is container/vendor specific. I have never seen an ejb.xml
standalone, it is always something like weblogic-ejb.xml or
jboss-ejb.xml. It contains JNDI mappings for resources. On the other
hand, ejb-jar.xml deployment descriptor is a part of the J2EE spec,
which lists the various EJBs, their transaction/persistance properties
and remote/home/class information.

-cheers,
Manish

thank you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top