[jboss-user] [EJB 3.0 Users] - Post deployment initialization.

Dan Escott do-not-reply at jboss.com
Wed Aug 26 03:45:49 EDT 2009


Hi

I wonder if anybody could help me with this one? I'd like to be able to execute some initialization code after certain stateless EJB's are deployed, this code essentially registers the 'ability' of the bean to certain processes running on the database.

I've looked into @init and @PostConstruct annotations and don't believe they are invoked on deployment. Do I need to think about some form of deployment listener or do you guys know of a more typical approach to this problem?

Many thanks for any help
Regards
Dan

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

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



More information about the jboss-user mailing list