facebook

EJB deployment without XDoclet

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #250133 Reply

    csell
    Member

    Hello,

    I have a plain EJB module with an existing ejb-jar descriptor, and have no intention of using XDoclet. The descriptor resides in the META-INF directory as usual. However, MyEclipse does not seem to pick it up upon deployment.

    Does MyEclipse support ejb-jar deployment? If so, how do I tell ME about my ejb-jar file?

    thanks,
    Christian

    #250179 Reply

    Riyad Kalla
    Member

    Christian,
    I’m assuming you are using an MyEclipse EJB Project correct? Are you simply trying to deploy the EJB directly to your app server, or as part of an EAR?

    Also when you say “does not seem to pick it up”, could you be more specific?

    #250218 Reply

    csell
    Member

    well, I have an EJB project which is referenced by an EAR project. The ejb prj contains a META-INF directory on the top project level, which has the ejb-jar.xml file. A standard ejb setup IMO.

    I am deploying through the ear project. All compiled files from the ejb project are copied ok – but the ejb-jar file is left alone.

    #250226 Reply

    Riyad Kalla
    Member

    This looks to be a bug, I just duplicated this on my end. I’ll file it ASAP.

    Just to clarify, when the EJB is deployed, it should have the META-INF dir at the top level and the ejb-jar.xml file inside of it, correct?

    #250290 Reply

    csell
    Member

    you are referring to the standard EJB jar file format? Yes, there must be a META-INF directory at the root, containing the ejb-jar.xml and any server-specific files. My project mirrors this structure as well.

    #250296 Reply

    Riyad Kalla
    Member

    I filed this as it seems MyEclipse just ignores this right now, sorry for the inconvenience I’ll try and push the priority up on this.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: EJB deployment without XDoclet

You must be logged in to post in the forum log in