users@jersey.java.net

EJB Injection in Jersey

From: Abe Zafar <abezafar_at_gmail.com>
Date: Fri, 26 Dec 2008 23:18:08 -0800

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.