what is the preferred way to instantiate MBeans at startup

2004-07-27 Thread Jerome Lacoste
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

Re: what is the preferred way to instantiate MBeans at startup

2004-07-27 Thread QM
On Tue, Jul 27, 2004 at 09:12:28PM +0200, Jerome Lacoste wrote: : 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 I can't speak for the MBeans, but I can say this: you can use a ContextListener instead