Restful web development using Java EE 6 – what are the options?

I'm trying to find the best choice for developing restful web applications using Java EE 6 For example, I would like to be able to explain the following URL:

Get www.myapp.com COM / customers / 1 – return to a web page that displays the details of the customer with ID 1

The only two options I can think of are

>Using spring MVC 3 > using the jax-rs specification that allows you to render views - I heard that resteasy integrates with spring MVC?

Is there any other framework that allows you to develop such web applications? In addition, I am very grateful for my insights on why one framework may be better than another

My other consideration is what view techniques can you use in the framework? I heard that many view technologies are integrated with spring MVC, such as velocity and tapestry... These are easy to integrate, or will they encounter many problems? One important thing is that I need templating (such as master pages in ASP. Net)

I'm new to the Java EE world - I'm used to Microsoft and they give you a choice I'm ASP Net MVC - there is something similar to the Java World (or spring MVC?)

I'm not used to all these choices... Help!

Thank you for any suggestions / comments

Solution

I suggest you look at:

>Restlet > play > Grails and rest plugin for Grails > Jersey > resteasy

(but one question: why do you need to be able to integrate with Java EE?)

Editor: if you absolutely want to use Java EE API, Jax - RS is your preferred solution as mentioned by balusc Restlet and Jersey both support it I don't know resteasy, but the Jax - RS Wikipedia page mentions it

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>