[jboss-user] [Beginner's Corner] - Re: POJO Service in an ear to provide lifecycle hooks?

Tim Haley do-not-reply at jboss.com
Thu Mar 17 11:14:43 EDT 2011

Tim Haley [http://community.jboss.org/people/ymaraner] created the discussion

"Re: POJO Service in an ear to provide lifecycle hooks?"

To view the discussion, visit: http://community.jboss.org/message/593806#593806

We were having some issues getting started with mbeans and were open to using JBoss 6, which supports EJB 3.1. So, we decided to go with a @Startup @Singleton bean with @PostConstruct and @PreDestroy methods.

Works like a charm.

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110317/c0bba687/attachment.html 

More information about the jboss-user mailing list