Skip to main content

Dojo REST Comet

Posted by caroljmcdonald on October 30, 2008 at 7:51 AM PDT



http-equiv="content-type">
dojo1

Dojo REST Comet Presentation slides and Sample code

Yesterday I gave a talk on Dojo REST and
Comet at the Northern Virginia JUG.



Dojo – An
open-source DHTML toolkit written in JavaScript. The Dojo Toolkit
includes many utilities that go beyond Ajax. For example, the dojox.comet
module simplifies programming Comet applications.



JAX-RS provides a
standardized API for building RESTful web services in Java. Central to
the RESTful architecture is the concept of resources identified by
universal resource identifiers (URIs). The API  provides a set of
annotations which you can add to Plain Old Java Objects (POJOs) 
to expose web resources identified by URIs



Comet – Techniques
that enable a server to push data to client browsers through an HTTP
open line of communication.



You can download the presentation here:

href="https://techdayscode.dev.java.net/servlets/ProjectDocumentList?folderID=8546">Dojo
REST Comet presentation



You can read download the dojo 1.2 example code here:

href=
"http://weblogs.java.net/blog/caroljmcdonald/archive/2008/10/dojo_12_present.html">
dojo 1.2 sample code



You can read more and download the JAX-RS dojo Pet Catalog example here:

href="http://weblogs.java.net/blog/caroljmcdonald/archive/2008/08/a_restful_pet_c_1.html">a
RESTful Pet Catalog



You can read more and download the JAX-RS dojo comet slideshow example here:

href="http://developers.sun.com/appserver/reference/techart/cometslideshow.html">RESTful
Web Services and Comet

href="http://weblogs.java.net/blog/caroljmcdonald/archive/2008/09/screencast_abou_1.html">Screencast
about a RESTful Comet application






Comments

Great presentation. I was amazed at how much generation of code NetBeans can do. I also liked the auto-created test web application for the RESTful services. Even though I knew about comet, the comet demo really crystallized it for me.

Great work!

Great presentation. I was amazed at how much generation of code NetBeans can do. I also liked the auto-created test web application for the RESTful services. Even though I knew about comet, the comet demo really crystallized it for me.