Learn about using constants in Java with a focus on common patterns and anti-patterns
I'm a freelance web application developer with over fifteen years of experience working with Java and JEE and an interest in code generation. I really enjoy sharing my knowledge with others.
Here's what I've written (so far):
Explore the issue of which exception to throw when someone passes a null parameter to one of our methods: IllegalArgumentExcpetion or NullPointerException.
A quick and practical overview of Class.isInstance and Class.isAssignableFrom methods.
Learn the basics of parsing files using the Univocity library.
Learn about suppressed Exceptions in Java and how to work with them.
Explore what the JPA entity lifecycle callbacks are and when they’re called.
Explore how to use Thymeleaf to create URLs with path variables.
Explore different ways of controlling the logging level at runtime in a Spring Boot Application.
Learn about Thymeleaf template locations.
Learn how to work with enums in Thymeleaf.
Learn how to use crawler4j to create your own web crawlers.
Learn how to create LIKE queries in Spring JPA Repositories.
Learn how to use Jackson to read and write YAML files.
Learn how to access request headers in Spring REST controllers.
Learn what causes the “java.lang.UnsupportedClassVersionError: Unsupported major.minor version error” message, and how to fix it.
Have a look at Groovy’s support for I/O operations and the extensions to Java’s I/O functionality.
Explore ways to iterate over a map in Groovy using standard language features like each, eachWithIndex, and a for-in loop.