users@glassfish.java.net

Re: RESTful Service (JavaEE6 + Spring + Jackson)

From: Richard Kolb <rjdkolb_at_gmail.com>
Date: Thu, 11 Oct 2012 15:27:53 +0200

On 11 October 2012 15:20, Jan Algermissen <jan.algermissen_at_nordsc.com>wrote:

> Hi
>
> On Oct 11, 2012, at 11:15 AM, forums_at_java.net wrote:
>
> > I'm looking for the way which creates RESTful web servicies using
> JavaEE6 +
> > Spring + Jackson. I wish this method doesn't depend on Jersey, and is
> > available on any JavaEE container. Would you mind telling me this
> method? I
> > will be grateful for any help you can provide.
> >
>
> I suggest you stick with plain Java EE6 and JAX-RS. That should give you
> all you need.
>
> No need to pull in Spring and also no need to use non JAX-RS
> Jersey-features.
>

Yes mixing Spring and JavaEE is like mixing your wine and beer. Both are
much better separate.

Tomee uses CXF and is JavaEE 6 certified.
http://openejb.apache.org/apache-tomee.html
Just remember to get the Full or JaxRS version.



>
> If you are looking at Spring for GUI reasons, this[1] might interest you -
> it is pretty
> simply to roll your own, non proprietary, templating with JAX-RS 2.0 (due
> Nov. 2012)
>


JAX-RS 2.0 and GUI ?
Please explain, thanks.


regards
Richard