In a servlet style environment (where multiple threads operate on an object at a time). How many broker objects should I use?
One per thread? One per session? One per request? One to share?
What are the implications of the various options. So far I have been mostly writing tests where I get the broker from the factory in setUp and clearCache/close in tearDown, but this seems to create a new connection pool for each testcase object and this seems slow and cumbersome for an application.
Thanks
Dave -- David Warnock, Sundayta Ltd. http://www.sundayta.com iDocSys for Document Management. VisibleResults for Fundraising. Development and Hosting of Web Applications and Sites.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
