Tuesday Dec 13, 2011

Jersey 1.11 is here with MOXy support

Jakub, the Jersey lead has just announced Jersey 1.11 which offers EclipseLink's MOXy support, attaching filters to non-blocking clients as well as some docs cleanup.

Moxy Band

Jersey 1.11 is scheduled to be available as part of the upcoming GlassFish 3.1.2 release. More on other component updates for this release in an upcoming post.

I can't help but wonder if the number of Canadians involved in MOXy has anything to do with it being named after a heavy metal band. Project and product names are always fun stories.

Friday Nov 04, 2011

Tab Sweep - Jersey, Hudson, GlassFish Hosting, GC's compared, Spring to JavaEE, Modularity, ...

Recent Tips and News on Java, Java EE 6, GlassFish & more :

Radio Receiver

Jersey 1.10 released (Jakub)
The Hudson Book (eclipse.org)
Comparing Java 7 Garbage Collectors Under Extreme Load (Nerds Central)
GlassFish Hosting (Enciva)
Spring to Java EE Migration, Part 1 (OTN)
ASM 4.0 released (OW2)
Adopt A JSR! (The Java Source)
Early signs of EJB 3.2 (GlassFish source)
Practical challenges of profiler integration with Java/J2EE applications (TheServerSide)
LOGBack 1.0 (qos.ch)
55 New Things in Java 7 (DonaldOJDK Blog)
Java 8 and OSGi modularization (Neil and Tim)

Wednesday Oct 12, 2011

Happy Birthday Jersey!

3 years!

Wednesday Sep 07, 2011

Jersey moving forward - Contributions, Maven Central and more in 1.9

Jakub just announced the release of Jersey 1.9, an update to the GlassFish JAX-RS 1.1 implementation. This is the fourth release in six months.


Jersey 1.9 features an externally-contributed WADL improvement, integration of all final artifacts on Maven Central (see this earlier post), async client improvements and more.

On the topic of Java EE and GlassFish artifacts on Maven Central, check out this blog entry by Ed Burns and start getting rid of those <repository> tags.

Tuesday Jul 05, 2011

Jersey experimental work : true non-blocking client

Pavel Bucek has been working on support for true non-blocking client support in Jersey. This frees developers from having to manipulate threads (which would result in poor use of resources anyhow) and is based on Jean-François Arcand's Async Http Client (AHC).

original photo from http://www.flickr.com/photos/storm-crypt/2889441616/

This is still experimental work at this point but could change rapidly if the feedback is positive and constructive. Note that the client API is part of the JAX-RS 2.0 scope.

Monday Jun 27, 2011

Jersey 1.8 - Another GlassFish 3.1.1 component is ready

We now have a new release of the JAX-RS 1.1 reference implementation - Jersey 1.8 is just out!

Thisbug-fix release follows the EclipseLink 2.3 release from last week (as part of the Eclipse Indigo train release) and other components such as Woodstox 4.1.1 and Weld 1.1.1 which have already been released and integrated.

GlassFish 3.1.1 Jersey

To get started with Jersey 1.8, begin here and don't forget to visit the Jersey Wiki pages. You can also grab a nightly build of GlassFish 3.1.1 or wait for the next promoted build (#10) due out in a few days.

As it currently stands for GlassFish 3.1.1, we have integration of the final bits for Metro 2.1.1 (currently at 2.1.1b7), Mojarra 2.1.3 (currently at 2.1.3b1), and MQ 4.5.1 (currently at 4.5.1b3) still ahead of us.

Thursday May 26, 2011

Jersey 1.7 - OAuth and more

Jersey 1.7 was released a few days ago. You can read about it on Jakub's blog (Jakub is the new project lead on Jersey). This is a JAX-RS 1.1 implementation which, among other things, enhances its existing OAuth support (the topic of a popular hands-on lab last year at JavaOne).


If you're interested in trying out that part, check out the signature API and the latest jersey-oauth.pom dependency which comes with a set of samples in the oauth-tests module. I think you can expect more improvements and documentation in the near future.

Thursday Apr 07, 2011

Jersey 1.6 - Shipping!

With all the GlassFish 3.1 recent activity, there was another important release that might have slipped under your radar: Jersey 1.6 is here.

Jakub, the new lead for the project, discusses what's new in this release including modularization, Grizzly 2.0 integration, updates to functional tests and code coverage using Cobertura.

