As Java developers we regularly have problems with applications running slowly due to an inefficient database query. Often there is little logging to help track down which query is causing the problem. Log4jdbc can help out here. Log4jdbc is a Java library that can log your database queries and how long they take. It can also log warnings and errors when queries are too slow based on thresholds.
Spring Boot is a popular framework used to create (microservice) applications in Java.
It has a flat learning curve and yet is very versatile, which goes a long way explaining its popularity.
As with all Spring frameworks, Spring Boot sports a ‘convention over configuration’ approach to discovering beans, services and also properties. In practice this means working with Spring Boot can largely be done intuitively.
This is also true for the configuration properties
In de tutorials die ik heb gedaan hoorde ik vaak de uitspraak “Doe dit, anders gaat het fout.” Wat is ‘dit’? Wat is ‘het’? Waarom gaat het ‘fout’? Ze denken iets uit te leggen en bij mij roept het vooral vragen op. Ik snap het niet. Waarom?