| Multimodule projects [message #137873] |
Thu, 16 February 2006 10:34  |
Eclipse User |
|
|
|
Hi All,
I'm newbie in eclipse. How can I create multi module project? I have a
project in Idea with web module(JSP and so on), Java module (classes)
and J2EE Application module (application descriptors). How can I create
something like this in Eclipse. If I can't, what should I do?
Best regards,
Dmitri
|
|
|
|
| Re: Multimodule projects [message #138288 is a reply to message #137873] |
Fri, 17 February 2006 09:04  |
Eclipse User |
|
|
|
Originally posted by: a.b.com
Yes, you should be using at least WTP, or you could consider one of the
commercial supersets from the major vendors such as IBM Rational, BEA or
Oracle.
Inside your workspace you create multiple projects.
Your unit of deployment is your webapp, but it in turn can import jar files
from the other projects.
So you might define a project with classes for managing your data store, and
another project with classes for authn/authz and another with classes for
reporting. Each of these projects provides a defined API "contract" to the
others.
Your webapp uses the classes that these projects provide, by importing their
jar files. You define the dependencies in the Build path for the Webapp and
in the J2EE deployment descriptor.
If you have a team of developers, you can allocate the responsibility for
developing the code using the "separation of concerns" that this structure
provides.
|
|
|
Powered by
FUDForum. Page generated in 0.08619 seconds