
框架
文章平均质量分 91
田螺小伙丶
永远不要只是看上去很努力!所有的恐惧源自于无知!
展开
-
负载均衡SLB(转)
负载均衡SLB(转)前言在软件系统的架构设计中,对集群的负载均衡设计是作为高性能系统优化环节中必不可少的方案。负载均衡本质上是用于将用户流量进行均衡减压的,因此在互联网的大流量项目中,其重要性不言而喻。一、什么是负载均衡?早期的互联网应用,由于用户流量比较小,业务逻辑也比较简单,往往一个单服务器就能满足负载需求。随着现在互联网的流量越来越大,稍微好一点的系统,访问量就非常大了,并且系统功能也越来越复杂,那么单台服务器就算将性能优化得再好,也不能支撑这么大用户量的访问压力了,这个时候就需要使用多台机器转载 2021-02-23 16:13:31 · 313 阅读 · 0 评论 -
JPA映射关系
JPA映射关系单向一对一多对一一对多双向一对多/多对一单向一对一实体:@Entity@Table(name="tb_product")public class Product { @Id @GeneratedValue(strategy=GenerationType.IDENTITY) private Long id; private String name; @OneToO...原创 2019-10-24 14:25:01 · 202 阅读 · 0 评论 -
JPA映射关系
JPA映射关系单向一对一多对一一对多双向一对多/多对一单向一对一实体:@Entity@Table(name="tb_product")public class Product { @Id @GeneratedValue(strategy=GenerationType.IDENTITY) private Long id; private String name; @OneToO...原创 2019-10-24 14:21:57 · 301 阅读 · 0 评论 -
spring web xml配置模板
spring-web.xmlv<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmln...原创 2018-03-27 13:02:01 · 736 阅读 · 0 评论 -
spring service xml配置
spring-service.xml<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:...原创 2018-03-27 12:56:15 · 6415 阅读 · 0 评论 -
spring dao xml配置
spring-dao.xml,spring整合mybatis和redis<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-insta...原创 2018-03-27 12:46:49 · 3710 阅读 · 0 评论 -
C3P0连接池参数详解
<!--acquireIncrement:链接用完了自动增量3个。 --> <property name="acquireIncrement">3</property> <!--acquireRetryAttempts:链接失败后重新试30次。--> <property name="acquireRetryAttemp...原创 2018-03-27 12:31:26 · 266 阅读 · 0 评论 -
SpringMVC的API和Spring的官方说明文档的地址
转载地址:SpringMVC的API和Spring的官方说明文档的地址SpringMVC的API和Spring的官方说明文档的地址。1、SpringMVC的API的URL:http://docs.spring.io/spring/docs/current/javadoc-api/2、Spring的官方说明文档URL:http://docs.spring.io/spring/docs/current...转载 2018-03-19 10:42:14 · 4153 阅读 · 0 评论 -
Redis常用API-使用文档
一、Redis Client介绍1.1、简介Jedis Client是Redis官网推荐的一个面向java客户端,库文件实现了对各类API进行封装调用。Jedis源码工程地址:https://github.com/xetorthio/jedis1.2、使用Redis Client最好选用与服务端对应的版本,本例中使用Redis 2.8.19客户端使用jedi转载 2017-08-22 17:10:53 · 351 阅读 · 0 评论 -
Mybatis中的resultType和resultMap
resultType和resultMap转载 2017-08-17 18:06:17 · 326 阅读 · 0 评论