O'Reilly logo

Java EE 7 Performance Tuning and Optimization by Osama Oransa

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Understanding concurrency in Java

Concurrency in Java is one of the critical performance issues, particularly in the standalone or desktop applications. For the web applications, it is less critical. We can have a lot of benefits by utilizing the Java concurrency features, especially after the recent modifications to Java EE to add a lot of asynchronous components; we will cover these components in this chapter.

Concurrency is the concept of executing two or more tasks at the same time (in parallel). Tasks may include methods (functions), parts of a program, or even other programs with modern computer architectures; support for multiple cores and multiple processors in a single CPU is very common.

Before Java EE 7, it was not recommended to use ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required