摘要:
atitit. orm mapping cfg 映射配置(3)-------hbnt one2maney cfg 1. 建立list 1 2. 配置xml 1 3. Hibernate中Set和List的配置 1 4. Bag(结合了List与Set), 2 1. 建立list ... 阅读全文
posted @ 2014-07-30 20:10
attilaxAti
阅读(177)
评论(0)
推荐(0)
摘要:
atitit. orm mapping cfg 映射配置(3)-------hbnt one2maney cfg 1. 建立list 1 2. 配置xml 1 3. Hibernate中Set和List的配置 1 4. Bag(结合了List与Set)... 阅读全文
posted @ 2014-07-30 20:10
attilaxAti
阅读(29)
评论(0)
推荐(0)
摘要:
atitit.架构设计---方法调用结果使用异常还是返回值 1. 应该返回BOOL类型还是异常 1 2. 最终会有四种状况,抛出异常、返回特殊值、阻塞、超时 1 3. 异常的优缺点点 1 4. java BlockingQueue的提示 2 5. 方案::... 阅读全文
posted @ 2014-07-30 20:08
attilaxAti
阅读(34)
评论(0)
推荐(0)
摘要:
atitit.架构设计---方法调用结果使用异常还是返回值 1. 应该返回BOOL类型还是异常 1 2. 最终会有四种状况,抛出异常、返回特殊值、阻塞、超时 1 3. 异常的优缺点点 1 4. java BlockingQueue的提示 2 5. 方案::两个都使用,一个api返回bool,... 阅读全文
posted @ 2014-07-30 20:07
attilaxAti
阅读(354)
评论(0)
推荐(0)
摘要:
atitit.解决net.sf.json.JSONException There is a cycle in the hierarchy 1. 环境:使用hibernate4跟个,,要不个哪的对象系列化成个json的时候儿有这个问题了... 1 2. 原因... 阅读全文
posted @ 2014-07-30 20:07
attilaxAti
阅读(35)
评论(0)
推荐(0)
摘要:
atitit.解决net.sf.json.JSONException There is a cycle in the hierarchy 1. 环境:使用hibernate4跟个,,要不个哪的对象系列化成个json的时候儿有这个问题了... 1 2. 原因::hb默认的lazy 方式造成的... 阅读全文
posted @ 2014-07-30 20:06
attilaxAti
阅读(204)
评论(0)
推荐(0)
摘要:
atitit. java queue 队列体系and自定义基于数据库的队列总结o7t 1. 阻塞队列和非阻塞队列 1 2. java.util.Queue接口, 1 3. ConcurrentLinkedQueue 2 4. BlockingQueue阻... 阅读全文
posted @ 2014-07-30 20:04
attilaxAti
阅读(28)
评论(0)
推荐(0)
摘要:
atitit. java queue 队列体系and自定义基于数据库的队列总结o7t 1. 阻塞队列和非阻塞队列 1 2. java.util.Queue接口, 1 3. ConcurrentLinkedQueue 2 4. BlockingQueue阻塞队列 2 4.1. 1. Arra... 阅读全文
posted @ 2014-07-30 20:03
attilaxAti
阅读(292)
评论(0)
推荐(0)
摘要:
atitit.web 推送实现方案集合 1. 俩中模式 Push/Pull 1 2. 需要实现的特性 2 2.1. 推送消息广播。 2 2.2. 推送定向消息。 2 2.3. 提供连接上线前、上线、下线前、下线、发送消息等多种可处理事件。 2 2.4. 消息缓存机制,确保长轮询工作模式下不丢... 阅读全文
posted @ 2014-07-30 19:58
attilaxAti
阅读(188)
评论(0)
推荐(0)
摘要:
atitit.web 推送实现方案集合 1. 俩中模式 Push/Pull 1 2. 需要实现的特性 2 2.1. 推送消息广播。 2 2.2. 推送定向消息。 2 2.3. 提供连接上线前、上线、下线前、下线、发送消息等多种可处理事件。 2 2.4. 消... 阅读全文
posted @ 2014-07-30 19:58
attilaxAti
阅读(30)
评论(0)
推荐(0)

浙公网安备 33010602011771号