3 Replies Latest reply on Aug 27, 2009 12:57 PM by jaikiran

    Post deployment initialization.

      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