facebook

XDoclet for EJB generation in a J2ee EAR project

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

    zulu99
    Member

    Hi All

    I tried some sample EJB generation code in MyEclipse. It worked fine & generated the EJB artifacts when I used the XDoclet within a EJB Project.

    What I currently have is J2ee EAR project with an EJB Module in it.
    When i try to run XDoclet for EJB generation it fails.

    Has anyone encountered this problem before. The same Xdoclet example for EJB artifacts generation works fine when used in EJB project but fails in Ejb module (used as part of J2ee project).

    I tried to include the EJB project within the EAR but still I am not able to run XDoclet from the EAR project though the option is available.

    Do respond if you have any idea on the same

    Bye
    Sushant

    #229329 Reply

    Scott Anderson
    Participant

    What I currently have is J2ee EAR project with an EJB Module in it.

    By “in it” do you mean physically? If so, that project model is not supported since it’s impossible for us to configure the classloader hierarchy in the IDE to mimic what will be available during deployment in the application server. If you simply mean that the EAR refers to the EJB project (as in our Enterprise Application quickstart (http://www.myeclipseide.com/images/tutorials/quickstarts/earprojects/)), then it should work fine.

    I am not able to run XDoclet from the EAR project though the option is available.

    Ah, then I think you mean the former case, and so the project model simply won’t work. Please see the quickstart to properly configure your Enterprise project for deployment in MyEclipse.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: XDoclet for EJB generation in a J2ee EAR project

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