users@jersey.java.net

Re: [Jersey] A taster of Jersey/JAX-RS with EJB 3.1

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Thu, 02 Apr 2009 17:06:03 +0200

Now with support directly in the 1.0.3-SNAPSHOT. See:

   http://blogs.sun.com/sandoz/entry/glassfish_v3_ejb_3_1

Paul.

On Mar 11, 2009, at 10:58 AM, Paul Sandoz wrote:

> Hi,
>
> Attached is a very simple maven project that uses the new EJB 3.1 no-
> interface view and session beans in the war. The session bean is
> also a root resource class.
>
> You need to utilize a promoted build of glassfish [1], build 38 or
> greater, that contains the EJB 3.1 functionality.
>
> If you look at the integration code, the EJBIntegrationServlet, you
> will notice integration is currently explicit in terms of an IoC
> component provider factory, and utilizing a interceptor for post
> construction (which uses a static field hack for access to
> contextual information). Such explicit integration and hacks will
> not be necessary once we have the right hooks in place to connect to
> the GF EJB infrastructure.
>
>
> For the IoC integration geeks: the integration uses a new IoC
> feature to support injection for IoC frameworks that support post
> construction interception.
>
> Paul.
>
> <ejbsample.zip>
>
>
> [1] http://download.java.net/glassfish/v3/promoted/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net