Take a look at tapestry-cometd. It's built on top of Atmosphere's CometD support
https://github.com/uklance/tapestry-cometd On 16 Aug 2013 06:09, "Martin Kersten" <martin.kersten...@gmail.com> wrote: > Hi there, > > back in the old days I used to use GWT alot in conjunction with > Tapestry. Nowadays it would be fine to develop using JS at the Client side > and I want to use Tapestry at the backend. > > I would love to use something like socket.IO directly within the > JS-client-code so I investigated the Atmosphere (github) package. Saidly > there is no direct implementation nor support for the Tapestry world. And > it looks like I would loose a whole weekend trying without a guarantee that > I come up with something good. > > Currently implementing Atmosphere I would go for a > HttpServletRequestHandler, warp the Tapestry servlet or even alter it > directly (so I can use the default Atmosphere servlet based on the accessed > page and so on. The way I used to implement GWT by creating a Page writing > http directly using a MarkupWriter seams not to be that feasable since > Atmosphere has a bunch of things to do, I dont understand right now. > > So I would love to know what is the current preferred way to use something > like the socket.io lib in conjunction with Tapestry as the serving > backend? > > > Thanks for reading, > > Martin (Kersten), > Germany >