facebook

Sun’s recommended J2EE directory structure and MyEclipse?

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    lawrieg
    Member

    Hi,

    I’m new to MyEclipse (and Eclipse) and I can’t work out how you can possibly use the directory structure for J2EE apps that Sun recommends in its “Project Conventions for Enterprise Applications” document (i.e. where EJB and WAR module directories are subdirectories of the the EAR directory).

    It could just be because I’m just starting out with this after a long day, but I can’t see any way to follow this suggested directory structure while using the MyEclipse option to create a new “Enterprise Application Project” – it doesn’t allow me to place the Web project modules or EJB project modules in a subdirectory of the Enterprise Application Project directory.

    Am I missing something here, or are Sun’s recommendations totally incompatible with MyEclipse/Eclipse?

    Thanks in advance,
    Lawrie.

    #239476

    Riyad Kalla
    Member

    Am I missing something here, or are Sun’s recommendations totally incompatible with MyEclipse/Eclipse?

    Totally incompatible. There is quite a divide between what is suggested on paper and what is actually helpful in the real world. As it stands now the Enterprise Project acts as a wrapper to “modules” where modules can be any EJB, Web or Java project. If we were to require you to include these projects WITHIN the Enterprise Project, working with many different modules would become an absolute nightmare.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Sun’s recommended J2EE directory structure and MyEclipse?

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