HTTP 2 is final – the big news of this week (it has been a while since the last one). Also – some cool deep dives into the JVM and Hibernate.
Search Results for: Java Classes
Baeldung Weekly Review 6
Some great Java back-to-basic articles, insights into building APIs and a discussion about backups. Good first week of February in my book.
Spring JPA – Multiple Databases
How to set up Spring Data JPA to work with multiple, separate databases.
REST Query Language with Spring Data JPA and Querydsl
How to build a search/filter functionality into a REST API with Spring and Querydsl.
REST Query Language with Spring Data JPA Specifications
How to implement a query language for a REST API using Spring Data Specifications.
REST Query Language with Spring and JPA Criteria
An introduction to implementing a simple but very useful serach/filter operation on your Spring REST APIs using JPA Criteria.
Spring JDBC
Introduction to the Spring JDBC abstraction, with example on how to use the JbdcTempalte and NamedParameterJdbcTemplate APIs.
Jackson Date
How to process dates with Jackson – marshalling and unmarshalling these to and from JSON.
Transactions with Spring and JPA
How to best set up Transactions in Spring – the configuration, Transaction Propagation and which layer should have Transactional Semantics.
Spring Events
The Basics of Events in Spring – create a simple, custom Event, publish it and handle it in a listener.
The Baeldung Weekly Review 26
Java modularity is getting some attention this week, along with a very pragmatic alternative to the “Big Rewrite” of a software system – definitely a good week.
Introduction to Spring Data JPA
Introduction to Spring Data JPA with Spring 4 – the Spring config, the DAO, manual and generated queries and transaction management.
The Baeldung Weekly Review 9
The 9h weekly review starts with the usual Spring releases and great webminars, API architecture and testing resources.
Http Message Converters with the Spring Framework
How to configure HttpMessageConverters for a REST API with Spring, and how to use these converters with the RestTemplate.
Jackson – JsonMappingException (No serializer found for class)
How to fix the Jackson 2 JsonMappingException (No serializer found for class).
Ignore Null Fields with Jackson
Ignore null fields with Jackson 2 – either globally, per class or even per field.
Serialize Only Fields That Meet a Custom Criteria With Jackson
Only serialize fields that meet your custom criteria using Jackson 2.
A Guide to JPA with Spring
Setup JPA with Spring – how to set up the EntityManager factory and use the raw JPA APIs.
Creating a Web Application with Spring 5
How to Bootstrap a Web Application with Spring and Java-based Configuration.
Error Handling for REST with Spring
Exception Handling for a REST API – illustrate the new Spring recommended approach and earlier solutions.