I'm trying to figure out what the best options are for developing a RESTful web application with Java EE 6. For example, I want to be able to interpret a URL like so:
GET www.myapp.com/customers/1 - returns a web page displaying details about a customer with id 1.
The only two options I can think of are
- Using Spring MVC 3
- Using a JAX-RS specification that allows you to render views - I heard RESTEasy integrates with Spring MVC?
Are there any other frameworks that will allow you to develop web applications like this? Also I would greatly appreciate insight as to why one framework may be better than another.
Another consideration of mine is what view technologies can you use with the framework? I've heard that many view technologies integrate with Spring MVC, such as Velocity and Tapestry... are these easily integrated or will I run into numerous problems? One essential is that I need templating (like master pages in ASP.NET).
I'm pretty new to the Java EE world - I'm use to Microsoft where they give you one option. I'm a really big fan of ASP.NET MVC - is there something similar to that in the Java world (or is Spring MVC it?).
I'm not use to all these choices... HELP!
Thanks for any advice/suggestions.