|
|
|
|
|
Jakub has posted a sample for how to use the client API for Jersey and has used the REST interface to SmugMug as an example. Check out Jakub's writeup, Paul's Original Blog and the JavaDoc. |
Other posts on the topic are tagged as
jersey
.
Also check the slides, screencasts and recordings of Paul and Marc's
webinar on
Jersey and JAX-RS.
I've been recording our weekly TheAquarium Online Webinars for the last few months using the uStream.TV facilities and I recently spent some time processing the material into different formats and organizing it in the Wiki pages. It is still work in process and I keep learning more about how to do things, but I think last week's presentation is ready for feedback; others will follow in future weeks.
|
The recordings for the Jan 15th, 2009 Webinar on JAX-RS, Jersey and REST are now available. This Webinar set included presentations by Marc Hadley and Paul Sandoz, a set of 5 short screencasts, and very good audience participation. The recordings are available in several formats, including FLV, Quicktime, iPod(320x240) and Audio only; full links are available at the Recording Page which is automatically included into the Show page. We are planning to upload the audio to iTunes and the screencasts to youTube "soon". |
The format of these Webinars has changed over time as we have tried to adjust to the new, online-only, format. Feedback, as well as additional technical and broadcasting tips, on the show content and format are always welcome - I started knowing nothing about these areas. Note - I'm specially interested in a good way to transcode the SWF-based screencasts to a more manageable format like quicktime (for MacOS X, w/o loss of resolution, and cheap).
Next Webinar set is this Thursday, on ASadmin, the GlassFish CLI Console. More details in a separate posting.
|
This week's webinar is on Thursday, Jan 15th, 11:00 am PT. Marc Handley and Paul Sandoz will describe JAX-RS, the Java API for RESTful Web Services, and Jersey, its enterprise-quality, reference implementation, as well as some examples. Arun Gupta and Craig McClanahan may also present. Slides and other material will be posted to the Presentation Page - if you have any questions ahead of the presentation, please add them as comments there, or just ask them during the presentation via the chat. |
|
Jersey 1.0.1 is Now Available with many changes and improvements, including improved integration with Spring, new MIME multipart API, Maven archetypes, samples, and IoC SPI (see Paul's overview). The easiest way to install it is from the Update Centers: GFv3 UC and GFv2 UC. The Jersey team is already working on the next release 1.0.2 (see Roadmap), and also collaborating with the EJB 3.1 EG on the Integration with EJB 3.1. |
Arun also recently published two new tips on Jersey: Jersey and Embedded GlassFish and Jersey's Client API. And you may also want to pencil in January 15th for a Webinar set on this area - see GlassFish.TV schedule.
A compilation of today's news of interest:
|
Jakub has published a new Enterprise Tip on Jersey showing how to Configure JSON for RESTful Web Services in Jersey 1.0. Jersey is the production-quality, reference implementation of JAX-RS, the JCP standard for RESTful Web Services. JAX-RS is part of Java EE 6, but it can also be used separately. Jersey is part of GFv3 Prelude. On JSF - first the NetBeans team shows how to Start Developing JSF Applications with the new NetBeans releases, including the forthcoming NB 6.5. Then Arun shows how to use JSF and Google Maps using Gmaps4JSF, Facelets and Mojarra on GlassFish v3 Prelude. Comet and Atmosphere - JFA recently presented on Atmosphere - his new portable Comet framework - at the Silicon Valley JUG. The slides are Now Available. GlassFish ESB is getting very close to its first Release Candidate (and GA/FCS release) (Milestone 2 Download) but I just noticed I had not spotlighted Mike's excellent Screencast on GlassFish ESB. Check it out and notice it is a multi-parter - very well done. While we await GF ESB v2, we are already working on the next generation, which is based on Project Fuji. Fuji Milestone 2 released last week, and here are two additional posts: Nikki on Interceptors in Fuji and Derek on the Proxy bundle. Andy B is adjusting his time involvement at Sun so he can spend more time with Arista Networks, "one of his startup companies" that is focused on the 10 Gigabit Ethernet switching business. The Original NYTimes Article was followed by a Clarification. And today's toys includes Google Earth on iPhone, and Oprah endorses Kindle. Of the two, I think Oprah's endorsement will have the largest impact - is the time for the electronic reader finally here? |
NB. I am a few days behind in reporting news; I'll try to catch up in the next day or two.
A compilation of today's news of interest:
|
From Jersey in honor of the recent Jersey 1.0 Release: Paul writes about a new rev of the set of Jersey Samples (browse) that includes some implementation of Sparklines (and, as a Tufte fan... thanks!). And, Marc has been quoted in SD Times about JAX-RS and SOAP; read what he actually says, ignore the title "Sun moving away from SOAP"; we do both SOAP and REST. Servlet 3.0 is getting closer to a Public Draft (with the rest of JavaEE 6), and Deepa has published a Intro to Servlet 3.0 at Java.Net. Some of the details apply to the old draft, so be sure to check Rajiv's comments. Performance is always a hot topic, so check this note from one of our performance top guys, Binu John, on Profiling GFv2 with Sun Studio. Rich's Comment on an EDC Report on AppServer Rankings started a fairly active TSS thread. As I wrote in my Comment at Savio's blog, the report is really a "User Satisfaction Survey", and, without more data, it is hard to interpret beyond that. BTW, if you download the report, consider agreeing to taking the survey and add your voice to their sample set. And now, for the topic most of the world cares the most: Futbol, Barça has announced that they want to start a club in Miami. Check Marca, NYTimes or, Straight from the Source. |
|
JAX-RS co-spec lead and Jersey lead Paul Sandoz just announced Jersey 1.0 availability. v1.0 moments are always special and this one is certainly no exception given how progress was made on a regular basis from engineering hard work and lots of community feedback. Congrats to Paul and the entire community for a well run open source project ! |
Jersey 1.0 is obviously a JAX-RS 1.0 implementation, but it also adds Spring integration, a REST client, and obviously is production quality... One of the signs of a community-involved project is the many ways the bits can be accessed: GlassFish v2 and v3, NetBeans 6.5, Maven 2, zip, etc...
With Jersey 1.0 out the door, you can now freely choose your Web Services style and stick to standards. Java EE 6, scheduled sometime mid-2009, will make this even clearer though a maintenance release. See Jersey
for more stories.
|
JAX-RS, the Java APIs for RESTful Web Services, is almost at the goal line: the Executive Committee for the SE/EE has approved the Final Specification for JSR-311. The vote was 15-1-0 (favor-abstain-against) (see result).
The last step is to complete the RI and TCK -
almost there!
Other related news under
See Jersey |
|
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
|
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.
|
Greg Luck, EHCache maintainer and GlassFish community member has been busy in the recent weeks. First, he released EHCache 1.5.0 and soon after came EHCache debugger, but also EHCache Server with a SOAP interface built using Metro (as the WSDL shows). |
Greg discusses the rationale behind the SOAP choice on his blog and explains that the server is available as a war archive that can be either deployed in a Java Application Server or simply started using its embedded GlassFish v3 engine. In addition to the SOAP interface, Greg is also working on a RESTful implementation of the EHCache server, this time with Jersey (JAX-RS's reference implementation in the works) under the hood.
EHCache is a popular distributed cache used by many frameworks and applications. Previous EHCache entries on this blog are here.
If you are using or planning to use GlassFish v3 (with or without the embedded mode), feel free to comment here or send us email, we'll happily mention it here.
|
Jakub's Building a Jersey WebApp ended with: mvn tomcat:run but his New Sample now ends as: mvn glassfish:run |
Jakub's note includes full instructions, sources and annotated run screenshots. Check it out!