Skip to Content
Former Member
Nov 25, 2004 at 10:50 AM

Do I have to declare all Components of a JAR in ejb-j2ee-engine.xml?


Hi all,

I've got a question concerning the ejb-j2ee-engine.xml Deployment Descriptor.

In the documentation ( I found:

"This XML is optional for session and entity beans. However, it is required if your EJB application contains message-driven beans, because it contains information, without which the beans cannot work."

I've a EJB Component consisting of two stateless Session Beans and one MessageDriven Bean. Is it possible to declare only the MessageDriven Bean in this WAS specific Deployment Descriptor? Or do I have to declare all of them?

Thanks for your reply,