Resteasy 3.0 has been released, follow links on the Resteasy web page to find downloads etc. After sitting on the JAX-RS 2.0 JSR for two years and implementing it in the Resteasy master branch we’re finally ready to release! I’d like to first thank the JAX-RS 2.0 JSR especially Marek, Santiago, and Sergey. We butted heads a lot on the JSR and I could be difficult at times, but I think JAX-RS 2.0 is a great spec because of it. I’d also like to thank Weinan Li, Ron Sigal, and Gunnar Morling for fixing bugs and getting Bean Validation integration working in the last minute.
It is really really really important that you read the migration guide. We had to change a bunch of stuff and behavior because the JAX-RS 2.0 got really strict, specifically the request dispatch algorithm, so you really need to view it. We also refactored some SPIs and such. So, again, read the migration guide!
- JAX-RS 2.0 compliance. Once Wildfly supports HTTP Digest Authentication we can officially certify Resteasy 3.0.Final. Since this is really just red tape, I decided to release 3.0 now instead of waiting, weeks for another Wildfly release.
- SSO and OAuth2 for browser and RESTful web services. Built to work on AS7 and EAP 6.1, allows you to add these features on top of existing AS7 security domains
- Bean Validation 1.1. integration support
- More comprehensive generics support for all component types
JAX-RS 2.0 standardized many features that existed in Resteasy 2.3.x and earlier. Going forward we will not support these deprecated APIs in Resteasy 3.0. They are there to ease your migration from proprietary Resteasy APIs to the JAX-RS 2.0 equivalent. If you have a bug, you need to either provide a patch/pull request yourself, or upgrade to the JAX-RS 2.0 equivalent API. As soon as Resteasy 3.0 gets into our commercial distribution, we will be removing these deprecated APIs from Resteasy, so you should switch sooner rather than later.
- Resteasy Client API org.jboss.resteasy.client.ClientRequest etc. Proxy API has been ported to work on top of JAX-RS 2.0 api.
- Resteasy interceptor framework: MessageBodyReaderInterceptor, MessageBodyWriterIntereptor, PostProcessorInterceptor, etc… These all have JAX-RS 2.0 equivalents
- Resteasy async API. This also has a JAX-RS 2.0 equivalent
Next few months we’ll be focusing on some point releases to mature 3.0. I’ll also be finishing a revision of my O’Reilly JAX-RS book and you’ll see some new workbook examples in the distribution soon. I’m also starting a new project that is going to pull in the OAuth2 work I’ve done. More on that later though. As for future Resteasy features, I’m looking for somebody to drive a RESTful database service interface. If you’re interested, please ping me or our development list.