This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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 ?
 
 
subject: Bean Copy
 
Similar Threads
Business Delegate in JEE5
JSF / EJB architecture
Violation of Separation of Concerns
Club Business Delegate with Command Pattern, pros-cons
How do you structure your JSF application code?