How to deploy a ModelMBean in JBoss? Declaring tag in jboss-service.xml will not be sufficient. I need to access the database, create a managed resource which is a plain java object and set this object as the managed resource of the ModelMBean.
Should I set the managed resource in the Life cycle methods?
Thanks in advance..