Creating a simple application
Now that we have a basic idea of the starters that are available to us, let's go ahead and create our application template at http://start.spring.io.
How to do it...
The application that we are going to create is a book catalog management system. It will keep a record of books that were published, who the authors were, the reviewers, publishing houses, and so forth. We will name our project BookPub
, and apply the following steps:
- First let's switch to the full version by clicking the link below theÂ
Generate Project alt +
button - Choose
Gradle Project
at the top - Use
Spring Boot
versionÂ2.0.0(SNAPSHOT)
- Use the default proposed
Group
name:com.example
- Enter
bookpub
for anArtifact
field - Provide
BookPub
as aName
for the application - Specify
com.example.bookpub
as ourPackage Name
- Select
Jar
asPackaging
- Use
Java Version
as8
- Select the
H2
,JDBC
, andJPA
starters from theSearch for dependencies
 selection so that we can get the needed artifacts in ourbuild
file to connect to...