I followed the code provided in this blog to have ejb injection in my rest
service:
users_at_jersey.dev.java.net
http://blogs.sun.com/sandoz/entry/ejb_injection
My code fails at:
InitialContext ic = new InitialContext();
final Object o = ic.lookup(c.getName());
I get a NameNotFoundException at this point.
Please advise.
thank you.