users@glassfish.java.net

Re: JAX-RS on Glassfish 3.1: _at_EJB injection?

From: <glassfish_at_javadesktop.org>
Date: Wed, 16 Jun 2010 08:59:48 PDT

Thank GOODNESS. I thought I was going crazy. (Friends would say I already have.)

I am not sure what all the bugs are. I will say that I followed the publishing guidelines in the JAX-RS specification to the letter. The only "gray area" that I know of involves packaging resource classes in the lib directory, which appears to be permitted by the specifications, but does not work here.

I should also mention that if I simply move the resource classes back into WEB-INF/lib--and leave everything else as-is--then everything works with the @ManagedBean approach.

Will you, Paul, file the requisite bugs? I'd like to get these addressed quickly, as for JAX-RS there really isn't a good alternative (the poor RestEasy guys REALLY don't have deployment figured out yet), and I don't exactly know what all the bugs are.

Thanks again for your time and investigations.

Best,
Laird
[Message sent by forum member 'ljnelson']

http://forums.java.net/jive/thread.jspa?messageID=474527