I don't know where to put this question as its regarding architecture discussion of my project, its impt thread for me so you can put in forum where it best suits...
These are following component of my project
External GUI (visible to client externally) but invoked from some other external application via link
Internal GUI ( visible to operation team / customer care dept)
Webservices (exposed internally)
some common util Jar files having common logic
I want to package eternal GUI/Internal GUI and webservices as war file along with jar file in one EAR file
I am going to put interceptor which will monitor from which link the request is coming and we will be doing role based security and data is available from siteminder session .
Instead of putting separate ear for each gui and webservicces I opted for one ear to better utilize code and since every thing will be developed simultaneously
by different developer code maintainability will be better
I need the following input :
How realastic it is to package many war file in one EAR ?
can code in war file still access the jar file having common logic put inside EAR file but outside war file ? so it can be shared among GUI and webservices... ?