Summary

In this chapter, we saw how memory is managed with Java, and how to influence it to optimize and adapt it to your application requirements. We also saw how the Java EE server-provided resources help you save time, as they not only enable you to skip reconnection time between usages but also imply a dedicated tuning to not abuse the server memory and CPU.

The idea behind this chapter is to ensure that you have the keys and knowledge to be able to investigate any issue with memory and to be able to tune the memory and resources without being lost or using some random numbers.

Also, this part is probably the most unportable one and will be related to the JVM (for the memory) and server (for the resources) you'll use in your deployment. ...

Get Java EE 8 High Performance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.