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!

Comments:

Hi Adam,

Many thanks for such well written and helpful resource.

The sample code is giving 404 on the Oracle download link.

Ta

N.H

Posted by Naveed Hussain on April 05, 2013 at 03:30 PM CEST #

Hi Adam,

Can this JEE 7 code be run under any current application servers? Glassfish 3.1.2.2 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?

Thanks,

Brooke

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!

Cheers,

Brooke

Posted by Brooke on May 06, 2013 at 05:03 PM CEST #

Hi Adam,

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?

Thanks,

Brooke

Posted by Brooke on May 06, 2013 at 07:01 PM CEST #

@Brooke,

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!,

adam

Posted by Adam Bien on May 14, 2013 at 11:29 AM CEST #

@Brooke,

"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,

thanks,

adam

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.

Cheers,

Brooke

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 #

Post a Comment:
  • HTML Syntax: NOT allowed
...the last 150 posts
...the last 10 comments
License