Re: Web services using Tapestry

2011-11-08 Thread trsvax
I just make a page and return XML from onActivate. Here is an example https://github.com/trsvax/Blog/blob/master/src/main/java/com/trsvax/pages/Index.java The xml.streamWithStyle method takes a JAXB annotated object and does the rest. In this example there is a stylesheet to convert the JAXB xml

Re: Web services using Tapestry

2011-11-08 Thread Tim Fletcher
Thanks for all the input! I think I'm starting to understand where Tapestry sits on the software stack. I have gone with Derkoe's JAX-WS integration. Regards, Tim On 8 November 2011 15:24, derkoe wrote: > > Tim Fletcher wrote: > > > > Hi All, > > > > I have spent the last day trying to find a s

Re: Web services using Tapestry

2011-11-08 Thread Michael Gentry
If you have access to the HttpSession, though, you can grab the service. I had something that listened for session timeouts: import org.apache.tapestry5.TapestryFilter; import org.apache.tapestry5.ioc.Registry; ... public class SessionTimeoutNotifier implements HttpSessionBindingListener, Seriali

Re: Web services using Tapestry

2011-11-08 Thread derkoe
Tim Fletcher wrote: > > Hi All, > > I have spent the last day trying to find a simple method for adding web > services via Tapestry5, but have only found slightly old > tutorials referring to Tapestry4. > > Do you guys have any specific recommendations? > > Ideally, i would like to use JAX-WS

Re: Web services using Tapestry

2011-11-08 Thread Peter Stavrinides
Search this mailing lists and you will find some recent threads and some coded examples. regards, Peter - Original Message - From: "Lenny Primak" To: "Tapestry users" Sent: Tuesday, 8 November, 2011 16:48:14 GMT +02:00 Athens, Bucharest, Istanbul Subject: Re

Re: Web services using Tapestry

2011-11-08 Thread Lenny Primak
I use web services with tapestry 5. There is nothing special about them and I just use them without regard if it's tapestry or not. I use glassfish. On Nov 8, 2011, at 9:36 AM, Tim Fletcher wrote: > Hi All, > > I have spent the last day trying to find a simple method for adding web > servic