Did a bit of refactoring of the SPIs to improve generics support among other bug fixes. A side effect to this is that there is now a programmatic interface that allows you to register un-annotated resource classes. Also, bumped Jackson to 1.9.12 and also added an additional Jackson2 provider. See docs for more details.
Resteasy 3.0-beta-4 and 2.3.6.Final Released
April 10, 2013
See jboss.org/resteasy for relevant links for downloads/documentation.
3.0-beta-4 is our last beta! Everything should be implemented. JAX-RS 2.0 Final is being voted on in the JCP. We’ll be obtaining the TCK soon and starting work on getting certified. There’s also some architectural work that needs to be finished for 3.0. We’ll have a short RC release sometime in May, then a 3.0 Final Release early June.
2.3.6 is just a maintenance release.
Resteasy 3.0-beta-3 – Latest Spec Updates
February 7, 2013
java, JAX-RS, RESTEasy 1 Comment
Resteasy 3.0-beta-3 has been released. Follow the links from our main jboss.org page to download and view the documentation. Here are the highlights:
- The latest and greatest from the master branch of the JAX-RS 2.0 spec. Many of the client builder SSL changes I introduced in 3.0-beta-2 have made it into the spec. Thanks Marek for giving the thumbs up on them.
- There are a few minor features of JAX-RS 2.0 we don’t have implemented yet. You’ll get a NotImplementedYetExceptoin if you invoke them.
Next I’ll be focusing on my book, implementing our missing features, refactoring, and general test coverage.
Resteasy 3.0-beta-2 Released with New OAuth 2.0 Features
January 24, 2013
java, JAX-RS, oauth, REST, RESTEasy 3 Comments
Resteasy 3.0-beta-2 has been released. Follow the links from our main jboss.org page to download and view the documentation. Here are the highlights:
- Added a new ResteasyClientBuilder class to make it easier to create HTTPS/SSL connections on the client side
- Extensive work on OAuth 2.0 support including tight AS7 integration.
You can find out more about our OAuth 2.0 stuff here, and the distribution comes with an extensive example. Here’s the overall features of it:
- Turn an existing servlet-form-auth-based web application into an OAuth 2.0 provider.
- Provide Distributed Single-Sign-On (SSO) from a central authentication server. Log in once, and you can securely access any browser-based app configured to work in the domain.
- Provide Distributed Logout. Following one link from any application can log you out of all your distributed applications configured to use SSO.
- Web apps can interact securely with any remote restful service by forwarding access tokens through the standard Authorization header.
- Access tokens are digitally signed by the oauth2 framework and can be used to access any service configured to work in the domain. The tokens contain both identity and role mapping information. Because they are digitally signed, there’s no need to overload the central authentication server with each request to verify identity and to determine permissions.
What’s next for Resteasy? Next release I’ll be focusing on getting it up to date with the latest JAX-RS 2.0 snapshot. I also have to get started on my O’Reilly book.
Resteasy 3.0 Beta 1, JAX-RS 2.0 Preview
October 30, 2012
Now that JAX-RS 2.0 is in Public Draft and has stabilized a bit, API-wise, we finally released Resteasy 3.0 Beta 1. This release implements almost all of the features defined in the JAX-RS 2.0 Public Draft. Many of the key features in Resteasy 2.x have now been standardized in JAX-RS 2.0. There’s a new client API which is similar (actually better) than the current Resteasy 2.x client API. Interceptors have been added to the spec. You’ll find that they map very closely to Resteasy’s. I pushed really hard for this. Finally, there’s the async HTTP apis. Also very similar to Resteasy’s. All and all, if you’re using some of these features currently within Resteasy, you shouldn’t have much problems migrating to the JAX-RS 2.0 equivalent APIs. The only thing we’re missing is the client proxy support, but I couldn’t get other experts to agree it was a good idea to add.
This beta has a few JAX-RS 2.0 examples with the distribution. The Resteasy documentation regarding JAX-RS 2.0 isn’t where I want it yet, but we’ll get there as we get closer to a final release of 3.0. To learn some of the new features, it may be best to take a look at some of the features within Resteasy that take advantage of these APIs. I’ve linked them all below.
- Intro to JAX-RS 2.0 Article
- JAX-RS 2.0 Public Draft Specification
- Resteasy 3.0-beta-1 Download
- Resteasy 3.0-beta-1 Docs
- Resteasy 3.0 client cache implementation code (to see how filters interceptors work on client side)
- Doseta digital signature headers (good use case or interceptors)
- File suffix content negotiation implementation (server-side filter example)
- Other server-side examples (cache-control annotations, gzip encoding, role-based security)
java.dzone.com/articles/whats-new-jax-rs-20
Resteasy 2.3.5 Released
October 22, 2012
JAX-RS, REST, RESTEasy 2 Comments
After a bit of delay, Resteasy 2.3.5 is finally out. It is pretty much a maintenance release. I want to thank Ron Sigal and Wei Nan Li. They did almost all the work for this release (minus patches submitted by users). Resteasy 3.0 beta later this week!
Go to Resteasy website for links on how to download, you can check out the release notes too.
What should be in next Restful Java Book?
August 29, 2012
JAX-RS 2.0 is around the corner. We’re ironing things out in the JSR group and alpha implementations should be out soon along with the public draft. I talked to O’Reilly and the sales of my Restul Java book were good enough to justify a revision. So…
What do you want in Restful Java 2.0?
The obvious things are new spec features, specifically new chapters on:
- Client API
- Filters and Interceptors
- Asynchronous HTTP
There’s a few other minor features that will be sprinkled about in existing chapters of the book. We’ll also need to update the Java EE integration section as when the book was written, it hadn’t really be finalized yet.
For the filters and interceptors chapter, I was thinking about walking through (with code examples) the use cases that were the inspiration for these features in the spec.
For the asynchronous HTTP chapter, I was thinking of using/implementing a slimmed down simple version of the HornetQ REST interface. That way I can throw in bits about Atom as well as some useful restful patterns.
For security, I was thinking of talking a bit more about Resteasy’s S/MIME and DKIM support and how they fit into the security picture. We could also talk about OAuth too.
What else? Please comment.
Resteasy 2.3.1 Released
January 18, 2012
JAX-RS, REST, RESTEasy 1 Comment
This is a maitenance release of 2.3.x series.
As always, to download and see documentation follow the links from our website. Take a look at our Jira release notes. You might also want to check out the Migration guide to view what has broken as far as backward compatibility if you’re upgrading from an earlier version.
Resteasy 2.3-RC1 Released, Please Testdrive!
November 22, 2011
Resteasy 2.3-RC1 has just been released. Please follows links on main resteasy page to see documentation and download links. We do have some backward-incompatibilities, so see the Migration Guide. If you can, please testdrive it! We will be doing a 2.3.GA release in 2 weeks so its up to you to find any critical blocker bugs we might have introduced!
After 2.3 is released we will be starting to work on Resteasy 3.0, a JAX-RS 2.0 implementation. In conjunction we will also be moving source control to github.
Resteasy 2.2.2 Released
August 3, 2011
JAX-RS, REST, RESTEasy Leave a comment
This is just a maintenance release to fix a few minor and critical bugs found by the community. You can download 2.2.2 here. Release notes are here.
Hopefully we can now focus on getting a 2.3 beta out the door. Currently I’m working on S/MIME integration as well as a decentralized auth protocol discussed in previous blogs.
