[ Team LiB ] Previous Section Next Section

Summary

In this hour you saw various aspects of performance tuning that impact the performance of JavaServer Pages. It is important to understand the issues around threading, as this not only affects performance but also can lead to unexpected outputs such as mixing of client data.

Precompiling JSPs is a very important technique to use once you are in production. This is a good example where performance tuning need not be done during development. During development, you want to be able to redeploy JSPs without constantly re-cycling the servlet engine. On the same token, it is a no-brainer to turn this on in a production setting.

We concluded this hour by going over some very basic Java optimizations. These are specifically important in JavaServer Page programming, because JavaServer Pages do a lot of dynamic data presentation. The data, whether stored in a JavaBean or some other Java component, might need this sort of tuning, which ultimately affects the performance of the JSP.

    [ Team LiB ] Previous Section Next Section