users@glassfish.java.net

Re: How to inject a resource-env-rev using ...

From: <forums_at_java.net>
Date: Thu, 5 Jan 2012 15:31:27 -0600 (CST)

EJB code: @Stateless public class MyEJBBean implements MyEJB { @Resource(name
= "config/injectMe") String injectMe; @Override public String
doSomethingAwesome() { return injectMe; } } ejb-jar <?xml version="1.0"
encoding="UTF-8"?> glassfish-jca-problem-ejb MyEJBBean config/injectMe
java.lang.String

--
[Message sent by forum member 'exabrial']
View Post: http://forums.java.net/node/880498