Differences between revisions 1 and 2
Revision 1 as of 2005-01-12 02:05:43
Size: 681
Comment: Importing old wiki ...
Revision 2 as of 2009-09-20 22:47:53
Size: 681
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

Q: How does Axis create my backend service objects? Can I control this?

A: Axis supports a "scope" parameter on services, which can be set to "request" (make a new object to service each request - this is the default), "session" (associate a new object with each session), and "application" (all users share a singleton object). Refer to the Axis User's Guide under Scoped Services for details.

WARNING: If you set the scope to "session" or "application", it is possible that multiple threads of control may attempt to access your object's methods at the same time. It is your responsibility to ensure that your objects are thread-safe in these cases.

FrontPage/Axis/AxisServiceObjects (last edited 2009-09-20 22:47:53 by localhost)