Summary
In this chapter, we have discussed various web application and web service technologies with a focus on how to tune them.
We started out with what to look for when selecting a web framework and talked about the evolution of web frameworks. To demonstrate a very common GUI component, we looked at the data table and how it behaved using different web technologies. Although servlets/JSPs were faster for a simple use case, factors such as productivity and maintainability were low, while complexity quickly got (too) high as the need for enhancements and alteration came into the picture. JSF with a component library (PrimeFaces) supported by AJAX can be a better solution.
As we went through a few tuning hints, solutions, and technologies related to both servlets/JSPs and JavaScript, we also mentioned proprietary solutions in Undertow and talked about WebSockets as the best performing and arguably the most promising technology in web application development today.
Moving on to services, we...