JSF and Spring performance vs poor JSP performance

前端 未结 5 1794
日久生厌
日久生厌 2021-02-10 13:57

I saw some JSF projects developed by my collegues and these projects seemed to me very slow. Does anybody have the same opinion?

I\'m currently using jsp+jstl and jQuer

5条回答
  •  抹茶落季
    2021-02-10 14:36

    I totally like to use JSP 2.0 as templating technology -- that is I use Spring MVC to access my domain objects and prepare all data I need for a certain view and leave it to JSP to render it. JSP 2.0 because I like to use tag files for template composition which allows me to use simple JSP 2.0 where I would need other compositing frameworks else.

    I intentionally avoid everything in JSP that basically is programming. No data acess, no SQL, no scriptlets, no methods, no nothing. just plain presentation of pre-existing, controller-provided data with maybe some simple cases and iteration of collections.

提交回复
热议问题