[JBoss-user] [EJB 3.0] - Re: EJB @Service Attribute/Property setting

2006-06-22 Thread jlowcock
This is close, it shows how to deploy the same class as two separately identified services which is half the problem. The issue I'm facing is how do I access the details of ejb-name and service/cluster name within the Service code. I need this information to form the primary key of an EJB

[JBoss-user] [EJB 3.0] - Re: EJB @Service Attribute/Property setting

2006-06-21 Thread bdecoste
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)