How modular would you like your portlets to be? In other words, will you always deploy all
of the portlets? Or will there be cases when you want to deploy only 1 (or two or..) of
them?
Also, is there any sort of logical organization among your portlets (for example, portlets
A and B are always used together). This should give you some ideas about how to split it
up.
The other issue to think about is the classes the portlets have in common. For example,
both portlet A and B use class C. In that case, placing them into the same war is better
because if A and B were each in their own wars, then C would have to be in both wars (due
to the isolation of the classloaders for wars as required by the servlet spec).
The final issue I can think of is convenience. For example, if you were someone (other
than you who knows the app well) who had to install the app, what you you rather install -
a single war file or multiple war files? This becomes an even bigger issue if each war
file has to be downloaded (from some web site) separately. (Sometimes there are reasons
other than technical for deciding how to package something.)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152767#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...