[jboss-user] [EJB 3.0] - Re: How to start a session bean as soon as it is deployed

wolfc do-not-reply at jboss.com
Mon Feb 4 09:37:27 EST 2008


I'm planning to change this behavior in light of EJB 3.1. The supported way will be to use @PostConstruct in a @Singleton.
So for now I would say use @PosConstruct in a @Service bean.
Note that the create, start, stop, destroy methods will become deprecated and might disappear completely.

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

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



More information about the jboss-user mailing list