Learn how to build a simple todo application with Spring Boot and Groovy. >>>
Yearly Archives: 2020
Creating Spring Beans Through Factory Methods
Learn how to create Spring beans using both instance and static factory methods >>>
Spring Security: Check If a User Has a Role in Java
Learn various ways to check if an authenticated user has a specific role >>>
Encode a String to UTF-8 in Java
Learn how to encode a Java String to the UTF-8 character set. >>>
Mocking the ObjectMapper readValue() Method
Learn how to mock the Jackson ObjectMapper’s readValue method with Mockito. >>>
Guide to AtomicStampedReference in Java
Learn how to use the AtomicStampedReference class in Java. >>>
The Difference Between mockito-core and mockito-all
Explore the difference between mockito-core and mockito-all. >>>
How to Determine the Data Type in Groovy
Explore different ways to find the data type in Groovy. >>>
A Guide to jpackage in Java
Learn about the usage of the jpackage command-line tool introduced in Java 14. >>>
Using a List of Values in a JdbcTemplate IN Clause
Learn how to pass a list of values into the IN clause of a Spring JDBC template query >>>
Using ThymeLeaf and FreeMarker Emails Templates with Spring
A quick and practical guide to using ThymeLeaf and FreeMarker emails templates with Spring. >>>
Java Weekly, Issue 330
A quick look at building native images for Spring Boot apps with GraalVM, and a new series from Martin Fowler on source code branching patterns. >>>
Log Groups in Spring Boot
Learn how to group loggers with Spring Boot 2.1 >>>
Oracle Connection Pooling With Spring
Learn how to setup connection pooling to an Oracle database with Spring Data >>>
A Guide to Atomikos
A comprehensive guide to Atomikos. >>>
OAuth2 for a Spring REST API – Handle the Refresh Token in AngularJS (legacy OAuth stack)
We learned how to store the Refresh Token in an AngularJS client app, how to refresh an expired Access Token and how to leverage the Zuul proxy. >>>
Hibernate Error “No Persistence Provider for EntityManager”
A quick explanation and solution for the “No Persistence Provider for EntityManager” error. >>>
Recommended Package Structure of a Spring Boot Project
A quick and practical overview of a recommended package structure for Spring Boot projects. >>>
Should We Close a Java Stream?
Ever wondered if it’s important to close a Java 8 Stream? >>>
The Map.computeIfAbsent() Method
Learn the intricacies of the Map.computeIfAbsent method. >>>