Posted by
caroljmcdonald on November 13, 2008 at 3:50 AM PST
dojo1
Dojo REST Comet Hands On Lab
Yesterday I gave a Hands on Lab on
REST dojo and
Comet with Netbeans 6.5, Glassfish V2, and MySQL at JFall.
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
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.
Comet – Techniques
that enable a server to push data to client browsers through an HTTP
open line of communication.
You can download the Hands On Lab here:
REST
dojo Comet HOL
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