Hello, Sahoo,
you are right! i'm trying to use WS transaction for simple web method in
simple stateless WS, which persists some data to DB.
Thanks!
ps. ksak, thanks for reply, and i'm glad that you understood me wrong ;) i.e.
i still hope that my WSTransaction some day will work..
On Thu, Mar 20, 2008 at 6:47 PM, Sahoo <Sahoo_at_sun.com> wrote:
> 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
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>