java - Why do we need JSF tags , If we have HTML tags -


jsf mvc framework,but confused why need jsf tags if have many html tags. no doubt jsf has simplified lot of things. know more model view , controller in jsf.

jsf component based mvc framework built on top of servlet api , provides components in favor of taglibs, can used in jsp or other java based view technology such facelets. facelets more suited jsf jsp. namely provides great templating capabilities such composite components, while jsp offers templating, you're forced create custom components raw java code (which bit opaque , lot of tedious work in jsf) when want replace repeated group of components single component. if can, recommend drop jsp , go facelets when want develop jsf.

as being mvc (model-view-controller) framework, jsf provides facesservlet sole request-response controller. takes standard , tedious http request/response work hands, such gathering user input, validating/converting them, putting them in model objects, invoking actions , rendering response. way end jsp or facelets (xhtml) page view , javabean class model. jsf components been used bind view model (such asp.net web control does) , facesservlet uses jsf component tree work.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -