2017年12月27日
摘要: 热部署:当发现程序修改时自动启动应用程序。 spring boot使用的是spring-boot-devtools是一个为开发者服务的一个模块。其原理用了classLoader 其中一个加载不变的类,另一个restart ClassLoader加载变得类。 devtools会监听classpath下 阅读全文
posted @ 2017-12-27 15:59 巨象 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 2. 阅读全文
posted @ 2017-12-27 15:50 巨象 阅读(915) 评论(0) 推荐(0) 编辑
摘要: http://412887952-qq-com.iteye.com/blog/2291500 阅读全文
posted @ 2017-12-27 15:08 巨象 阅读(171) 评论(0) 推荐(0) 编辑
摘要: thymeleaf 学习笔记 什么是 thymeleaf? 在后端渲染html页面方面,有多种模板引擎(JSP的替代物)可以使用(关于后端渲染/页面直出的好处,可以参考一下:Web性能优化之“直出”理论与实践总结。 实际开发或学习中,有多种模板引擎可供选择: - Thymeleaf - FreeMa 阅读全文
posted @ 2017-12-27 13:59 巨象 阅读(642) 评论(0) 推荐(0) 编辑
摘要: 较新版的Spring Boot取消了@SpringApplicationConfiguration这个注解,用@SpringBootTest就可以了 阅读全文
posted @ 2017-12-27 10:17 巨象 阅读(1058) 评论(0) 推荐(0) 编辑