大橙子网站建设,新征程启航
为企业提供网站建设、域名注册、服务器等服务
1.什么是SpringBoot
创新互联公司主营三亚网站建设的网络公司,主营网站建设方案,app开发定制,三亚h5成都小程序开发搭建,三亚网站营销推广欢迎三亚等地区企业咨询
Spring Boot是由Pivotal团队提供的全新框架,其设计目的是用来简化新Spring应用的初始搭建以及开发过程。该框架使用了特定的方式来进行配置,
从而使开发人员不再需要定义样板化的配置。通过这种方式,Spring Boot致力于在蓬勃发展的快速应用开发领域(rapid application development)成为领导者。
2.SpringBoot特性
1).创建独立的Spring项目
2).内置Tomcat和Jetty容器
3).提供一个starter POMs来简化Maven配置
4).提供了一系列大型项目中常见的非功能性特性,如安全、指标,健康检测、外部配置等
5).完全没有代码生成和xml配置文件
3.SpringBoot运行环境
Spring Boot最新版可以运行在Java6+的环境下,但是Spring官方建议使用Java8。
4.Servlet 容器
Name | Servlet Version |
---|---|
Tomcat 8.5 | 3.1 |
Jetty 9.4 | 3.1 |
Undertow 1.3 | 3.1 |
5.SpringBoot支持哪些应用
Table 1》. spring Boot application starters
Name | Description |
---|---|
| Starter for building MVC web applications using Thymeleaf views |
| Starter for using Couchbase document-oriented database and Spring Data Couchbase |
| Starter for JMS messaging using Apache Artemis |
| Starter for using Spring Web Services |
| Starter for using Java Mail and Spring Framework's email sending support |
| Starter for using Redis key-value data store with Spring Data Redis and the Jedis client |
| Starter for using MongoDB document-oriented database and Spring Data MongoDB Reactive |
| Starter for building web, including RESTful, applications using Spring MVC. Uses Tomcat as the default embedded Container |
| Starter for JMS messaging using Apache ActiveMQ |
| Starter for using Elasticsearch search and analytics engine and Spring Data Elasticsearch |
| Starter for using Spring Integration |
| Starter for testing Spring Boot applications with libraries including JUnit, Hamcrest and Mockito |
| Starter for building WebFlux applications using Spring Framework's Reactive Web support |
| Starter for using JDBC with the Tomcat JDBC connection pool |
| Starter for building web applications using Spring Mobile |
| Starter for using Java Bean Validation with hibernate Validator |
| Starter for building hypermedia-based RESTful web application with Spring MVC and Spring HATEOAS |
| Starter for building RESTful web applications using JAX-RS and Jersey. An alternative to |
| Starter for using Neo4j graph database and Spring Data Neo4j |
| Starter for using Spring Data LDAP |
| Starter for building WebSocket applications using Spring Framework's WebSocket support |
| Starter for aspect-oriented programming with Spring AOP and AspectJ |
| Starter for using Spring AMQP and Rabbit MQ |
| Starter for using Cassandra distributed database and Spring Data Cassandra |
| Starter for using Spring Social Facebook |
| Starter for JTA transactions using Atomikos |
| Starter for using Spring Security |
| Starter for building MVC web applications using Mustache views |
| Starter for using Spring Data JPA with Hibernate |
| Core starter, including auto-configuration support, logging and YAML |
| Starter for building MVC web applications using Groovy Templates views |
| Starter for building MVC web applications using FreeMarker views |
| Starter for using Spring Batch |
| Stater for using Spring Social LinkedIn |
| Starter for using Spring Framework's caching support |
| Starter for using the Apache Solr search platform with Spring Data Solr |
| Starter for using MongoDB document-oriented database and Spring Data MongoDB |
| Starter for using jOOQ to access SQL databases. An alternative to |
| Spring Boot Narayana JTA Starter |
| Starter for using Spring Cloud Connectors which simplifies connecting to services in cloud platforms like Cloud Foundry and Heroku |
| Starter for JTA transactions using Bitronix |
| Starter for using Spring Social Twitter |
| Starter for exposing Spring Data repositories over REST using Spring Data REST |
Table 2》. Spring Boot production starters
Name | Description |
---|---|
| Starter for using Spring Boot's Actuator which provides production ready features to help you monitor and manage your application |
Table 3》. Spring Boot technical starters
Name | Description |
---|---|
| Starter for using Undertow as the embedded servlet container. An alternative to |
| Starter for using Jetty as the embedded servlet container. An alternative to |
| Starter for using Reactor Netty as the embedded reactive HTTP server. |
| Starter for logging using Logback. Default logging starter |
| Starter for using Tomcat as the embedded servlet container. Default servlet container starter used by |
| Starter for using Log4j2 for logging. An alternative to |
以上所述是小编给大家介绍的Spring Boot 简介(入门篇),希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对创新互联网站的支持!