The Artima Developer Community
Sponsored Link

Web Buzz Forum
How to copy bean properties with a single line of code

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Vineet Manohar

Posts: 114
Nickname: vineetmano
Registered: Mar, 2009

Vineet Manohar is an entrepreneur / Senior Java Developer with 12 years of industry experience
How to copy bean properties with a single line of code Posted: Aug 30, 2010 11:26 PM
Reply to this message Reply

This post originated from an RSS feed registered with Web Buzz by Vineet Manohar.
Original Post: How to copy bean properties with a single line of code
Feed Title: Vineet Manohar's blog » web 2.0
Feed URL: http://www.vineetmanohar.com/category/web20/feed/
Feed Description: Web 2.0: trends, tips and tricks! Google, Google analytics, Javascript, AJAX, SEO and more...
Latest Web Buzz Posts
Latest Web Buzz Posts by Vineet Manohar
Latest Posts From Vineet Manohar's blog » web 2.0

Advertisement
This article shows how to copy multiple properties from one bean to another with a single line of code, even if the property names in the source and target beans are different. Copying properties from one bean is quite common especially if you are working with a lot of POJOs, for example working with JAXB [...] Related posts:
  1. JAXB code snippets for beginners
  2. Calling a static method from EL
  3. 2 ways to convert Java Map to String

Read: How to copy bean properties with a single line of code

Topic: Amethyst Professional Now Available Previous Topic   Next Topic Topic: Company of Heroes Online Starting Open Beta Next Week

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use