Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamic Beans: Such a thing?

 
Alex Yip
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyone heard of dynamic beans? I think it's called dynabeans.

Or is there a way to dynamically generate a bean without all that typing? Any ideas or suggestions?

Thanks.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DynaBeans are part of Jakarta Commons-BeanUtil library.
It allows you to add properties dynamically to a bean.

http://jakarta.apache.org/commons/beanutils/apidocs/org/apache/commons/beanutils/package-summary.html#dynamic
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic