http://javacmlearning.blogspot.com/ |
Creating Your First Spring
Boot Application
Prerequisites:
- Java 1.8+ (http://www.oracle.com)
- Maven (https://maven.apache.org)
- IDE (Spring STS, IntelliJ, etc.)
(https://spring.io/tools)
A Project Object Model
or POM is the fundamental unit of work in Maven. It is an XML file that
contains information about the project and configuration details used by Maven
to build the project.
The minimum requirement for a POM are
the following:
§ project
root
§ modelVersion
-
§ groupId
- the id of the project's group.
§ artifactId
- the id of the artifact (project)
§ version
- the version of the artifact under the specified group
maven dependecy:
<parent>
<groupid>org.springframework.boot</groupid>
<artifactid> spring-boot-starter-parent </artifactid>
<version>1.3.0.RELEASE</version>
</parent>
Spring Boot Initializers
Web initializer
http://start.spring.io
Command line
Spring boot CLI
<groupid>org.springframework.boot</groupid>
Go to google search spring documentation
No comments:
Post a Comment
Note: only a member of this blog may post a comment.