We are starting a Cayenne based project using Apache Axis based web
services. We have an existing WebObjects based application using EOF and are
using this project as a test to see if we can replace EOF with Cayenne on a
larger scale in our applications.
For a web service what is the best way to use/reuse a DataContext so we can
scale our app to handle lots of concurrent users/connections to our web
services. Some of our web services will be read only type of services,
others will be used to modify or create data. In EOF we have used
SharedEditingContexts with some success.
Is it better to use the ThreadedDataContext or is it safe to reuse or share
DataContexts across multiple users in a stateless environment like a web
service?
Any thoughts or guidance would be appreciated.
-- Dov Rosenberg Inquira Inc 370 Centerpointe Circle, ste 1178 Altamonte Springs, FL 32701 (407) 339-1177 x 102 (407) 339-6704 (fax) drosenber..nquira.com AOL IM: dovrosenberg
This archive was generated by hypermail 2.0.0 : Tue Jan 10 2006 - 22:01:18 EST