Spring Boot | Getting Started
Inhaltsverzeichnis
Introduction
Spring makes programming Java quicker, easier, and safer for everybody. Spring’s focus on speed, simplicity, and productivity has made it the world’s most popular Java framework.
Required Software
Java
Spring recommend AdoptOpenJDK version 8 or version 11.
Eclipse
Eclipse IDE for Enterprise Java Developers
Sprint Tools | 4
Create a new App from CLI
Create a starter app using spring.io
from the commandline
$ curl https://start.spring.io/starter.zip -d language=java -d dependencies=web,mustache,jpa,h2,devtools -d packageName=com.example.blog -d name=Blog -o blog.zip
Working with Maven
Build App | ./mvnw clean package |
Run App | ./mvnw spring-boot:run |
Tipps and Tricks
Change App Port Number
Add line to file src/main/resources/application.properties
server.port=9010
Learning Path
Start with the following tutorials / guides:
- Spring Quickstart Guide
- Building a RESTful Web Service
- Consuming a RESTful Web Service
- Accessing Data with JPA
See Also
- Building a RESTful Web Service
- Consuming a RESTful Web Service
- Consuming a RESTful Web Service with AngularJS
- Consuming a RESTful Web Service with jQuery
- Consuming a RESTful Web Service with rest.js
- Accessing GemFire Data with REST
- Accessing MongoDB Data with REST
- Accessing data with MySQL
- Accessing JPA Data with REST
- Accessing Neo4j Data with REST
- Securing a Web Application
- Building an Application with Spring Boot
Leave a Reply