Java开发网 |
注册 |
登录 |
帮助 |
搜索 |
排行榜 |
发帖统计
|
您没有登录 |
» Java开发网 » Design Pattern & UML
打印话题 寄给朋友 订阅主题 |
作者 | Re:关于 Fast-Lane Reader 模式 [Re:jameszhang] |
emarket
亢龙有诲 CJSDN高级会员 发贴: 460 积分: 82 |
于 2004-10-27 13:09
Core J2EE Pattern 2nd p56里面有所提及,CMP 被 force CMT, 而 Transaction 对 read only data 简直就是浪费,Using an entity bean as a read-only object simply wastes expensive resources and result in unnecessary update transactions to persistent store. this is due to the invocation of ejbStore() methods by the container during teh entity bean's life cycle. Since the container has no way of knowing if the data was changed during a method invocation, it must assume that it has and invoke the ejbStore. Thus, the container make no distinction between read-only and read-write entity beans. 虽然某些container 提供 read-only entity beans, 当时J2EE spec 没有定义,所以这些属于私有实现。 jameszhang wrote: 个人Blog http://agilespeaking.blogspot.com/ |
话题树型展开 |
人气 | 标题 | 作者 | 字数 | 发贴时间 |
14228 | 关于 Fast-Lane Reader 模式 | jameszhang | 220 | 2004-10-23 10:39 |
11561 | Re:关于 Fast-Lane Reader 模式 | tongang | 120 | 2004-10-26 23:59 |
10721 | Re:关于 Fast-Lane Reader 模式 | emarket | 217 | 2004-10-27 13:11 |
11156 | Re:关于 Fast-Lane Reader 模式 | tongang | 116 | 2004-10-26 23:59 |
10682 | Re:关于 Fast-Lane Reader 模式 | jameszhang | 31 | 2004-10-27 11:10 |
10734 | Re:关于 Fast-Lane Reader 模式 | emarket | 910 | 2004-10-27 13:09 |
10680 | Re:关于 Fast-Lane Reader 模式 | jameszhang | 99 | 2004-10-27 13:39 |
11750 | Re:关于 Fast-Lane Reader 模式 | emarket | 269 | 2004-10-31 12:41 |
已读帖子 新的帖子 被删除的帖子 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |