This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bean Copy

 
Ramanan Sathiyanarayanan
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
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 ?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic