Jersey 1.0 just shipped!

Download Jersey 1.0

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.

Comments:

I like how this announcement links to itself :-)

There don't seem to be binaries available for download yet, only links to some rather complex instructions involving Maven. Guess I'll have to wait a little longer...

Posted by Ulf Dittmer on October 14, 2008 at 12:33 AM PDT #

Oops, sorry about the link (it was actually missing). Should be fixed now. Bits are here: http://download.java.net/maven/2/com/sun/jersey/

Non-maven developers require: jersey-server.jar, jersey-core.jar, jsr311-api.jar, asm.jar
or, if using the jersey-bundle: jersey-bundle.jar, jsr311-api.jar, asm.jar

Posted by Alexis MP on October 14, 2008 at 12:55 AM PDT #

Thanks, I found the Jersey stuff. There's nothing that looks like "asm" or "jsr311-api", though.

Posted by Ulf Dittmer on October 14, 2008 at 04:30 AM PDT #

Never mind, I found it elsewhere on the server.

Looks like the examples really want you to use Maven, but I'll get past that. I sure wish folks would stick to Ant build files, since Maven isn't nearly as widely used (widely unloved, though, but that's a different rant :-)

Posted by Ulf Dittmer on October 14, 2008 at 04:37 AM PDT #

> Java EE 6, ... will make this even clearer though a maintenance release

As a non-native English speaker I have some problems understanding that. Does that mean there will be a maintenance release of JAX-WS spec, which will be included in Java EE 6? Or does the "maintenance release" refer to Java EE 6, so it would just mean that JAX-WS will be included in Java EE 6?

Posted by Syvalta on October 14, 2008 at 09:28 PM PDT #

1.0 is missing from the Jersey homepages list of stable downloads.

Posted by Seeker on October 14, 2008 at 10:00 PM PDT #

Replacing jersey.jar (of 0.8) with jersey-core-1.0.jar and jersey-server-1.0.jar makes me think that some special version of asm.jar, jsr250-api.jar, jsr311-api.jar and persistence-api-1.0.jar is needed as Jersey cries out in pain with a CNF on javax/ws/rs/core/Application

Posted by Seeker on October 14, 2008 at 10:30 PM PDT #

Please add links to the jars Jersey is dependent upon, such as the mentioned asm.jar.

Posted by Seeker on October 14, 2008 at 10:35 PM PDT #

@Seeker: Since version 0.8 Jersey has transitioned from an Ant-based project to a Maven-based project that is distributed via the java.net Maven repository.

Please read the following documents:

https://jersey.dev.java.net/source/browse/\*checkout\*/jersey/tags/jersey-1.0/jersey/getting-started.html

https://jersey.dev.java.net/source/browse/\*checkout\*/jersey/tags/jersey-1.0/jersey/dependencies.html

They contain details on:

- where to get the Jersey jars, dependent jars,
and what depends on what;

- what should you add to your pom, or what you
should add to your Ant script;

- the location of individual or a zip of all
Maven-based examples that work from the command
line or with NB 6.5 (with the latest maven
plugin). Note that the zip of all examples is
not large, this is because it relies on maven
repositories for dependencies on say GlassFish
embedded, Spring, Scala etc.

Hope this helps,
Paul.

Posted by Paul Sandoz on October 14, 2008 at 11:39 PM PDT #

Thanks Paul, those pages seems to be updated for 1.0 and solves all my issues!

Posted by Seeker on October 14, 2008 at 11:48 PM PDT #

@Ulf: as you found there is no zip download because Jersey 1.0 is released to the java.net Maven repository. It will also be released to the GlassFish v2 and v3 update centers and NetBeans 6.5. When those are ready we will blog about it.

What did you find complicated about the getting started and dependencies documents? Any feedback to improve these documents would be greatly appreciated.

To some extent i am trying a bit of an experiment. With Maven repositories and leveraging of the network it is no longer necessary to provide a conventional download of a "distribution" for a framework such as Jersey that requires something else for it to run, which is why it makes sense as a package from the GF update centers.

I am trying to turn things inside out a bit and point directly to information (the dependencies and getting started documentation) that would otherwise be required reading once a zip has been downloaded and unzipped.

The closest thing we have to a zip download is the zip of all the Maven-based samples:

http://download.java.net/maven/2/com/sun/jersey/samples/jersey-samples/1.0/jersey-samples-1.0-project.zip

I agree that Maven tends to polarize developers :-)

Hope this helps,
Paul.

Posted by Paul Sandoz on October 15, 2008 at 12:12 AM PDT #

Post a Comment:
Comments are closed for this entry.