Hi all,

I know that if a service is deployed in application scope a new object
instance will be created every time the service is called [1]. Others,
instead, create a single instance [2]. 
Isn't it better to use the second approach, especially if the service is
heavily used (if not, it could be possible to "destroy" the object after
a certain time)?

Thanks,
Michele


[1] http://www.developer.com/java/web/article.php/3620661
[2]
http://weblogs.java.net/blog/kohsuke/archive/2006/10/bringing_state.html


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to