1 Reply Latest reply on Jan 29, 2013 9:02 AM by Rhys E

    Parallel Singleton EJB startup order with inter-dependencies?

    Rhys E Newbie



      I've got two separate deployments that have Singleton EJBs that start up in parallel when the app server restarts. One of the EJBs attempts to look up the other EJB in its @PostConstruct method - only this tends not to work when they're deployed in parallel due to the other EJB not being available yet.


      Given that they belong in separate deployments, is there any way to ensure that one EJB has started before another? (e.g. a JNDI @DependsOn).


      Note: a delayed start up on the depending EJB would be just as good.