The Source for Java Technology Collaboration
User: Password:
Register | Login help    

Search

Online Books:
java.net on MarkMail:


Dojo REST Comet

Posted by caroljmcdonald on October 30, 2008 at 7:51 AM PDT
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:
Dojo REST Comet presentation

You can read download the dojo 1.2 example code here:
dojo 1.2 sample code

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

You can read more and download the JAX-RS dojo comet slideshow example here:
RESTful Web Services and Comet
Screencast about a RESTful Comet application


Comments
Comments are listed in date ascending order (oldest first)

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.