Web user interface using Jakarta Server Pages and Jakarta Server Faces
If you have ever worked with Java Enterprise applications developed from 2000 to 2015, chances are you have seen Java Server Pages (JSP) and Java Server Faces (JSF) in action. Now widely considered legacy, these two technologies still appear widely in existing Java deployments and are worth knowing about, at least for historical reasons.
Introducing basic Java web technology – Jakarta Server Pages
Jakarta Server Pages (formerly Java Server Pages) is, in essence, a templating technology, allowing you to mix dynamic content written in Java with static content (usually written in HTML). By using JSP, an application server can build a web page to provide to a client (and visualize in a web browser). We already talked about JSP in Chapter 6, Exploring Essential Java Architectural Patterns, when talking about server-side Model View Controller (MVC). If you remember, JSP plays the role of the View in the...