File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Bean Copy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Bean Copy" Watch "Bean Copy" New topic

Bean Copy

Ramanan Sathiyanarayanan

Joined: Dec 20, 2005
Posts: 11
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:
subject: Bean Copy
It's not a secret anymore!