aspose file tools
The moose likes Web Services and the fly likes Application vs. Session scope in Axis Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Application vs. Session scope in Axis" Watch "Application vs. Session scope in Axis" New topic
Author

Application vs. Session scope in Axis

stickboy
Greenhorn

Joined: Mar 07, 2005
Posts: 1
Hello all. I am running into a problem on a service that I am working on. I have a web service that delivers content to end-users' sites. There is a control panel that allows the users to select what content they want delivered. The problem I am having is actually twofold:

If I run the service in application scope, I get good performance, but if the user makes any changes to the content, they don't appear until the application is restarted.

If I run the service in either the session or request scope, I get really poor performance and after just a few requests, the service dies, returning an OutOfMemoryException.

Below is my deploy.wsdd file showing how I have this set up. Let me know if anyone has any hints on how to handle either of these issues. Thanks in advance.

deploy.wsdd:
 
 
subject: Application vs. Session scope in Axis
 
Threads others viewed
msg=No Deserializer found to deserialize a ':return'
please help me - ejb web service
JBOSS Webservices error in deploy
AxisFault Exception... was it a valid wsdd descriptor
deploy.wsdd on Axis
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com