java - How do portlets relate to JSF? -


i haven't worked java portlets or jsf 'till , thought might try learn them. high view seems me both used building component-based user interfaces web applications. more read, more find confusing.

i know portlets need run in portlet container both technologies seem "widget" builders.

how portlets relate jsf?

a high-level analogy:

portlet container                 desktop windowing system ========================================================== portlet                           window jsf                               widget framework jsf tag                           widget 

the portlet provides api allows application receive , respond requests container. not specify use render portlet views or how application organizes data. in this, portlet similar servlet.

jsf provides means specifying views, navigating between them, , interacting model layer.

a specialized portlet acts jsf controller/container - typically portlet bridge.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -