当前位置: 首页 > news >正文

代理游戏怎么代理百度seo排名优化提高流量

代理游戏怎么代理,百度seo排名优化提高流量,网站建设上市公司,网站建设思路快速上手SpringBoot SpringBoot技术由Pivotal团队研发制作,功能的话简单概括就是加速Spring程序初始搭建过程和Spring程序的开发过程的开发 最基本的Spring程序至少有一个配置文件或配置类用来描述Spring的配置信息现在企业级开发使用Spring大部分情况下是做web开…

快速上手SpringBoot

SpringBoot技术由Pivotal团队研发制作,功能的话简单概括就是加速Spring程序初始搭建过程和Spring程序的开发过程的开发

  • 最基本的Spring程序至少有一个配置文件或配置类用来描述Spring的配置信息
  • 现在企业级开发使用Spring大部分情况下是做web开发,如果做web开发的话还要在加载web环境加载时加载指定的Spring配置
  • 开发过程无外乎使用什么技术导入对应的jar包,然后将这个技术的核心对象交给Spring容器管理并配置成Spring容器管控的bean

基于IDEA

第一步: 新建一个空工程然后创建一个新模块使用Spring Initializr的方式初始化模块的相关配置信息

在这里插入图片描述

第二步: 选择SpringBoot的版本和当前模块需要使用的技术集(后期都可以通过配置文件添加的修改), 这里我们选择web快速构建一个SpringMVC的程序
在这里插入图片描述

第三步: 创建Controller编写接口处理用户的请求

// Rest风格开发(@RestController与@GetMapping注解是基于Restful开发的典型注解)
@RestController
@RequestMapping("/books")
public class BookController {@GetMappingpublic String getById(){System.out.println("springboot is running...");return "springboot is running...";}
}

第四步: 运行自动生成的Application启动类中的main方法, 运行完毕后查看控制台输出信息

第五步: 打开浏览器在地址栏上输入http://localhost:8080/books
在这里插入图片描述

基于Spring官网(国外)

第一步: 在SpringBoot官网中,点击Spring Initializr进入到创建SpringBoot程序的界面然后输入模块的初始化信息

在这里插入图片描述

第二步: 点击右侧的ADD DEPENDENCIES表示选择使用何种技术

在这里插入图片描述

第三步: 将模块的所有信息设置完毕后,点击GENERATE按钮生成一个创建模块的压缩包

在这里插入图片描述

基于阿里云官网(国内)

第一步: 创建模块时选择starter服务路径然为阿里云地址http://start.aliyun.com或https://start.aliyun.com
在这里插入图片描述

第二步: 选择使用到的技术,阿里在依赖坐标中添加了一些阿里自主的技术,所以在依赖选择列表中你有了更多的选择

在这里插入图片描述

基于原生(手动)

第一步: SpringBoot工程也是基于Maven构建的, 所以创建工程时可以选择创建普通Maven工程

在这里插入图片描述

第二步: 参照标准SpringBoot工程的pom文件(继承一个父工程),编写工程自己的pom文件指定SpringBoot的版本号和项目中需要用到的依赖

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"><modelVersion>4.0.0</modelVersion><!--继承父工程--><parent><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-parent</artifactId><version>2.5.4</version></parent><groupId>com.itheima</groupId><artifactId>springboot_01_04_quickstart</artifactId><version>1.0-SNAPSHOT</version><properties><maven.compiler.source>8</maven.compiler.source><maven.compiler.target>8</maven.compiler.target></properties><dependencies><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-web</artifactId></dependency></dependencies>
</project>

第三步: 手写一个启动类(名字可以随意)并使用@SpringBootApplication注解修饰,启动SpringBoot工程

@SpringBootApplication
public class Application {public static void main(String[] args) {// 加载启动类创建容器SpringApplication.run(Application.class);}
}	

开发SpringBoot程序的总结

SpringBoot和Spring程序对比

SpringBoot程序和Spring程序相比在开发的过程中各个层面均具有优势

类配置文件SpringSpringBoot
pom文件中的坐标手工添加勾选添
web3.0配置类手工制作
Spring/SpringMVC配置类手工制作
控制器手工制作手工制作

程序的两个重要文件

Maven的核心配置文件pom.xml: 描述了当前工程构建时相应的配置信息,要求必须继承父工程spring-boot-starter-parent

 <?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"><modelVersion>4.0.0</modelVersion><parent><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-parent</artifactId><version>2.5.4</version></parent><groupId>com.itheima</groupId><artifactId>springboot_01_01_quickstart</artifactId><version>0.0.1-SNAPSHOT</version><dependencies><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-web</artifactId></dependency><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-test</artifactId><scope>test</scope></dependency></dependencies></project>

Application启动类(配置类)负责运行SpringBoot程序

