-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: If not Dynabeans
PostPosted: Fri Dec 05, 2003 1:15 pm 
Regular
Regular

Joined: Mon Oct 20, 2003 3:14 am
Posts: 53
Location: Sterling, VA, USA
Any thoughts on replacing DynaBean support with this something like this?

http://sourceforge.net/projects/dynclass/
http://dynclass.sourceforge.net/

It creates *real* beans on the fly that anything else (read: CGLIB) accepts as such.

This particular example piqued my interest.

Code:
Map map = ...;
Object bean = BeanCreator.createBeanFromMap(map);
// keys in map are now JavaBeans properties on bean

_________________
"A statistician is a mathmetician, broken down by age and sex".


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 05, 2003 1:52 pm 
CGLIB Developer
CGLIB Developer

Joined: Thu Aug 28, 2003 1:44 pm
Posts: 1217
Location: Vilnius, Lithuania
Yes, it is fun, but map itself is more light weight data structure than classes(class GC, synchronized cache, verify, resolve, link, access control and wrapped primityves any way). cgib supports this kind of generator too, but do not overuse this kind of tools, KISS.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.