随笔分类 -  spring

摘要:代码示例: @Slf4j @Service @RabbitListener(queues = {"${spring.events.[event.product.product_price_changed].queue}"}, concurrency = "1", containerFactory = 阅读全文
posted @ 2022-06-20 10:41 junneyang 阅读(369) 评论(0) 推荐(0) 编辑
摘要:#https://blog.csdn.net/chenqipc/article/details/53322830#https://github.com/spring-cloud/spring-cloud-netflix/issues/2030#https://github.com/spring-cl 阅读全文
posted @ 2018-06-05 23:19 junneyang 阅读(190) 评论(0) 推荐(0) 编辑
摘要:package com.laplace.laplace.common.starter.config; import java.io.IOException; import org.slf4j.Logger;import org.slf4j.LoggerFactory;import org.sprin 阅读全文
posted @ 2018-06-04 12:57 junneyang 阅读(2346) 评论(0) 推荐(0) 编辑
摘要:/* * http://412887952-qq-com.iteye.com/blog/2348445 * http://www.jb51.net/article/106558.htm * https://my.oschina.net/xiaominmin/blog/1607747 */ publi 阅读全文
posted @ 2018-06-04 12:04 junneyang 阅读(1171) 评论(0) 推荐(0) 编辑
摘要:#https://stackoverflow.com/questions/24074749/spring-boot-cannot-determine-embedded-database-driver-class-for-database-type#https://github.com/spring- 阅读全文
posted @ 2018-05-31 23:55 junneyang 阅读(4971) 评论(0) 推荐(0) 编辑
摘要:我的Springboot框架,欢迎关注: https://github.com/junneyang/common-web-starter Dubbo-大波-服务化框架 我的Springboot框架,欢迎关注: https://github.com/junneyang/common-web-start 阅读全文
posted @ 2017-04-19 16:42 junneyang 阅读(5401) 评论(0) 推荐(2) 编辑
摘要:Spring 框架给企业软件开发者提供了常见问题的通用解决方案,包括那些在未来开发中没有意识到的问题。但是,它构建的 J2EE 项目变得越来越臃肿,逐渐被 Spring Boot 所替代。Spring Boot 让我们创建和运行项目变得更为迅速,现在已经有越来越多的人使用它。我们已经在几个项目中使用 阅读全文
posted @ 2017-02-22 18:39 junneyang 阅读(2177) 评论(0) 推荐(0) 编辑
摘要:示例代码: https://github.com/junneyang/springcloud-demo 参考资料: SpringCloud系列 SpringCloud SpringCloud 1 Eclipse/Maven 1 Eclipse/Maven 1.1 https://github.com 阅读全文
posted @ 2017-02-09 12:09 junneyang 阅读(6778) 评论(0) 推荐(0) 编辑
摘要:Spring Cloud 和Kubernetes都自称自己是部署和运行微服务的最好环境,但是它们在本质上和解决不同问题上是有很大差异的。在本文中,我们将看到每个平台如何帮助交付基于微服务的架构(MSA),它们擅长哪个领域,并且如何两全其美的使用从而在微服务之旅上获得成功。 背景 最近我读了 A. L 阅读全文
posted @ 2017-02-07 16:25 junneyang 阅读(2669) 评论(1) 推荐(1) 编辑
摘要:SpringCloud-微服务相关资料 阅读全文
posted @ 2017-01-14 10:55 junneyang 阅读(977) 评论(0) 推荐(0) 编辑
摘要:参考资料: http://www.tuicool.com/articles/mqeee2A http://www.cnblogs.com/suncj/p/4065589.html http://spring.io/guides/gs/spring-boot/ mvn spring-boot:run 阅读全文
posted @ 2016-12-15 15:15 junneyang 阅读(402) 评论(0) 推荐(0) 编辑
摘要:7、Spring整合MVC框架 7.1、web环境中使用Spring 7.2、整合MVC框架 目标:使用Spring管理MVC的Action、Controller 最佳实践参考:http://www.itnose.net/detail/6102205.html http://wenku.baidu. 阅读全文
posted @ 2016-03-09 09:54 junneyang 阅读(233) 评论(0) 推荐(0) 编辑
摘要:6、Spring整合Hibernate 6.1、准备工作 6.2、示例 com.xcloud.entities.book com.xcloud.dao.book com.xcloud.service.book com.xcloud.utils.exception 阅读全文
posted @ 2016-03-09 09:43 junneyang 阅读(272) 评论(0) 推荐(0) 编辑
摘要:5、Spring支持事务处理 5.1、事务准备 以上代码结构与AOP的前置通知、返回通知、异常通知、后置通知一样。 5.2、声明式事务 5.2.1、基于注解 5.2.2、基于配置文件 5. 3、事务传播属性 5.4、事务其他属性 5.4.1、事务的隔离级别 5.4.2、事物的回滚属性 5.4.3、超 阅读全文
posted @ 2016-03-09 09:41 junneyang 阅读(292) 评论(0) 推荐(0) 编辑
摘要:4、Spring支持JDBC 4.1、使用JdbcTemplate简化JDBC开发 也可以这么用(不推荐): 4.2、使用NamedParameterJdbcTemplate 阅读全文
posted @ 2016-03-09 09:39 junneyang 阅读(217) 评论(0) 推荐(0) 编辑
摘要:3、Spring AOP 3.1、AOP概述 3.2、前置通知 3.3、后置通知 3.4、返回通知、异常通知、环绕通知 3.5、指定切面优先级 3.6、重用切入点表达式 3.7、引入通知 3.8、基于配置文件实现AOP 阅读全文
posted @ 2016-03-09 09:37 junneyang 阅读(220) 评论(0) 推荐(0) 编辑
摘要:2、bean的配置 2.1、IOC概述 2.2、bean的获取 2.3、依赖注入方式 2.4、属性注入细节 内部bean,不需要ID,ID无效,外部不能引用: 2.5、集合属性注入 2.6、使用p命名空间 比较简洁的方式: 2.6、自动装配 2.7、bean之间的依赖关系 这里指的是配置上的依赖关系 阅读全文
posted @ 2016-03-09 09:32 junneyang 阅读(351) 评论(0) 推荐(0) 编辑
摘要:概述 阅读全文
posted @ 2016-03-09 09:28 junneyang 阅读(171) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示