users@jersey.java.net

Re: [Jersey] which ManagedBean can inject EJB ?

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Wed, 21 Oct 2009 17:39:46 +0200

On Oct 21, 2009, at 5:34 PM, Felipe Gaścho wrote:

> Hi Paul,
>
> I have two types of ManagedBean in my classpath:
>
>
> javax.faces.bean.ManagedBean
>
> OR
>
> import javax.annotation.ManagedBean;
>
>
> which one should I use to deploy in the latest GFv3.. ??
>

The latter, see the following for a very simple example:

http://download.java.net/maven/2/com/sun/jersey/samples/managed-beans-webapp/1.1.4-ea-SNAPSHOT/managed-beans-webapp-1.1.4-ea-SNAPSHOT-project.zip

Paul.