permaculture playing cards*
The moose likes Other Open Source Projects and the fly likes Using org.apache.commons.beanutils.BeanUtils? 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 » Products » Other Open Source Projects
Bookmark "Using org.apache.commons.beanutils.BeanUtils?" Watch "Using org.apache.commons.beanutils.BeanUtils?" New topic
Author

Using org.apache.commons.beanutils.BeanUtils?

Amandeep Singh
Ranch Hand

Joined: Jul 17, 2008
Posts: 844
To clone a object instance, so that new instance doesn't refers to each other. I stumbled upon this utility class BeanUtils.



I've tested this, it works good. I found out this the most easy way of doing object cloning, without getting into writting multuple get/set calls on new object instance.

I would like to see other folks expereience with this utlity and is recommened by all.


SCJP 1.4, SCWCD 5, SCBCD 5, OCPJWSD 5,SCEA-1, Started Assignment Part 2
My blog- http://rkydesigns.blogspot.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using org.apache.commons.beanutils.BeanUtils?
 
Similar Threads
how to pass an object 'byvalue'
Loading POJO object without loading library first
seam remoting: can I pass a pojo FROM a client TO a session bean?
Initializing an object for reuse
java program to convert pojo object to pojo xml