Skip to Content
author's profile photo Former Member
Former Member

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 (help.sap.com) 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,

Nadine

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 25, 2004 at 11:22 AM

    Hi Nadine,

    If you're using the SAP NetWeaver Developer Studio, you do not really need to declare the beans in the deployment descriptor - they are automatically added to it. What is meant in the documentation is that for message-driven beans you must maintain the parameters in the ejb-j2ee-engine.xml, because they are required, while for session and entity beans this XML only contains optional parameters.

    Zornitsa

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 26, 2004 at 03:22 PM

    Hi,

    First, thanks for your reply. I'm not developing EJBs, I'm migrating a J2EE Application from JBoss to SAP Web AS 6.40 and I like to automate this process with XDoclet and Ant. So I need this information to decide if I have to generate fragments inside the ejb-j2ee-engine.xml for the session beans too.

    Have a nice weekend,

    Nadine

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.