Hi,

I am looking at this J2EE application, deployed on JBoss 3.x, which
could be ported easily to a pure servlet/jsp application if some of its
dependencies with JBoss were cut down.

One of these is the possibility to start services in JBoss using a
jboss.jcml file, and to register MBean instances in that file. JBoss
takes care of the instanciation and then allow one to control these
services at runtime.

I was wondering what would be the best to replace that functionality. 

One simple way would be to register all my the MBean instances manually
from a Servlet that would be ran at startup (load-on-startup), maybe
adding a List of the couple (class name, MBean registration name) for
which an instance would need to be created and registered. I should then
probably have a look at the commons-modeler package which I think Tomcat
5 uses to handle its JMX objects.

Any comment on that solution or any alternatives?

Cheers,

Jerome


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to