Content deleted Content added
(7 intermediate revisions by 4 users not shown) | |||
Line 1:
{{Short description|Programming language and libraries}}
'''Java view technologies and frameworks''' are [[web-based]] [[software libraries]] that provide the [[user interface]], or "[[Model–view–controller|view-layer]]", of [[Java (programming language)|Java]] [[web application]]s. Such [[application framework]]s are used for defining [[web page]]s and handling the [[HTTP]] [[List of HTTP header fields#Requests|requests]] (clicks) generated by those web pages. As a sub-category of [[web framework]]s, view-layer frameworks often overlap to varying degrees with web frameworks that provide other functionality for Java web applications.
Line 7 ⟶ 8:
|-
! Action-based frameworks:
| [[
|-
! Component-based frameworks:
| [[Apache Click]], [[Apache Tapestry]], [[Apache Wicket]], [[
|-
! Web template systems:
| [[Apache Tiles]],
|-
|}
* [[
* In contrast, Struts and the [[Spring Framework|Spring MVC Framework]] are action-oriented frameworks that provide a thinner [[abstraction layer]] over the servlet [[API]].
* Apache Tiles is a templating framework designed to work with Struts.
* [[Facelets]] is a view definition and templating technology designed to work with JSF.
*
* Facelets, Tapestry and Wicket have their own templating approaches based on [[HTML]]/[[XHTML]].
* [[Apache Click]] uses HTML based [[Apache Velocity]] templates and [[plain old Java object]]s (POJOs), with JSP optional.
Line 37 ⟶ 38:
==Apache Struts==
{{main |Apache Struts
* Struts provides for a [[coupling (computer programming)|decoupling]] of the Controller and the View.
Line 76 ⟶ 77:
* '''Competitor''': Tapestry, JSF
==Jakarta Faces
{{main |Jakarta
* A specification for component-based view frameworks.
* [[Eclipse Mojarra]] and [[Apache MyFaces]] implementations are available
* Typically uses Facelets for XML/XHTML-based templating.
* Classes are written as POJOs, with Annotations or XML configuration files used to associate them with page and component templates.
Line 110 ⟶ 111:
{{Portal|Computer programming}}
* [[List of web service frameworks]]
* [[List of Java
[[Category:Java (programming language)]]
|