1 Reply Latest reply on Feb 10, 2004 4:57 PM by Heiko Rupp

    ejbCreate when deployed

    jackyao Newbie

      For a stateless session bean, ss there any way to have JBOSS to invoke the ejbCreate method automatically? I need to create a message server that will publish messages automatically when a JBOSS starts, but it seems that a client has to explicitly to call the create(), and call another method to activate ejbCreate().

      Also, if I put this create() and ejbCreate() logic in every client, how I can prevent the ejbCreate() from being called twice?

      Thanks

      Jack