[jboss-user] [EJB 3.0] - Re: Singleton MDB

wolfc do-not-reply at jboss.com
Wed Feb 21 10:18:49 EST 2007


@PoolClass(value=org.jboss.ejb3.StrictMaxPool.class, maxSize=1)
Note that this will only make sure there is 1 instance of the MDB alive. It can still be destroyed and recreated. To have a true singleton you should delegate  from the MDB to a service bean.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019973#4019973

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019973



More information about the jboss-user mailing list