上一页 1 2 3 4 5 6 7 8 9 10 ··· 24 下一页

2018年12月18日

Spring Data JPA 梳理 - JPA与“Spring、Spring Data JPA”的关系

摘要: Spring 框架对 JPA 提供的支持主要体现在如下几个方面: 首先,它使得 JPA 配置变得更加灵活。JPA 规范要求,配置文件必须命名为 persistence.xml,并存在于类路径下的 META-INF 目录中。该文件通常包含了初始化 JPA 引擎所需的全部信息。Spring 提供的 Lo 阅读全文

posted @ 2018-12-18 22:06 手握太阳 阅读(307) 评论(0) 推荐(0) 编辑

Spring Data JPA 梳理 - JPA是什么

摘要: 总结: 本文最新版已更新至:http://thinkinside.tk/2012/12/30/JPA.html JPA定义了Java ORM及实体操作API的标准。本文摘录了JPA的一些关键信息以备查阅。 如果有hibernate的基础,通过本文也可以快速掌握JPA的基本概念及使用。 Table o 阅读全文

posted @ 2018-12-18 21:55 手握太阳 阅读(1706) 评论(0) 推荐(0) 编辑

2018年12月15日

Spring boot 梳理 - 配置eclipse集成maven,并开发Spring boot hello

摘要: @RestController @EnableAutoConfiguration public class App { @RequestMapping("/hello") public HashMap hello(){ HashMap result=new HashMap(); result.put("name", "jt"); ... 阅读全文

posted @ 2018-12-15 22:18 手握太阳 阅读(169) 评论(0) 推荐(0) 编辑

2018年12月12日

Apache和Tomcat 配置负载均衡(mod-proxy方式)-粘性session

摘要: Tomcat集群配置后端Tomcat Server为支持AJP的独立服务,前端Apache配置为粘性会话(sticky-session),Tomcat不配置Cluster配置和Session复制。 配置Tomcat1的server.xml 修改: Tomcat配置文件server.xml代码 为: 阅读全文

posted @ 2018-12-12 21:38 手握太阳 阅读(1251) 评论(0) 推荐(0) 编辑

Apache和Tomcat 配置负载均衡(mod-proxy方式)-无session共享、无粘性session

摘要: 转:https://blog.csdn.net/wangjunjun2008/article/details/38268483 mod-proxy方式实现负载均衡是利用了Apache 2.x版本自带的mod_proxy模块使用代理技术来连接Tomcat; http_proxy模式基于HTTP协议,要 阅读全文

posted @ 2018-12-12 21:17 手握太阳 阅读(402) 评论(0) 推荐(0) 编辑

2018年12月10日

Spring boot 官网学习笔记 - Using Spring Boot without the Parent POM,但是还要使用Parent POM提供的便利

摘要: If you do not want to use the spring-boot-starter-parent, you can still keep the benefit of the dependency management (but not the plugin management) by using a scope=import dependency, as follows: ... 阅读全文

posted @ 2018-12-10 22:16 手握太阳 阅读(534) 评论(0) 推荐(0) 编辑

Maven 梳理 - Maven中的dependencyManagement 意义

摘要: 1.在Maven中dependencyManagement的作用其实相当于一个对所依赖jar包进行版本管理的管理器。 2.pom.xml文件中,jar的版本判断的两种途径 1:如果dependencies里的dependency自己没有声明version元素,那么maven就 会倒dependenc 阅读全文

posted @ 2018-12-10 21:58 手握太阳 阅读(336) 评论(0) 推荐(0) 编辑

Spring boot 官网学习笔记 - 开发第一个Spring boot web应用程序(使用mvn执行、使用jar执行)

摘要: 关于spring-boot-starter-parent:You should need to specify only the Spring Boot version number on this dependency. If you import additional starters, you 阅读全文

posted @ 2018-12-10 21:29 手握太阳 阅读(283) 评论(0) 推荐(0) 编辑

2018年12月9日

Spring boot 官网学习笔记 - Spring Boot CLI 入门案例

摘要: 安装CLI https://repo.spring.io/release/org/springframework/boot/spring-boot-cli/2.1.1.RELEASE/spring-boot-cli-2.1.1.RELEASE-bin.zip 解压后即可使用,免安装。解压位置 F:\tool\java\spring-boot-cli-2.1.1.RELEASE-bin\sprin... 阅读全文

posted @ 2018-12-09 21:54 手握太阳 阅读(349) 评论(0) 推荐(0) 编辑

Spring 梳理 - WebMvcConfigurerAdapter详解

摘要: 参考:https://blog.csdn.net/weixin_43453386/article/details/83623242 阅读全文

posted @ 2018-12-09 13:54 手握太阳 阅读(261) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 10 ··· 24 下一页

导航