Category: Spring

In this post we will explore using Spring Boot’s default logging framework, Logback. Logback makes an excellent logging framework for enterprise applications. It’s fast, and has simple but powerful configuration options, and comes with a small memory footprint. I introduced logback in my introductory post, Logback Introduction: An Enterprise Logging Framework. In a series of […]Continue reading

Similar to accompanying application development activities, such as unit testing and documentation, logging is an integral part of any enterprise application. And Spring Boot applications are no different. Through logging, you get to see what the Spring Boot application code is really doing during monitoring, troubleshooting, and debugging. Spring Boot makes using a logging framework […]Continue reading

This time last year the website Spring Framework Guru did not exist. It was just an idea I had. I was listening to Trevor Page being interviewed on a podcast with John Lee Dumas in November of 2014 when I had the idea for this site. Trevor, if you’re reading this, yes, you totally inspired me […]Continue reading

Spring Boot makes it extremely convenient for programmers to quickly develop Spring applications using an in-memory database, such as H2, HSQLDB, and Derby. These databases are lightweight, easy to use, and emulates other RDBMS with the help of JPA and Hibernate. Obviously, they don’t provide persistent storage; but they a fast way to test persistent functions […]Continue reading

In the 1.3.0 release of Spring Boot and new module is available called Spring Boot Developer Tools. This new Spring Boot module is aimed at improving developer productivity in building Spring Web Applications. When you’re developing a web application in Java, or really any programming language, a common workflow is to code, compile, deploy, and then […]Continue reading

Core to the Spring Framework is a concept of bean factories. Spring bean factories follow the concepts of the GoF Factory Design Pattern to provide the requestor fully configured objects. Under the covers when the Spring Framework is performing dependency injection on your beans, Spring itself will use bean factories to obtain a fully configured […]Continue reading

During the creation of Spring Beans, you can obtain the name of the bean by implementing the Spring interface – BeanNameAware. Then during the creation of Spring beans, the Spring Context will inject the name it has set for the bean. This is the name the Spring Bean factory will use as a reference to […]Continue reading