david_b [
http://community.jboss.org/people/david_b] created the discussion
"How can I configure a @Service bean externally"
To view the discussion, visit:
http://community.jboss.org/message/597540#597540
--------------------------------------------------------------
Hi all,
I've developed a JBoss service using the @Service annotation. I've now come to the
point where I need to configure the service for different deployments. Usually I'd use
resource injection and env-entries in the ejb-jar.xml file, but this doesn't seem to
be supported for service beans.
I've found a rather old feature request for adding this support:
https://issues.jboss.org/browse/EJBTHREE-801
https://issues.jboss.org/browse/EJBTHREE-801
Assuming this still isn't available, I have a couple of questions.
Is there a good alternative to the ejb-jar file that will work in a clustered environment?
Something better than a properties file?
Is there an alternative to the @Service annotation that provides the same functionality
(singleton statefull session bean) and supports configuraiton through the ejb-jar file?
I'm using JBoss AS 6 and EJB 3.1.
Any help would be appreciated.
David
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/597540#597540]
Start a new discussion in EJB3 at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]