Yes, the default is singleton and an instance will be shared with all users.
However, if you code them like servlets (where you don't keep state in
member variables), this should not cause a problem for users.

Matt

On Wed, Sep 2, 2009 at 2:43 AM, tibi <t...@dds.nl> wrote:

>
> i have a discussion about the scope is it correct that with a scope
> 'singelton' all users will have the same instance of a class with the
> same data?
> and need i set the scope to prototype to make sure user will not
> interfere with each other?
>
> and when nothing is declared is the default singleton?
>
> thanks,
>
> tibi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>
>

Reply via email to