5 Replies Latest reply on Apr 17, 2003 3:01 AM by Bernd Zeitler

    Is there something like a InitEJB ?

    manolis afentakis Newbie

      Hi guys

      I have an EJB Application that has to do some time consuming initialization before the first usage.

      Is there a possibility to define a InitEJB (like a InitServlet) that will start after deployment of my application ?

      I think that there is not a J2EE standard way to do this and I should use an MBEAN...

      But how can I invoke the MBEAN (that calls my 'init-EJB' ) every time my application is (re)deployed ?

      thank you for feedback of any kind ...

      P.S Please: I m looking for another way than using an init servlet