| Author |
Max portlets in a war
|
|
|
| How many portlets can be satisfactorily packaged into a war file?
We would like to package as many as possible to be able to reuse the portlet's resources.This is assuming that portlet's resources cannot be accessed across different war files.
Kindly advise if above assumptions/approach is ok.
| |
|
| which portlets you are using IBM or JSR168. I think it should not be a problem for number of portlets. Are you facing any problems?
Thanks & Regards,
Bala
| |
|
| We are using IBM portlets.The number of portlets may run over 200.Trying to build a whole J2EE project on this.Am looking at what are the better design aspects, if any when we just put together these huge amount of portlets.
Another related question is since each portlet acts as a servlet then how good/bad is it, and does it follow the MVC pattern? becos as many portlets, there would be as many controllers whereas its better practice to have a single controller.
| |
| Oliver Meyer 2006-05-17, 1:17 pm |
| I suggest to not put too many portlets into a single war file. This is
because if the war file gets too large, you might get trouble deploying
or redeploying the war file. Especially if your system ran for a while
and the JVM heap is fragmented.
Oliver
| |
|
| John, Can you put a number on the number of portlets or the size of it which could be a cause for concern? I ask this as i have a system where there are over 300 tables in backend and we are planning to have an add and a search portlet for each of these b
usiness entity tables.Which translates to 600 portlets.
We can put them into 3 wars or 6 wars or 12.what is ideal cutoff?
| |
|
| John, Can you put a number on the number of portlets or the size of it which could be a cause for concern? I ask this as i have a system where there are over 300 tables in backend and we are planning to have an add and a search portlet for each of these b
usiness entity tables.Which translates to 600 portlets.
We can put them into 3 wars or 6 wars or 12.what is ideal cutoff?
|
|
|
|