Hello again,
just wanted to add a short comment: Additionally to obtaining an EJB via its @Remote interface from JNDI, I tried injection with @Local, too:
I created a local interface:
***
@Local
public interface TestLocal {
String test(String s);
}
***
I added a field to my servlet:
***
@Resource
private TestLocal ejb;
***
But unfortunately, this approach didn't work either: The field is null when doGet(...) is called - no injection happening :-(
Am I doing anything wrong?
If yes, what? Please give me some hints.
If no, when will GlassFish fully support EJB-OSGi-bundles?
Best regards, Marco :-)
[Message sent by forum member 'nlmarco']
http://forums.java.net/jive/thread.jspa?messageID=400564