Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Bean Copy  RSS feed

Ramanan Sathiyanarayanan
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In an N-Tier architecture, we will be having seperate beans corresponding to that layer. For eg, in the below architecutre,

Web MVC <--> Business Service <--> DAO <--> ORM <--> DataSource.

In thie arch, we will having simple java beans (which has simple getXX and setXX methods for data holders) in each tier. Say in web mvc we will be having visual objects, in business service we will be having business objects and in DAO layers we be having some ORM impl objects.

In this arch, there will be huge chunk of copying data from one bean (in one layer) to another bean (in the other layer).

My question is,
1. Is there any tools which copies the data from one bean to other. Currently i am looking into BeanUtil from Apache. But is there any other tool to do so. Is that tool configurable ?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!