JSF vs plain JSP + Beans?

I have the opportunity to complete my next project in JSF or JSP. Other languages ​​/ frameworks are not an option.

I don’t want to use any of the libraries of visual components like RichFaces, IceFaces, etc., because in the past I had a very bad experience with them, so I will be cherry-picking jQuery components to do exactly what I I want them to do.

Similarly, I will not worry about data access components .

In addition, since JSF comes with many JSP restrictions (for example, GET support is not supported), I am considering the full JSP + Beans option.

Are there any other things that I am missing in JSF?

+3
source share
1 answer

The limitations you are talking about do not really exist. JSF fully supports GET. In fact, this has always supported this, albeit with some limitations. You injected # {param.some_id} into your bean and took some action in the annotated @PostContruct method.

With JSF 2.0, this support has expanded significantly, and you can attach standard validators and converters to them, which you could not do in JSF 1.x.

JSF - , , , JSP- . , - , , , .

JSF . bean validation (Java EE 6) : , JSF . ( , JSF bean, ).

, , . , , JSF-, -, jQuery jQuery HTML , . JSP jsp: include templating, .

JSF , , . JSF, JSP/Servlet .

, BalusC, , JSF . . , .

+1

Source: https://habr.com/ru/post/1785028/


All Articles