Tag: Spring
How to improve the performance of primitive types in Java’s Stream Api?
- Natan Ferreira
- 0
- 62
Java’s Stream API facilitates code maintenance, is used with lambda expressions and functional paradigm. It offers many features such as filtering a list, among others. Let’s see an example. For this, I created a class called Product. I populated a list of products and created the following stream. My goal is to map the quantity,…
Read MoreWhat is Connection Pool?
- Natan Ferreira
- 0
- 102
Connection Pool is very important for improving the response time of applications. To discuss connection pool, it’s important to understand how database connections work in an application. Let’s use the example of a web application, an API. Without Connection Pool A request was made to the application to fetch some information, and in this example,…
Read More