-
1. Re: REST Module and MVC Framework
jharting Dec 10, 2010 6:37 AM (in response to gonzalad)Gonzalez,
as you said, we do already have Bean Validation integration and the initial version of templating support is close to release. Initially, FreeMarker and Apache Velocity will be supported with infrastructure in place to enable other templating engines to be plugged in - so yes, it won't be facelets only. The other items you mentioned are not planned for the initial release but might get in later.
-
2. Re: REST Module and MVC Framework
gonzalad Dec 11, 2010 7:01 AM (in response to gonzalad)Thanks Jozef !
One question I have left about JAX-RS 2.0 MVC (since you're providing a subset of this spec with Seam 3 templating features - you surely have more info than me on this topic) :
- Can I see JAX-RS 2.0 as the java counterpart to Microsoft .Net MVC ? (JAX-RS 2.0 MVC = Struts, or is it only to going to facilitate REST development ?)
- If the answer for question 1 is yes, then I'll be eager to have more news about a the future portentials evolution of REST module in the MVC area !
We're using JSF in my company for most applications, but there's really a need for a basic MVC presentation framework.
If JAX-RS next step is to provide such a framework, then I'll wait for it - otherwise I'll need to choose an existing open source alternative.
Thanks very much for your input !
-
3. Re: REST Module and MVC Framework
gonzalad Dec 14, 2010 4:19 PM (in response to gonzalad)Microsoft ASP .Net MVC 3 is in RC2.
JAX-RS 2.0 MVC should or MUST be a copy of that from my point of view.
dotNet is now a better platform than Java, and it's up to Java to copy dotNet.
Here are some links :
- ASP .Net MVC tutorial : http://www.asp.net/mvc/tutorials/getting-started-with-mvc-part1 (part1 to part 8).
- ASP .Net MVC 3 http://weblogs.asp.net/scottgu/archive/2010/11/09/announcing-the-asp-net-mvc-3-release-candidate.aspx and http://weblogs.asp.net/scottgu/archive/2010/12/10/announcing-asp-net-mvc-3-release-candidate-2.aspx
ASP .Net MVC 3 Razor template is really impressive.
ASP .Net MVC3 also includes jQuery UI, unobstrusive client side validation, ...
I'm really persuaded that a Java EE platform with :
- CDI as a basis.
- JSF as the standard component framework
- JAX-RS 2.0 and add-ons (copy of ASP .Net MVC3) as the standard mvc framework.
- a very fast IDE with no turnaround (WITHOUT jrebel).
Would be a killer platform.
Without all that... Java EE will just keep being a very slow and cumbersome platform.
-
4. Re: REST Module and MVC Framework
gonzalad Dec 14, 2010 4:23 PM (in response to gonzalad)More info about ASP .Net MVC 3 :
- http://weblogs.asp.net/scottgu/archive/2010/07/27/introducing-asp-net-mvc-3-preview-1.aspx
- Razor template : http://weblogs.asp.net/scottgu/archive/2010/07/02/introducing-razor.aspx
Regards,