Stella981 Stella981
3年前
Spring Boot项目使用maven
springbootassembly1.在springboot项目中使用mavenprofiles和mavenassembly插件根据不同环境打包成tar.gz或者zip2.将springboot项目中的配置文件提取到外部config目录中3.将springboot项目中
Stella981 Stella981
3年前
Spring Boot devtool的使用
SpringBootdevtool的使用SpringBoot为我们提供了一个便捷的开发SpringBoot应用程序的环境,同时为了方便我们的开发SpringBoot应用程序,SpringBoot推出了SpringBootdevtool的工具来方便我们更加快速的开发和测试SpringBoot应用程序。我们将会从下面几个方面来详细讲解
Stella981 Stella981
3年前
Spring Boot(七):RabbitMQ 详解
一、RabbitMQ简介RabbitMQ即一个消息队列,主要是用来实现应用程序的异步和解耦,同时也能起到消息缓冲,消息分发的作用。消息中间件在互联网公司的使用中越来越多,消息中间件最主要的作用是解耦,中间件最标准的用法是生产者生产消息传送到队列,消费者从队列中拿取消息并处理,生产者不用关心是谁来消费,消费者不用关心谁在生产消息,从而达到解耦的
Stella981 Stella981
3年前
Spring Boot 访问静态资源
在SpringBoot项目中没有我们之前常规web开发的WebContent(WebApp),它只有src目录。在src/main/resources下面有两个文件夹,static和templates。SpringBoot默认在static目录中存放静态页面,而templates中放动态页面。1static目录
Stella981 Stella981
3年前
Spring Boot + Elasticsearch 使用示例
本文分别使用ElasticsearchRepository和ElasticsearchTemplate实现Elasticsearch的简单的增删改查一、ElasticStackElasticStack是ELKStack在5.0版本加入Beats套件后的新称呼1.Elasti
Stella981 Stella981
3年前
Spring Boot 项目工程模板
https://github.com/Sopage/springbootbasis(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fgithub.com%2FSopage%2Fspringbootbasis)感谢提供帮助资料的每位同行!同时希望有兴趣的朋友提交
Stella981 Stella981
3年前
Spring Boot 之 Redis详解
Redis是目前业界使用最广泛的内存数据存储。Redis支持丰富的数据结构,同时支持数据持久化。Redis还提供一些类数据库的特性,比如事务,HA,主从库。REmoteDIctionaryServer(Redis)是一个由SalvatoreSanfilippo写的keyvalue存储系统。!(http://img3.imgtn.
Stella981 Stella981
3年前
Spring Boot 2.1.6 发布了!
!(https://oscimg.oschina.net/oscnet/e5aaab7a5b9f4aa7a944b00aff253ed2.jpg)Java技术栈www.javastack.cn优秀的Java技术公众号(https://www.oschina.net/action/GoToLink?urlhttps%3
Stella981 Stella981
3年前
Spring Boot 知识图谱
如何学习好SpringBoot,如何快速入门,我觉得最好的方法就是自己跟着写代码,写完再发布到自己的博客系统中。教会别人写代码。这样你会思考很多。所以就有了本篇,SpringBoot知识图谱,虽然这里可能不是最全的应用,但我会不定期的增加一些知识点进去。就当一个学习库,一个知识收藏夹,大家喜欢的可以在我的 https://github.com/fi
Stella981 Stella981
3年前
Spring Boot日志框架实践
!CASIOGSHOCK(http://uploadimages.jianshu.io/upload_images/98242471da5cd24b2cf0ada.jpg?imageMogr2/autoorient/strip%7CimageView2/2/w/1240)注:本文首发于My公众号CodeSheep