Hi Vlatko,
please try [1] to checkout set of comet(d) related samples.
[2] is blog from Jakub about how Jersey could be run on top of Grizzly.
If you have more questions - please ask.
WBR,
Alexey.
[1] svn checkout
https://www.dev.java.net/svn/grizzly/trunk/code/samples/comet
[2]
http://blogs.sun.com/japod/entry/jersey_aplication_sharing_grizzly_with
On Aug 19, 2009, at 22:11 , Vlatko Davidovski wrote:
> Hi all!
>
> I have recently started my Master thesis and one of the topics to
> explore is data streaming in RESTful applications. In other words I
> will develop RESTful applications for a couple of sensors that
> should be able to stream data.
>
> For this purpose I have been considering to use Grizzly (because of
> Comet, Bayeux support) and Restlet (or Jersey). The first prototype
> has to be a simple java server application that would load several
> jars and that would not have to be run into a Servlet container (to
> keep it lightweight).
>
> Unfortunately, I was unable to find any tutorials or code samples on
> how to write a simple Java based application based on these
> technologies that would allow me to have Bayeux, Comet, or Cometd in
> my resources without using servlets.
>
> I am kind of stuck with this problem and would really appreciate if
> anyone finds a bit of time to get me on the right track.
>
> Thanks!
>
> Vlatko
>
>