JUnit 5 will be out soon! With the new Jupiter API, a focus on extensibility, and a huge integration overhaul, it promises to make testing easier than ever.
In Part 4 of this Java 9 series, we see that try-with-resources has been enhanced. Let's compare how Try With Resources worked back in Java 7 versus today.
When creating audit logs, consider using Spring Data. Its JPA functionality allows for EntityListeners and callback methods to update the needed properties.
No longer do you have to manage multiple Dockerfiles and use the Builder Pattern. Now, you can save time by creating a multi-stage build process for your Java apps.
Should you use standard profilers, lightweight options, or APM tools? The answer is all three. Each one has its strengths and weaknesses, detailed here.
Auditing provides valuable information, but it can be a nightmare to implement. Fortunately, through Spring Data JPA, you can persist the columns you need.
In-memory data grids are often used to enhance performance. Learn how to use Hazelcast for caching data stored in the MySQL database accessed by Spring Data DAO objects.
Time to get to know your locks! Whether you need blocking or non-blocking locks or want to know more about how they work, this quick example will set you straight.
Dropwizard Metrics makes it easy to create a class, override check methods, and register them, enabling you to call all of your Java service's health checks.
Before picking a framework or a language, agree with your team on architecture. This sample Spring Boot app walks through a refactoring focusing on clean architecture.
Look at five scenarios for using Hystrix with other tools from the Netflix OSS stack like Feign and Ribbon and see how performance compares in each situation.