users@jersey.java.net

Using EJBProvider for _at_EJB annotation

From: Manjunath Shankar <manjunath.shankar_at_gmail.com>
Date: Thu, 7 Aug 2008 16:06:58 -0700

Hi,

I am using the Jersey Framework for some of my interfaces.

I am trying to use the @EJB annotation using the above method. When I look
at the logs, it tells me that the provider class has been found. But when I
invoke a method on the fooSessionRemoteBean, it throws a null pointer
exception. I am using the Jersey 0.8.

Is there anything extra that needs to be done apart from what is provided by
you above? (I have placed the Paul Sandoz's sample code from his blog as is
in my implementation).
Has anyone else tried this and can give me any pointers?

Manjunath.




-- 
Manjunath.M.S,
San Jose, CA-94086
E-mail : manjunath.shankar_at_gmail.com