Yellow Jersey, photo from http://www.flickr.com/photos/joeshlabotnik/350582000

Another key improvement is the OAuth (Wikipedia) client which builds on top of the Jersey client API and offers easy integration with services such as Twitter (illustrated in the Jersey samples).

Jakub's blog post has all the links for documentation, download, mailing list and issue tracker. Note that GlassFish 3.1 ships with Jersey 1.5 and that future plans for the project include the ability to run multiple simultaneous versions of Jersey in GlassFish as well as integration and optimizations for Oracle WebLogic Server.

Wednesday Mar 23, 2011

An update on Jersey.next

Over on "Earthly Powers", Martin Matula lays out the high-level plans for Jersey.next starting with the 1.6 release due real soon now. The team working on Jersey includes Jakub, Pavel, Jon, Roberto, Marek and Martin himself as development manager for the overall Jersey effort.


Speaking of upcoming Jersey 1.x releases, recent news include Jersey integration with the newly released Grizzly 2.0 as well as better integration with both GlassFish and WebLogic application servers with the ability to offer multiple Jersey versions running simultaneously within one container (one of my personal favorite). Jakub has details for other new cool stuff coming up.

Sunday Feb 06, 2011

Everyone talking about JAX-RS and Jersey

There's been a flurry of JAX-RS and Jersey posts recently on the blogosphere. First, Andy Gibson walks you through the steps to create a RESTful resource available via GET's and POST's with some JPA in the mix and full code included.

Then, Gin-Lung Cheng offers another post decomposing the steps into : define the URLs, define the data representation, configure Jersey, create the JAX-RS resource classes and test them.


Celinio's post covers JAX-RS in Apache CXF, while Craig Ringer discusses how to use Jersey 1.5 extensions to handle file uploads. This involves using the jersey-multipart module and is discussed in the context of JSF 2.0.

Update: WebLogic's very own Steve Button also has a piece on Using JAX-RS with WebLogic Server 10.3.4 (using NetBeans). Check it out!

While we're on the JAX-RS and Jersey topic, Marek Potociar will be the new lead for Jersey and a co-spec lead on JAX-RS 2.0, effectively replacing Paul Sandoz who has decided to pursue another exciting opportunity. Thanks for everything Paul, you've really made a difference! Welcome Marek!

Friday Nov 05, 2010

First Wave of Java.Net Migration

A few weeks into the acquisition, Ted Farrell announced plans to migrate Java.Net to Kenai infrastructure. For multiple reasons, it took us a bit to implement this, but last week we started with a first wave of GlassFish projects and a bit later Sonya provided Additional Details about the Java.net Migration.

Although the migration also involves some CMS changes the main focus right now is on the Forge Migration, from CollabNet Infrastructure to Kenai Infrastructure.

The projects involved in the first wave included Jersey, Metro, Grizzly, Atmosphere, JAX-WS, OpenMQ and several more. The intention was to do a quick migration but that has been delayed, with the current completion target date being Monday. Once the first wave completes, we will start migrating the rest of GlassFish and then other Java.Net projects.

Some additional details at:

Sunday Oct 17, 2010

GlassFish Tips and Links #12: Maven on Helios, Basic Authentication, Jersey 1.4, Bye AMX, JavaSE 6u22...

Recent Tips and News on Java EE 6 & GlassFish:

Informational Sign


Maven troubles on Eclipse Helios causes problem deploying app to GlassFish
• ... but see Harald's tutorial
Basic Authentication in GlassFish 3 (Maksim Sorokim)
Jersey 1.4 was released on September 11th (Paul)
More on Web Sockets and HTML5 in Glassfish - covers using the SQL API (Santiago)
Update to deploying webservices on Glassfish 3.1 cluster (Bhakti)
Spring vs. Java EE and Why I Don't Care (Eberhard Wolff)

GlassFish 3.1

Admin UI is now 100% based on REST; no more AMX (ludo)
Progress in moving GlassFish to Kenai infrastructure (eduardo)

Links and News

eApps Cloud Release notes v .99.2 - Beta will include Liferay on GlassFish
Habari OpenMQ Client (library for Delphi and Free Pascal to access OpenMQ)

From Oracle

• Countdown to decommissioning SunSolve "later this year"
   Goodbye SunSolve, Helloooo MOS!, SunSolve Retirement Notice - Oct'10 and FAQ
• Sun GlassFish Enterprise Server 2.1.1 p8 now available.
• JavaSE 6u22 is out with security bugs - Release Notes, twitter @rolilad
• Oracle's October Critical Patch Update at eSecurityPlanet.

