If you just want Tapestry to manage an existing servlet, you can copy the technique used by AtmosphereHttpServletRequestFilter.
Make sure you set the async flag on the tapestry filter <filter> <filter-name>app</filter-name> <filter-class>org.apache.tapestry5.TapestryFilter</filter-class> <async-supported>true</async-supported> </filter> On 14 May 2014 04:22, "Bogdan Ivascu" <ivascu.bogdan...@gmail.com> wrote: > Hi Lance, > I did see numerous discussions around your implementation. My goal here > is to try and get a better understanding of where and how this framework > can be extended. I am however pressed for time and if I cannot get it to > work, I will most likely end up using your implementation. > > Thanks, > Bogdan. > > > On Tue, May 13, 2014 at 3:34 AM, Lance Java <lance.j...@googlemail.com > >wrote: > > > Take a look at tapestry-atmosphere [1] and tapestry-cometd [2] > > > > [1] https://github.com/uklance/tapestry-atmosphere > > [2] https://github.com/uklance/tapestry-cometd > > On 13 May 2014 02:10, "Bogdan Ivascu" <ivascu.bogdan...@gmail.com> > wrote: > > > > > Hi everyone, > > > I want to add webSocket support for my tapestry project and need a > few > > > pointers. What I have is a dead simple Servlet, implementing the java > > > WebSocket api. I would like to bring this servlet into my tapestry > > project > > > and have it managed by tapestry itself. To be more clear, I don't want > to > > > use the ignore path functionality to expose it, but rather have > > tapestry's > > > filter control the access to this servlet. > > > > > > The biggest problem that I have right now is that I don't have a clear > > > understanding of what I need to do to make this happen. Will this > servlet > > > be a service or a page with no tml, where would it sit, how do I > > configure > > > tapestry so that it knows to create a new instance for each request. > > > > > > A nudge of where I could document myself regarding this type of > > integration > > > would be most welcome. > > > > > > Thank you, > > > Bogdan. > > > > > >