Java view technologies and frameworks: Difference between revisions

Content deleted Content added
m Fix link to Java portal (via WP:JWB)
Line 26:
 
==Servlet API==
{{main article | Java Servlet API}}
 
The Servlet API is the foundation of almost all Java Web View technologies. Servlet provides the basic mechanism for writing Java [[Class (computer programming)|classes]] for web applications. Servlets can respond to HTTP requests, create cookies and maintain sessions.
 
==JavaServer Pages (JSP) ==
{{main article | JavaServer Pages}}
 
* Built on top of the Servlet API, JSP provides a document-centric, tag-based templates, server programming model which can generate many forms of textual content.
Line 37:
 
==Apache Struts==
{{main article | Apache Struts 2}}
 
* Struts provides for a [[Coupling (computer programming)|decoupling]] of the Controller and the View.
Line 46:
 
==Apache Tapestry==
{{main article | Apache Tapestry}}
 
* A component-based view framework.
Line 58:
 
==Apache Wicket==
{{main article | Apache Wicket}}
 
* A component-based view framework.
Line 69:
 
==JavaServer Faces (JSF) and Facelets==
{{main article | JavaServer Faces | Facelets}}
 
* A specification for component-based view frameworks.
Line 82:
 
==SiteMesh==
{{main article | SiteMesh}}
 
* SiteMesh is an HTML templating framework based on the "Decoration" model.
Line 92:
 
==Spark==
{{main article | Spark (software)}}
 
* Spark a micro web framework built around a simple routing system
* It runs on an embedded [[Jetty (web server)|Jetty]] web server by default, but can be configured to run on other webservers.
* It supports three different templates engines: [[Apache Velocity | Velocity]], [[FreeMarker]] and [[Mustache (template_systemtemplate system) | Mustache]]
* It aims to facilitate rapid development, and does not make use of annotations or proprietary solutions.
 
<!-- formatting; please do not remove until some more text lines are added to compensate spacing -->
 
==See also==
{{Portal|JavaComputer (programming language)}}
* [[List of web service frameworks]]
* [http://java.sun.com/products/servlet/ Java Servlet Technology ]