Java Technologies

Java technologies and frameworks

Java view technologies and frameworks are web-based software libraries that provide the user interface, or "view-layer", of Java web applications. Such application frameworks are used for defining web pages and handling the HTTP requests (clicks) generated by those web pages. As a sub-category of web frameworks, view-layer frameworks often overlap to varying degrees with web frameworks that provide other functionality for Java web applications. Java view-layer frameworks often claim to support some or all of the model–view–controller design pattern. At a glance

Action-based frameworks: Apache Struts, Spring MVC

Component-based frameworks: Apache Click, Apache Tapestry, Apache Wicket, JavaServer Faces Web template systems: Apache Tiles, SiteMesh, Thymeleaf JavaServer Faces (JSF), Apache Tapestry and Apache Wicket are competing component-based technologies, abstracting the stateless HTTP request-response cycle and the Java Servlet API behind an object-oriented, event-driven component model. In contrast, Struts and the 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. SiteMesh can be used with any JSP.