Skip to main content



      Home
Home » Newcomers » Newcomers » Multimodule projects
Multimodule projects [message #137873] Thu, 16 February 2006 10:34 Go to next message
Eclipse UserFriend
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 #137922 is a reply to message #137873] Thu, 16 February 2006 15:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mgoblin.mail.ru

You may use Eclipse WTP http://www.eclipse.org/webtools/
or write ant script to build ear file with modules
Re: Multimodule projects [message #138288 is a reply to message #137873] Fri, 17 February 2006 09:04 Go to previous message
Eclipse UserFriend
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.
Previous Topic:How to run server and client program in my PC
Next Topic:Plugin
Goto Forum:
  


Current Time: Fri Nov 07 08:38:38 EST 2025

Powered by FUDForum. Page generated in 0.08803 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top