context object vs. DTO: a new fuzzy line

jiganghao 2003-12-12 03:08:41
just finished context object pattern, which is new on core j2ee patterns, edition 2.

the authors claimed the difference between them lies in that:
context object is to share system info in a protocol-neutral way. DTO is to reduce remote network overhead.

while in the examples, especially the request context object, we seems their similarity to DTO, or at least, VO.

I'd rather limit the concept of context object to just config object.

any idea?
...全文
42 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

50,544

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