Thanks for reply Mike!!!

This is a big application, all the modules will represent a unique solution, but the modules can live alone.
The business logic will be in EJB inside an ear package, and I dont know what is the best solution:
make a lot of logic-projects like finantial-data,  finantial-service, finantial-web, comercial-data,  comercial-service, comercial-web, etc... and generate just one .war with maven or generate a lot of wars and deploy to a application server and implement something like a single sign on to login solution.

Do you guys know some reference about modularization?

Thank you all for the help....

André Faria

Michael Horwitz escreveu:


On 11/6/07, André Faria <[EMAIL PROTECTED]> wrote:
Hi Everybody!

I am building a project architecture of a new project that requires a few modules.
I am thinking in something like that:

  /comercial/data
  /comercial/service
  /comercial/web

  /finantial/data
  /finantial/service
  /finantial/web
 
  /humanresources/data
  /humanresources/service
  / humanresources/web

Do you recomend me to deploy three different applications in the web server or do you guys think that is better to mix the three applications in just one war. Is there a way to generate just one war from more than one web project with Maven 2?
 
There are loads of questions you need to ask here like: how much code will be shared? Are release cycles going to be synchronized? Are they really three separate apps or is it one big application? etc.
 
You can "merge" wars in Maven to some extent, although this works best if you do it purely to share resources such as images, jsp files, _javascript_ files, etc. Take a look at war overlay: http://maven.apache.org/plugins/maven-war-plugin/overlays.html
Just be warned: it will not work too well if you are trying to merge fully fledged web projects.

Mike

Thanks!

Hugs,
André Faria
from Brazil

 


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to