|
|
|
|
|
Rajeshwar has written a short description on how to use the GlassFish v3 REST Interface to Configure GlassFish; this complements his previous entry REST and Monitoring and, like that one, it also has examples using a Jersey-based client - included in the post.
Related entries are tagged REST+GlassFish+v3 PS. Picture at left shows the anterior eyes of a Jumping Spider. |
|
Paul has announced the availability of Jersey 1.1.1 EA, based on the draft for JAX-RS 1.1 (see JAX-RS 1.0 spec and Changelog). To learn more about Jersey you can see the Getting Started Document and the Jersey User's Guide, check out Paul and Marc's Webinar, or browse through previous entries. Jersey is also collaborating with JFA's Atmosphere framework, and, since Paul is a fan of Scala, also supports Lift. Overall, very good movement towards GFv3. More details at Paul's announcement. |
|
Paul has published a very detailed Enterprise Tip showing how to use Jersey, the JAX-RS implementation used in GlassFish, together with Spring, the framework for building and running enterprise Java applications. The integration relies on Integration Features that are currently available in the stable versions of Jersey. Paul's note explains in full detail how to take a basic Web Application written with Jersey so it leverages Spring. Check it out!. |
|
One of the challenges in spec development is how to best leverage other specs that are being developed simultaneously, within the real-life constraints of schedules, resources, time-zones, etc. This is another situation where transparency and open-source is helping significantly - plus the usual hard work of the EGs. A case in point is EJB 3.1 and JAX-RS 1.1 where the EGs have been working to allow the use of POJO sesion beans as resource (root) or provider classes in Jersey, deployed as a plain WAR. This allows very natural Java programming, things like this root class
|
@Stateless @Path("ssb") public class StatelessSessionRootResource { @Context private UriInfo ui; @GET public String get() { return "GET: " + ui.getRequestUri().toASCIIString(); } }
Check out full details in Paul's Glassfish v3, EJB 3.1 and Jersey and in Ken's JAX-RS and EJB.
EJB3.1 and JAX-RS are two of the new
JavaEE6
features you will be able to try
GFv3 in EA by JavaOne - see you there!
And the photo?
Another great partnership, this one in Mixed Doubles
in Badminton:
Kim Dong-moon
and
Ra Kyung-min :-)
|
A quick update on Jersey (the REST implementation in GlassFish) to complement yesterday's note on Metro, the SOAP stack. |
Jersey 1.0.2 was released on Feb 12th. The release is still based on JAX-RS 1.0, has many bug fixes and new functionality including improved JSON support, resource-specific filters, Apache Abdera support, implicit produces and servlet as a filter. Check Paul's writeup for more details, and the team is already working on Jersey 1.0.3 - see Roadmap.
On a related topic, check Jakub's article on Consuming RESTful Web Services With the Jersey Client API. Finally, JAX-RS is also being used in the GlassFish Mobility Platform; spotlight still to be posted.
|
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. |