https://github.com/shiru99/spring-boot
Spring Boot Intro
https://github.com/shiru99/spring-boot
spring-boot
Last synced: about 1 month ago
JSON representation
Spring Boot Intro
- Host: GitHub
- URL: https://github.com/shiru99/spring-boot
- Owner: Shiru99
- Created: 2021-07-07T06:12:13.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-18T11:08:45.000Z (almost 5 years ago)
- Last Synced: 2025-06-07T05:36:30.582Z (about 1 year ago)
- Topics: spring-boot
- Language: Java
- Homepage:
- Size: 2.86 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring-Boot
## Spring Vs Spring-boot Vs Spring MVC
### Spring Framework
Spring Framework is the most popular application development framework of Java. The main feature of the Spring Framework is dependency Injection or Inversion of Control (IoC). With the help of Spring Framework, we can develop a loosely coupled application. It is better to use if application type or characteristics are purely defined
### Spring Boot
Spring Boot is a module of Spring Framework. It allows us to build a stand-alone, production-grade spring based application with minimal or zero configurations. It is better to use if we want to develop a simple Spring-based application or RESTful services.
Spring Boot makes it easy to quickly bootstrap and start developing a Spring-based application. It avoids a lot of boilerplate code. It hides a lot of complexity behind the scene so that the developer can quickly get started and develop Spring-based applications easily.
### Spring MVC
Spring MVC is a Web MVC Framework for building web applications. It contains a lot of configuration files for various capabilities. It is an HTTP oriented web application development framework. Spring MVC is a model view controller-based web framework under the Spring framework.
---
### Problem with Spring
* Huge framework
* Multiple setup steps
* Multiple configuration setup
* Multiple build & deploy steps
Spring Boot overcomes all these issues
---
* [Common Application Properties](https://docs.spring.io/spring-boot/docs/current/reference/html/application-properties.html)
---
## Packaging & Running Spring Boot App
Packaging :
```
$ mvn clean install
```
Running :
```
$ java -jar jarName.jar
```
for WAR file :
```
pom.xml : war
```