Earlier we created our first Spring Data JPA repository that provides CRUD operations for todo entries. Although that is a good start, that doesn't help us to write real life applications because we have no idea how we can query information from the database by using custom search criteria. One way to find information from […] Read More about Spring Data JPA Tutorial: Introduction to Query Methods
Category: Programming / Spring Framework (5 / 13)
Spring From the Trenches: Returning Git Commit Information as JSON
There are situations when we must know the exact version of our web application that is deployed to a remote server. For example, a customer might want to know if we have already deployed a bug fix to the server X. We can, of course, try to find an answer to that question by using […] Read More about Spring From the Trenches: Returning Git Commit Information as JSON
Spring From the Trenches: Returning Runtime Configuration as JSON
If we need to figure out the runtime configuration of a Spring web application that is deployed to a remote server, we need to the read the properties file found from the remote server. This is cumbersome. Luckily, there is a better way. This blog post describes how we can Write the runtime configuration to […] Read More about Spring From the Trenches: Returning Runtime Configuration as JSON
Spring From the Trenches: Injecting Property Values Into Configuration Beans
Spring Framework has a good support for injecting property values found from properties files into bean or @Configuration classes. However, if we inject individual property values into these classes, we will face some problems. This blog post identifies these problems and describes how we can solve them. Let’s get started. If you use Spring Boot, […] Read More about Spring From the Trenches: Injecting Property Values Into Configuration Beans
Creating a REST API With Spring Boot and MongoDB
This year I greeted Christmas in a different fashion: I was a part of the Java Advent Calendar. Let's boot up for Christmas: Spring Boot is an opinionated framework that simplifies the development of Spring applications. It frees us from the slavery of complex configuration files and helps us to create standalone Spring applications that […] Read More about Creating a REST API With Spring Boot and MongoDB
Spring Data JPA Tutorial: Getting the Required Dependencies
Before we can create an application that uses Spring Data JPA, we need to get the required dependencies. This blog post identifies the required components and describes how we can get them by using Maven. Let's get started. Additional Reading: If you are not familiar with Spring Data JPA, you should read the following blog […] Read More about Spring Data JPA Tutorial: Getting the Required Dependencies