aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Bean Copy" Watch "Bean Copy" New topic
Author

Bean Copy

Ramanan Sathiyanarayanan
Greenhorn

Joined: Dec 20, 2005
Posts: 11
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
 
subject: Bean Copy
 
Similar Threads
Club Business Delegate with Command Pattern, pros-cons
JSF / EJB architecture
How do you structure your JSF application code?
Business Delegate in JEE5
Violation of Separation of Concerns