JBoss Community

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

created by Tim Haley in Beginner's Corner - View the full discussion

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