Usually you use a .sar file bundled with your .war file component.
Do a web search or wiki search on sar, service, service xml, etc.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010203#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...