Models, MVC and Java EE 8 (Part II)

preview_player
Показать описание
MVC (JSR-371) allows you to expose unmanaged POJOs directly to the template.

Рекомендации по теме
Комментарии
Автор

I was wondering why you have created a new MVC API for Java EE 8 because it's quite similar to Spring Framework and we can already realize most you have shown with the Servlet/JSP specification : was it because you want to forget the bad reputation of Servlets from the past ? Because when I see that, I have the impression that we are changing the names, adding cool annotations instead of using inheritence and do the same again. We can already do a lot of good things since Servlet 3.0 & 3.1 have included annotations.
Q1 : Does this new specification include an API Form (csrf checking), a new way to upload/download files instead of using getParts() ?
Q2 : Is there any improvement for the view templating ? Because I saw what ASP.NET has done its new Razor templating : XML is not used, readability is improved.
Q3 : I saw we continue to use JSP pages, so are we able to create variables in page scope like in the past for servlets/jsp ?
Q4 : Are @Controllers requested scope ?

Thanks,

songokan
Автор

DATABASE Please i'm can not create project with database :(

CarlosMollapaza
Автор

GOODS, now you can create a project with database? Please. :)

CarlosMollapaza