users@glassfish.java.net

Re: WS with required transaction problem

From: Sahoo <Sahoo_at_Sun.COM>
Date: Thu, 20 Mar 2008 22:17:44 +0530

Reading the first email from the user I got the impression that user was
trying to use "WS Transaction" that we support in Metro [1]. Aleksandre,
can you confirm this please?

Thanks,
Sahoo

[1] https://metro.dev.java.net/

glassfish_at_javadesktop.org wrote:
> Hi Aleksandr,
>
> Container-managed transactions are only supported for EJB components. You would need to implement your Web Service endpoint as a Stateless Session bean. The easiest way is to add an @Stateless annotation and package it in an ejb-jar.
>
> --ken
> [Message sent by forum member 'ksak' (ksak)]
>
> http://forums.java.net/jive/thread.jspa?messageID=265031
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>