facebook

Nested Project Modules

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #228806 Reply

    GMACM
    Member

    Today I can’t create a war module within a subdir of a ear module project, this is very limiting, in that I want to use myeclipse to manage modules, and if I do so thru an ear… everything is on the same level, and can’t be nested.

    Is there a specific reason as to why a war or ejb project can’t be within another project?

    -jason poley

    #228814 Reply

    Scott Anderson
    Participant

    Jason,

    Good question. Yes, there is a specific reason. Eclipse allows configuration of classloaders at the project level only. If nested projects were allowed it would be impossible to configure your project’s classloader in the development enviornment to be exactly the same as it will be when deployed in a J2EE server. With the current setup, we can ensure that you won’t get any compilation problems or ClassNotFoundExceptions when your application is deployed, but with nested modules we could not. In fact, with nested modules you could build an appication that you simply *can’t* deploy in a J2EE server, given then classloader nesting model that the J2EE server must implement.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Nested Project Modules

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