Hi,
I am porting my application from JRun to jboss. I have added the following lines to jrun.xml for using JRun service:
service class="TaskDriver" name="TaskService"
attribute name="bindToJNDI">true</attribute
service
TaskDriver is a java class which extends jrunx.kernel.ServiceAdapter and implements jrunx.kernel.ServiceMBean.
How to implement the same in JBOSS
Thanks
http://www.jboss.org/wiki/Wiki.jsp?page=FAQJBossJMX
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossService
http://wiki.jboss.org/wiki/Wiki.jsp?page=ExampleHelloWorldService
You'll need to code the registration to JNDI yourself, though, it's not automatic.