If I understand correctly... I should be able to use my pojo as a service just by providing a jboss-service.xml file.
So something to the likes of... | <?xml version="1.0" encoding="UTF-8"?> | | <server> | <mbean code="package.Mypojo" name="package:service=MyPojoService"> | <attribute name="Message">Hello World</attribute> | | </mbean> | | | </server> | Right? If I wanted MyPojo to be started and stoped through the Jboss service events startService, stopService etc... Would I need to wrapy my pojo in an XMbean and define the operations? Also when would I actually want to implement MyPojo using the ServiceMean and ServiceMbeanSupport interafce and class? thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855760#3855760 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855760 ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
