在Java中存在另一种替换DTO模式的模式? [英] exist another pattern to replace DTO patern in java?

查看:226
本文介绍了在Java中存在另一种替换DTO模式的模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好那里

我被分配了一个使用顾客DTO的项目java,但我咨询了它(dto)废弃数据传输对象有多恶意 dto模式是否弃用



存在另外一个你会推荐的赞助人吗?



我来自Entity Frame-w和c#world存在的存储库和工作单元模式



注意:我必须使用JAx RS Web服务...

Hello there
I am assigned a project java where the patron DTO is used, but I consulted it that is (dto) disused how evil are data transfer objects or is dto pattern deprecated or not

exist another patron that you will recommend?

I come from Entity Frame-w and c# world where exist repository and unit of work pattern

Note: I have to use JAx RS web service...

推荐答案

另请参阅: http://en.wikipedia.org / wiki / Data_transfer_object [ ^ ]。



本文解释了模式的动机及其误用适用于与远程API无关的情况。



-SA


这篇关于在Java中存在另一种替换DTO模式的模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