In this chapter, we have covered in detail how to deliver fast web application modules. In the first part of the chapter we have discussed the best tactics to deliver a fast web application, covering the following topics:
Earlier MVC web applications are intrinsically coupled with a set of interfaces and require lots of tedious and repetitive code to deal with low-level request and response objects. On the other hand, because of their shorter lifecycle they deliver fast responses.
On the other hand, developers with a sound knowledge of JSF technology, can build highly flexible web applications in a much shorter time, at the price of a more complex (and thus slower) runtime lifecycle.
Producing a tabular set of data is a common requisite of every web application. By using a plain JSP/Servlet approach you can achieve the best performance hit. Using JSF's Mojarra 1.2 implementation was about 2.5 times slower in our lab tests. The RichFaces component library added an additional 20 percent...