springboot 实现机器学习_SpringBoot架构浅谈
发布日期:2021-06-24 17:54:18 浏览次数:2 分类:技术文章

本文共 2896 字,大约阅读时间需要 9 分钟。

1) Spring Boot使编码变简单

2) Spring Boot使配置变简单

3) Spring Boot使部署变简单

4) Spring Boot使监控变简单

5) Spring Boot的不足

下面说一下Spring Boo的在平台中的定位,以及如何与相关的技术想融合

1) SpringBoot与SEDA +MicroService + RESTful

2) SpringBoot与Mock

然后再来看一看采用了这个 SpringBoot之后,技术的管理应该如何做

SpringBoot是伴随着Spring4.0诞生的;

从字面理解,Boot是引导的意思,因此SpringBoot帮助开发者快速搭建Spring框架;

SpringBoot帮助开发者快速启动一个Web容器;

SpringBoot继承了原有Spring框架的优秀基因;

SpringBoot简化了使用Spring的过程

那么应该如何使用SpringBoot到实践当中呢?

首先来说一说starter *的pom依赖

使用SpringBoot开发时,在pom.xml文件中引入的依赖一般都是形如spring-boot-starter-*。starter依赖是居于某个场景或者功能的,我们引入一个starter依赖之后,它会间接引入实现这个场景或功能所需的其他依赖。我们可以把这些starters称为场景启动器,只需要在项目里面引入这些starter相关场景的所有依赖都会导入进来。要用什么功能就导入什么场景的启动器。这里以spring-boot-starter-web为例分析。

org.springframework.boot

spring-boot-starter-web

spring-boot-starter-web的间接依赖

我们来看下spring-boot-starter-web的pom文件,它定义了一个父类spring-boot-starters

org.springframework.boot

spring-boot-starters

1.5.4.RELEASE

spring-boot-starter-web

Spring Boot Web Starter

http://projects.spring.io/spring-boot/

Pivotal Software, Inc.

http://www.spring.io

${basedir}/../..

spring-boot-starters的打包类型为pom,它定义好了SpringBoot中所有的starter,同时它的父类为spring-boot-parent

org.springframework.boot

spring-boot-parent

1.5.4.RELEASE

../spring-boot-parent

spring-boot-starters

pom

Spring Boot Starters

Spring Boot Starters

http://projects.spring.io/spring-boot/

Pivotal Software, Inc.

http://www.spring.io

${basedir}/..

spring-boot-starter

spring-boot-starter-activemq

spring-boot-starter-amqp

spring-boot-starter-aop

spring-boot-starter-artemis

spring-boot-starter-batch

spring-boot-starter-cache

spring-boot-starter-cloud-connectors

spring-boot-starter-data-cassandra

spring-boot-starter-data-couchbase

spring-boot-starter-data-elasticsearch

spring-boot-starter-data-gemfire

spring-boot-starter-data-jpa

spring-boot-starter-data-ldap

spring-boot-starter-data-mongodb

spring-boot-starter-data-neo4j

spring-boot-starter-data-redis

spring-boot-starter-data-rest

spring-boot-starter-data-solr

spring-boot-starter-freemarker

spring-boot-starter-groovy-templates

spring-boot-starter-hateoas

spring-boot-starter-integration

spring-boot-starter-jdbc

spring-boot-starter-jersey

spring-boot-starter-jetty

spring-boot-starter-jooq

spring-boot-starter-jta-atomikos

spring-boot-starter-jta-bitronix

spring-boot-starter-jta-narayana

spring-boot-starter-logging

spring-boot-starter-log4j2

spring-boot-starter-mail

spring-boot-starter-mobile

spring-boot-starter-mustache

spring-boot-starter-actuator

spring-boot-starter-parent

spring-boot-starter-security

spring-boot-starter-social-facebook

spring-boot-starter-social-twitter

spring-boot-starter-social-linkedin

spring-boot-starter-remote-shell

spring-boot-starter-test

spring-boot-starter-thymeleaf

spring-boot-starter-tomcat

spring-boot-starter-undertow

spring-boot-starter-validation

spring-boot-starter-web

spring-boot-starter-websocket

spring-boot-starter-web-services

引用:www.imooc.com/article/274147?block_id=tuijian_wz

转载地址:https://blog.csdn.net/weixin_34237125/article/details/112951141 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:oss批量上传工具_OssExplorer一OSS的专用客户端工具【最新版】_Windows_Windows server 2008-云市场-阿里云...
下一篇:arcgis符号方向_ArcGIS制图表达-河流渐变与符号旋转

发表评论

最新留言

很好
[***.229.124.182]2024年04月17日 07时02分59秒