views:

14

answers:

1

I have several web modules. There are dependency between them, say during startup, module B will use MBean exposed by module A. How to configure glassfish to enable it start them by specific order? Or is it possible to configure it to load them concurrently.

I searched quite a lot via google, but not result.

BTW, I'm using glassfish-2

A: 

If they're part of the same EAR and you're willing to move to Java EE 6 and thus GlassFish 3, here's a solution for you : http://blogs.sun.com/alexismp/entry/module_initialization_order_in_java

Alexis MP