I think I understand your question - if I'm off base please let me know. You can use the same Service class and deploy it twice with different service names two ways:
Use annotations to deploy the first and jboss.xml to deploy the second | @Service(objectName = "default:service=development") | ... | | <service> | <ejb-name>ServiceName</ejb-name> | <ejb-class>com.acme.ServiceBean</ejb-class> | <object-name>default:service=acceptance</objectname> | ... | <service> | OR you can use jboss.xml exclusively with no annotations: | <service> | <ejb-name>ServiceName</ejb-name> | <ejb-class>com.acme.ServiceBean</ejb-class> | <object-name>default:service=development</objectname> | ... | <service> | <service> | <ejb-name>ServiceName</ejb-name> | <ejb-class>com.acme.ServiceBean</ejb-class> | <object-name>default:service=acceptance</objectname> | ... | <service> | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952420#3952420 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952420 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