En Español

Control del nivel de aislamiento transaccional en JPA
EJB 3.1 en Porlets de Liferay (Apuntes de Java)

Event News

Slides and Trip Report for SVCP 2010:
   [1], [2], [3], [4], [5], [6].
This Week's Events
• Oct 19th, YaJUG, Luxembourg (details)
   Java EE 6 + GlassFish, Alexis MP
• Oct 20th: eBig Java SIG, Oakland/CA (details)
   Java EE 6 = Less Code + More Power, Arun Gupta
New Events
• Dec 6-Dec 8: NYC - Marakana, (details)
   JSF 2.0 Training Course, Kito Mann
• Dec 13-Dec 17: NYC (details)
   Programming with Java and Java EE 6, Yakov Fain, Farata Systems

Tuesday Apr 27, 2010

CLI, Roller, Jersey, JavaOne... and More GlassFish News - April 27th, 2010

Install and Run Apache Roller 4.01 on GlassFish and OpenSolaris
Dave Koelmeyer has posted Detailed Instructions on how to install Apache Roller 4.01 on GlassFish v2.1 using MySQL 5.1 for storage.  He uses OpenSolaris snv_134, the subject of a tea-leaf-reading thread.

Slides and Code Samples on Jersey and JAX-RS
The Slides and code from Paul Sandoz's presentation at Presentation at AlpesJug on Jersey, JAX-RS and Atmosphere are now now available.  The actual presentation was in French, but the slides are in English, and the code is... code.

Invoke OSGi Service from JAX-WS Endpoint
Arun has published yet another TOTD (Tip Of The Day), with complete instructions and code.  This one is  TOTD #130: Invoking a OSGi service from a JAX-WS Endpoint. Arun's approach is to document the demos he gives at his presentations through the TOTDs.  Quite a bit of work, but it makes the content useful to a world-wide audience.

WAS V7 - Inching Towards JavaEE 6
IBM has recently been using a "Feature Pack" approach in upgrading its WebSphere AppServer; it seems to work pretty well for them and they released two packs for WAS V7: Feature Pack for OSGi and JPA 2.0 and Feature Pack for SCA.  IBM is, of course, one of the Java Licensees; WAS v7 is one of the JavaEE 5 Compatible App Servers, the feature pack aproach helps it move towards the JavaEE 6 list.

VirtualBox at Oracle
One of the challenges during Hands-On-Labs is setting up: the attendees usually bring their own laptops but each of them is different and requires slighlty different setup.  Asking for prep work before attending is not always successful.  A solution now being used in some DB HOLs at Oracle is to Use VirtualBox. Which is the same approach that both Arun and Alexis had advocated for a new series of GlassFish HOLs being planned.

GlassFish CLI
Masoud has a detailed post - actually a book chapter - that you should read to Learn the GlassFish v3 Command Line Administration Interface (CLI)

JavaOne 2010
This year's JavaOne is the first under Oracle and will coincide with Oracle OpenWorld.  Some things will be different, but others are mostly the same - including how the content is being selected - see Sharat Chander's interview by Tori Wieldt for some answers; others will evolve as we get closer to the event.

Tuesday Feb 16, 2010

Java EE 6 momentum, stretching the Jersey boundaries and a bit of GlassFish


Java EE 6 adoption and overall momentum is still going strong. In the past few days there's been a InfoQ piece on how compelling EJB 3.1 are, a blog post by the Caucho folks around the Java EE 6 Web Profile which they intend to support soon in their Resin product, while Mert has a detailed step-by-step "Getting Started with Java EE 6" document featuring a demo application focusing on JSF (using PrimeFaces), CDI, among other things.

Meanwhile on the JAX-RS/Jersey side of the house, Dustin has been busy writing blog posts with the latest one about "Jersey/JAX-RS Method Designators" illustrating the importance of clean error handling. Going beyond the specification, there's also been a lot of community discussion about potential hypermedia and HATEOAS (Hypermedia as the Engine of Application State) support with exploratory work by Santiago. This page is a good place to start reading about this.

On the GlassFish side, one of the new features in v3 has been to extend the ability to create a platform service to the Windows OS. Byron has this additional blog entry on "Making GlassFish v3 Platform Services Survive Logoff". While on the GlassFish v2.x side of things, Byron also discusses offline configuration at a cluster level.