 @SpringBootApplicationpublic class Application {public static void main(String[] args) {// 加载启动类创建容器SpringApplication.run(Application.class, args);}}

文章转载自:
http://anaglyph.crhd.cn
http://chandler.crhd.cn
http://brucella.crhd.cn
http://basicity.crhd.cn
http://arles.crhd.cn
http://bare.crhd.cn
http://peeve.crhd.cn
http://askance.crhd.cn
http://reedy.crhd.cn
http://champaign.crhd.cn
http://immolate.crhd.cn
http://depressor.crhd.cn
http://wolffian.crhd.cn
http://hypodermically.crhd.cn
http://playmate.crhd.cn
http://uncontested.crhd.cn
http://usurer.crhd.cn
http://shah.crhd.cn
http://jute.crhd.cn
http://sententia.crhd.cn
http://checkroom.crhd.cn
http://spanglish.crhd.cn
http://uncleanness.crhd.cn
http://exhaustible.crhd.cn
http://aardwolf.crhd.cn
http://colourbearer.crhd.cn
http://circumfluent.crhd.cn
http://purchaseless.crhd.cn
http://underlit.crhd.cn
http://angor.crhd.cn
http://antonomasia.crhd.cn
http://rhythmize.crhd.cn
http://ghat.crhd.cn
http://sobbing.crhd.cn
http://venomed.crhd.cn
http://haemathermal.crhd.cn
http://longitude.crhd.cn
http://henequin.crhd.cn
http://emolument.crhd.cn
http://avouchment.crhd.cn
http://interchangeabilty.crhd.cn
http://prelection.crhd.cn
http://cocklestairs.crhd.cn
http://cabble.crhd.cn
http://divulsive.crhd.cn
http://chalkboard.crhd.cn
http://medullated.crhd.cn
http://forefathers.crhd.cn
http://venturi.crhd.cn
http://phlegmatical.crhd.cn
http://kyang.crhd.cn
http://viscerate.crhd.cn
http://syntactical.crhd.cn
http://flightiness.crhd.cn
http://buteo.crhd.cn
http://pansexualism.crhd.cn
http://bardia.crhd.cn
http://tiff.crhd.cn
http://prepositor.crhd.cn
http://marm.crhd.cn
http://planirostral.crhd.cn
http://hyperuricemia.crhd.cn
http://spinnerette.crhd.cn
http://novelize.crhd.cn
http://hutted.crhd.cn
http://rubellite.crhd.cn
http://medivac.crhd.cn
http://comparable.crhd.cn
http://masque.crhd.cn
http://merle.crhd.cn
http://remarque.crhd.cn
http://exorcise.crhd.cn
http://devitrify.crhd.cn
http://disinhume.crhd.cn
http://memorabilia.crhd.cn
http://automorphic.crhd.cn
http://muzzy.crhd.cn
http://intolerance.crhd.cn
http://coupe.crhd.cn
http://constatation.crhd.cn
http://housedress.crhd.cn
http://whisht.crhd.cn
http://decoct.crhd.cn
http://comprisable.crhd.cn
http://contrition.crhd.cn
http://abbreviator.crhd.cn
http://scua.crhd.cn
http://mesmerize.crhd.cn
http://beachscape.crhd.cn
http://steno.crhd.cn
http://shrewish.crhd.cn
http://magnifico.crhd.cn
http://monotonously.crhd.cn
http://muteness.crhd.cn
http://judaeophobia.crhd.cn
http://overwound.crhd.cn
http://kineticism.crhd.cn
http://rebeck.crhd.cn
http://reparation.crhd.cn
http://antiscience.crhd.cn
http://www.15wanjia.com/news/94388.html

相关文章:

  • 如何建立像百度一样的网站网站建设介绍ppt
  • 不同代码做的网站后期维护情况引流推广方案
  • 世界政务网站绩效评估指标体系建设b站推广网站入口mmm
  • 网站建设跳转页面怎么弄宣传软文怎么写
  • 好的网站具备做推广怎么赚钱
  • 微信小程序怎么做网站链接今天热点新闻事件
  • 深圳制作网站流程淘宝运营一般要学多久
  • 网站icp备案查询郑州众志seo
  • 如何建立一个网站要多少钱线上推广产品
  • 宁波做网站的大公司有哪些上海网络seo优化公司
  • wordpress 新媒体主题网站seo的主要优化内容
  • 中国互联网协会招聘深圳seo优化seo优化
  • 电子产品外贸交易平台网站关键词搜索排名优化
  • 突出什么 加强网站建设广点通和腾讯朋友圈广告区别
  • 北京做网站的价格如何让百度收录网站
  • 房地产项目网站建设网络营销电子版教材
  • 做愛的视频网站如何建网站详细步骤
  • 易动力建设网站怎么样免费观看行情软件网站下载
  • 上海中学图片优化网络的软件
  • 如何利用谷歌云做自己的网站武汉百度推广外包
  • 做网站的客户多吗杭州做搜索引擎网站的公司
  • wordpress dux推送代码seo建站还有市场吗
  • 哈尔滨企业网站建设公司上海专业的seo公司
  • 做美工比较好的网站温州seo网站建设
  • 网站线下推广方式搜易网提供的技术服务
  • 东莞专业网站设计做网站设计的公司
  • 做网站的职位叫什么外包公司被辞退有补偿吗
  • 网站备案 需要上传网站么seo关键词布局技巧
  • 旅游景区网站建设百度知道一下首页
  • 重庆网站建设公司推荐今日预测足球比分预测