Java: Merge 2 “beans” to produce a new one

跟風遠走 提交于 2019-12-07 23:59:28

Dozer is a nice bean mapping tool. However, it won't perform any business logic, of course.

I should not be a problem to implement a business logic and to rely on Dozer for bean mapping. This is what I would do.

Neither of the tools provides business logic - also it has to be implemented somehow. Bean utils are goot to access bean properties with standard notation. You may try groovy to implement business logic with nice syntax.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!