JAX-RS 2.0 and Java EE 7--A Free Article
A new and free article about JAX-RS 2.0 and Java EE 7 is online.
I focussed on new features like asynchronous processing, configuration, interceptors, filters and the new client API.
Feedback is, as always, highly appreciated!
See you at Java EE Workshops at MUC Airport, Delta Java EE 7!
Many thanks for such well written and helpful resource.
The sample code is giving 404 on the Oracle download link.
Posted by Naveed Hussain on April 05, 2013 at 03:30 PM CEST #
Can this JEE 7 code be run under any current application servers? Glassfish 184.108.40.206 doesn't seem to support it (and is the latest version of the JEE reference app server). http://www.oracle.com/technetwork/java/javaee/overview/compatibility-jsp-136984.html suggests not either.
Is there any way we can try this out - how did you do it?
Posted by Brooke on May 06, 2013 at 12:02 PM CEST #
Oh I see, the roast-house had a dependency on glassfish-embedded-all 4.0-b72.
Mmmm, wasn't working for me so had better look at it a bit more closerly!
Posted by Brooke on May 06, 2013 at 05:03 PM CEST #
I can't get it to work. Despite the response being 201 (Created), the crud() test fails with an empty <bean></bean> being returned. I tried the latest Glassfish 4.0.b87 as well as b72.
Does it work for you?
Posted by Brooke on May 06, 2013 at 07:01 PM CEST #
I wrote the app first, then the article. It worked for sure. No idea whether it will work now.
Will check that.
Thanks for testing!,
Posted by Adam Bien on May 14, 2013 at 11:29 AM CEST #
"Can this JEE 7 code be run under any current application servers?"
The code could run on any application server, if you replace the JAX-RS 2.0 implementation.
However: JAX-RS 2.0 is a part of JavaEE 7 and should run on any JavaEE 7 server,
Posted by Adam Bien on May 14, 2013 at 11:35 AM CEST #
@Adam thanks for your reply.
I tried under the latest Dev version of Glassfish (Glassfish 4.0.b87) and I received that error. I don't doubt that you were able to get it working though i don't seem to have the knowledge to make it happen. I'll revisit this when JEE7 rc is released.
Posted by Brooke on May 14, 2013 at 04:18 PM CEST #
Links that are looking like the rest of the text are hard to discover. I suggest that you change the color.
And by the way: this blog could benefit from a little visual lifting ...
Posted by Christian on September 15, 2017 at 11:39 AM CEST #