users@glassfish.java.net

Re: Something like 'Application Context' in servlets for EJB3?

From: <forums_at_java.net>
Date: Sat, 23 Jul 2011 09:39:47 -0500 (CDT)

Try creating a class with the @Singleton annotation: the app server ensures
that class is one per application.

http://openejb.apache.org/3.0/singleton-beans.html [1]


[1] http://openejb.apache.org/3.0/singleton-beans.html

--
[Message sent by forum member 'simgineer']
View Post: http://forums.java.net/node/661800