Playing With Model View Controller MVC (JSR-371) from Java EE 8

Playing with JSR-371 MVC (Reference Implementation) ozark scheduled to ship with Java EE 8.

See also executable example: https://github.com/AdamBien/javaee8-mvc-sample

See also other screencasts at: https://tv.adam-bien.com or subscribe to https://www.youtube.com/user/bienadam.

Comments:

Thank you very much for the great illustration.
Does JEE8 make it simpler to work with views other than JSP and JSF?

Posted by malmansari on May 18, 2015 at 09:21 AM CEST #

Hello, Adam.
Nice introductory video. As always, you did a great job.

I would like to know what is your thoughts about MVC specification. It seems a little bit late to me, dont you think?

The other question is about the "V" part. I mean, actually, pure HTML+JavaScript+CSS solution is a little bit ahead of 'server based' views. Ok, I have no studies or sources to ensure my words, this is only an impression.
The JSR is not explicit about supporting or not those kind of views, but they just dont seem to fit.

Well... I would appreciate your considerations.

Thanks.

Posted by Vinicius on May 18, 2015 at 11:27 PM CEST #

Since introduction of JSF2.0, JSPs are considered as deprecated view technology. I understand that there will be JSPs come back with MVC 1.0?

Posted by Slawek on May 19, 2015 at 05:56 PM CEST #

Slawek,

JSPs are one of the many ViewEngines that are available for MVC. The ones backed by a JSR are JSP and Facelets.

Or you can use extensions to use the following ViewEngines:

1. Freemarker
2. Handebars
3. Mustache
4. Thymeleaf
5. Velocity

Posted by Manfred Riem on May 21, 2015 at 04:59 PM CEST #

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