0

I have a J2EE web application which uses Spring3 framework and will eventually be deployed on WebSphere Application Server 8.5. We wanted to implement some pooling for our web application. However, both Spring3 and WebSphere Application Server has support for pooling.

Should we use the pooling provided by Spring3 or should we use the one provided by WebSphere? Which is more efficient to use?

Thanks!

Arci
  • 6,647
  • 20
  • 70
  • 98
  • Pooling of what? (http connections, db connection, beans, ...) – Ralph May 27 '13 at 11:04
  • @Ralph: Custom objects. It's under `Resources > Object pool managers`. But I don't know how to set its properties. Do you know how to set it? Thanks! – Arci May 28 '13 at 01:29
  • could you please explain how you want to pool "Custom objects" with Spring -- because is still do not understand what you exactly want to pool. – Ralph May 28 '13 at 07:38
  • @Ralph: For Spring 3, I use the AOP api. I followed the instruction here: http://static.springsource.org/spring/docs/3.0.x/reference/aop-api.html . It's under `8.10.2 Pooling target sources`. – Arci May 28 '13 at 10:03
  • this is not what I ment: do you want to implement something like a method result cache, or do you want to resuse some objects because they are expensive to create, or what/how do you want to pool. – Ralph May 28 '13 at 11:39

0 Answers0