could somebody confirm for me (what may be  obvious)

 

The doc  describing  service definition says:

 

The scope element is optional. Specify "application" to have your service object persist indefinitely, "session" to have one service object per session, and "request" to create a new service object for every request. The default is "application".

<scope>session</scope>
 
 
Does this mean that if nothing is specified at the scope leve, that there will be one and only one instance of the service class created?  and by extension, that that class must be threadsafe?
 
 

 

Reply via email to