The sessions at this year’s SpringOne conference covered a wide range of topics, everything from developer tooling to testing to reactive programming to core Spring. However, permeating the keynote and nearly all sessions was Spring Boot, Pivotal’s newest addition to the Spring ecosystem. In fact, one session was titled ‘Building Bootiful Web Applications’.
Simplifying the pom.xml
Spring Boot is aimed at simplifying Spring projects, especially the configuration. The simplification has several layers. The first layer is the pom.xml. To create a Spring Boot project (or migrate an existing one), you first need to specify the Spring Boot parent pom:
The parent pom has harmonized versions of various dependencies, including non-Spring libraries such as Hibernate. Continue reading
This series of posts builds a RESTful service that is consumed by an Angular front end. In this post we will create a RESTful web service built on Spring MVC that uses JSON. The source code for this sample application is on GitHub:
What is Spring?
Spring is an Inversion of Control (IoC) container, which means it uses Dependency Injection (DI) to provide dependencies to classes. For example, let’s say we have a class EventService that has a dependency on a Data Access Object (DAO). Here’s EventService without an IoC container: Continue reading