SpringBoot入门1

SpringBoot简化了Spring应用的初始搭建以及开发过程。它默认集成了Tomcat且无需打包为WAR文件,支持YAML配置,易于集成SpringMVC、MyBatis等组件,并提供了健康检查、指标监控等功能。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

初步看了一下springboot的demo,有以下几点比较直观:

1.内嵌了Tomcat 不用再打包成war包部署了。

2.配置采用YAML格式更加简洁,不用再配置繁琐的XML。

3.可以很方便集成Spring MVC、mybatis等。

官网介绍:

Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration.

Features

  • Create stand-alone Spring applications
  • Embed Tomcat, Jetty or Undertow directly (no need to deploy WAR files)
  • Provide opinionated 'starter' POMs to simplify your Maven configuration
  • Automatically configure Spring whenever possible
  • Provide production-ready features such as metrics, health checks and externalized configuration
  • Absolutely no code generation and no requirement for XML configuration

参考资源:

1.官网:https://projects.spring.io/spring-boot/

2.https://www.ibm.com/developerworks/cn/java/j-lo-spring-boot/index.html

使用 Spring Boot 快速构建 Spring 框架应用


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值