Currently, I am trying to find out how the portlets can share database connections among
them. However, I could not get any information from the documentation, hopefully I can get
some here.
The scenario is that we use dbcp to manage our db connection pool. And I guess that each
portlet instance might consume a db connection, so, if a page has 10 portlets, that means
10 db connections will be used. Then what else if thousand of people visit this page, 10
times db connections will be consumed, this is horrible. Therefore, I am wondering how the
db connections can be share among the portlet instances.
I read some article saying to use the datasource should be a good idea, however, to remain
using dbcp is ideally first place in our consideration.
So any comment is appreciated:)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091787#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...