|
Carol had previously (in July) posted an example of a SlideShow Using Comet; now she and Rick have a refined and expanded version where they provide more details, including screenshots, and also have modified the implemetantation so they NetBeans for development, MySQL and JPA for data presistence, Grizzly for Comet support, Jersey (JAX-RS) for the REST end-points, and GlassFish Server for the App. |
Looks very useful; check it out at
RESTful Web Services and Comet.
More information also at
Comet
,
Jersey
and
Grizzly
.
I'm biased, but I think it is really cool that examples like this can be ran in a totally open source stack, and you can also buy commercial support for it. We surely Are Not in Kansas Anymore!
Added - I am republishing this today since yesterday I had posted it into the past by mistake.
|
Almost final, Jersey 0.9 is Out! This is the implementation that goes with the 0.9 version of the spec (Docs, Spec); this release also has Maven packages for its components at http://download.java.net/maven/2/com/sun/jersey/.
JAX-RS (aka JSR 311) has done a very good job on
transparency and
I think that has reflected in the quality and adoption.
See Jersey |
|
JAX-RS (REST Support for the Java Platform - aka JSR-311) became the first JavaEE 6 specification that Reached Proposed Final Draft stage - download the PFD Specification and please provide feedback. The team work now is on the TCK and the RI (see JCP Process). Jersey is both a Reference Implementation and Production Quality and will continue to evolve and add useful features, like this Integration with Spring. |
More relevant entries are tagged under
Jersey
|
The 2008 Summer Olympics are starting today! As you can read here, Sun and specifically Zembly.com (a new online site to easily create and host social applications) is taking this opportunity to launch myPicks Beijing 2008, a social betting site described here by Prakash. |
If you wish to find out more about Zembly, this interview with Todd Fast and this demo of the platform should give you a idea of the possibilities. This service is powered by Solaris, GlassFish, MySQL and is running on Network.com. Zembly.com helps you build not only Facebook applications, but also iPhone web apps, Meebo applications, Google Gadgets, and OpenSocial applications.
On the topic of Sun's implication in the 2008 Olympics, check out this brief description of the datacenter powering the NBCOlympics website. Yet more details here.
|
JAX-RS (RESTful Web Services) is getting closer to its 1.0 release (scheduled for September). The proposed final draft is available. JAX-RS sounds like the first Java EE 6 piece to hit a final version. |
In the meantime, Jersey, its reference implementation is already used in quite a few places. Both in real-life production scenarios at customer sites such as the BBC, but also and open source software such as EHCache server (hum, a caching software with a RESTful interface, sounds really nice).
In a welcome (but somewhat painful) process of moving from ANT to Maven, the Jersey team modularized its development tree. This now results in six modules and two contributions sub-modules.
|
Carol McDonald has already covered in nice details building various applications with GlassFish, Spring, EJB 3, Groovy, Grails, JPA, Comet, and more. This time, she explains the steps involved in building a Dojo dynamic table (Dojo Grid) talking to a JPA-enabled RESTful web service. |
Beyond the use of the Dojo toolkit itself, Carol discusses building the grid data model based on an interaction with a JAX-RS (Jersey) back-end serving JSON data. This data is grabbed from a database using JPA.
Full code source is provided.
|
The late sixties and seventies saw an explosion of programming languages but then we went through a consolidation. I am still grateful that Java saved me from C++, but I like the renewed interest in other languages. Languages with following include Ruby('95), Python('91) and Erlang('87) as well as newer additions like Groovy('03) and Scala('03). Paul certainly likes Scala, here is his JavaOne Jersey Demo in Scala. |
Many of these languages are using our trusty JVM, now under Open Source. That can simplify development and adoption, so maybe we will have another golden age of Programming Languages!
|
JSR 311 (JAX-RS, Restful Web Services) has just passed the public review ballot with 12 "Yes" votes and no "Abstain" or "No" votes. Full results are here. Congratulations to the expert group for reaching that stage of the process while managing to generate a lot of interest for the technology! |
Meanwhile, Jersey (the JAX-RS reference implementation) is being "Mavenized" with latest snapshots available from the https://maven2-repository.dev.java.net/ repository. Jakub takes advantage of that to build a simple Jersey web app and mvn glassfish:run it in GlassFish v3.
|
The Review for the Public Draft for JAX-RS ended today, and I guess Jakub is celebrating showing how to build a Simple WebApp Using Maven. Full sources and instructions are included, all the way to starting the app using maven and invoking it using cURL. The WebApp is plain vanilla JAX-RS but you can also use the Stappler-inspired MVC framework (see Paul's excellent note). |
I think Jersey will be very successful; we now just need to include it in GF v2, GF v3, and GF ESB :-)
Added: The JCP approved the Public Draft; the vote was 13 YES, zero NO and 3 abstentions, see vote details.