Learn how to call JavaScript functions in a Thymeleaf template.
Baeldung Author
baeldung
This is the standard author on the site. Most articles are published by individual authors, with their own profiles, but when multiple people have a strong contribution, we publish collectively here.
Here's what I've written (so far):
Java Weekly, Issue 443
Filed under Weekly Review
G1GC, data-oriented programming with project amber, Spring transactions, automated testing, and diversity of browser engines!
Creating JAR Files Programmatically
Filed under Java
Learn how to create and add files to a JAR programatically.
How to Modify Git Commit Messages
Filed under Programming
Learn how to modify Git commit messages.
Share Volume Between Multiple Containers in Docker Compose
Filed under DevOps
Learn how to share Docker containers’ data using volumes
Difference Between Flux.create and Flux.generate
Filed under Reactive
Understand the generate() and create() methods of the Flux API.
Handle Spring Security Exceptions With @ExceptionHandler
Filed under Spring Security
Learn to handle Spring Security Exceptions with @ExceptionHandler.
What are the Spring Boot Default Memory Settings?
Filed under Spring Boot
Learn about the default values of various heap and stack memory configuration options available for Java applications.
A Guide to Docker Private Registry
Filed under DevOps
Learn how to set up a private Docker registry, and push/pull images.
Java Weekly, Issue 442
Filed under Weekly Review
JFR improvements, less footprint for Java, hibernate additions to Criteria API, the Flexcoin race condition, and product backlog.
Is There a Destructor in Java?
Filed under Java
Learn about the possibility of object destruction in Java.
A Guide to Maven Encoding
Filed under Maven
Learn how to set character encoding in Maven.
Difference Between parseInt() and valueOf() in Java
Filed under Java
Learn the differences between the parseInt() and valueOf() methods of the java.lang.Integer class in Java.
Unit Test Private Methods in Java
Why it’s not a good idea to test a private method and how to do it if it’s extremely necessary.
Java Weekly, Issue 441
Filed under Weekly Review
Java GCs, Project Panama, Spring Data JDBC, multiset vs joins, structured concurrency, and HTTP/3.
Adding Parameters to Java HttpClient Requests
Filed under Java
Different examples of HTTPClient core Java.
Disabling Keycloak Security in Spring Boot
Filed under Spring Security
Learn how to disable the configuration put in place by the Spring Keycloak starter.
How to Mock HttpServletRequest
Filed under Networking, Spring
Learn multiple ways to mock a HttpServletRequest object when unit testing Servlet code in Java.
Java “int/char Cannot Be Dereferenced” Error
Filed under Java
Take a closer look at the Java error “int cannot be dereferenced”, learn the leading cause of the exception, and see how to fix it.
Expose GraphQL Field with Different Name
Filed under Web Services
Learn how a GraphQL field can be exposed with a different name.