Summary

In this chapter, we explored Java thread and learned how we can implement multithreading and concurrent programming with the help of the java.util.concurrent package. We also learned how we can improve performance using a thread pools in our application. We saw the task executing and scheduling functionalities provided by Spring and also learned about @Async support by Spring, which can increase the performance and responsiveness of our application. We reviewed how Spring transaction management creates an issue while working with multiple threads, and also looked at the best programming practices for multithreading and concurrent programming.

In the next chapter, we will learn about profiling an application to figure out the performance of an application. It is very useful for identifying performance issues. We will also learn about logging, which is an important tool for identifying issues in the application.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset