users@glassfish.java.net

RE: Re: Re: Re: Java EE 6: Container Managed Transaction with JAX-RS

From: Markus Karg <karg_at_quipsy.de>
Date: Wed, 24 Feb 2010 16:41:48 +0100

Seems Java EE is starting to making fun after all. ;-)


> -----Original Message-----
> From: glassfish_at_javadesktop.org [mailto:glassfish_at_javadesktop.org]
> Sent: Mittwoch, 24. Februar 2010 15:59
> To: users_at_glassfish.dev.java.net
> Subject: Re: Re: Re: Java EE 6: Container Managed Transaction with JAX-
> RS
>
> There's an even better option for this case. In Java EE 6 a stateless
> or singleton session bean can itself be implemented as a JAX-RS
> resource. There's no need to put a @ManagedBean in the middle. Just
> add the @Path annotation directly to the bean class. See here for
> more details :
>
> http://blogs.sun.com/kensaks/entry/jax_rs_and_ejb
> http://blogs.sun.com/sandoz/entry/glassfish_v3_ejb_3_1
> [Message sent by forum member 'ksak' (kenneth.saks_at_sun.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=388443
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net