How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Jakarta Servlet, Jakarta Faces and Jakarta Server Pages Explained

calendar_today February 22, 2024 person webdev@eclipse-foundation.org (Eclipse Foundation) domain jakarta-ee

The Jakarta EE Platform offers a number of APIs that can be used to create web based user interfaces. The most mature and perhaps most well known is the Jakarta Servlet specification. Jakarta Servlet was first released in 1996, and it enables Java developers to create web pages containing dynamic web content using pure Java. The specification has changed much over the years and it is able to interact with modern technologies and comply with the modern era of web technologies with features such as HTTP/2. Jakarta Server Pages (JSP) was first released in 1999, and it enables developers to create web based user interfaces using a mixture of HTML markup and special Jakarta Servlet tags. JSP enables easy creation of dynamic web views, and it has also made great progressions over the years to position it for standard model-view-controller development. Model-View-Controller development specifies clear separation of view code from business logic, and in the early years of JSP it was common to see business logic intermixed with HTML code. To that end, Jakarta Faces was initially released in 2004, and it provides the ability to develop web based user interfaces with XML for the view and a corresponding Java class to contain the business logic for the view. This specification has adapted over the years to continue as a relevant web based user interface API for modern times.

open_in_new Read original post