commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james_strac...@yahoo.co.uk>
Subject [DynaBean] a couple of other existing projects...
Date Wed, 02 Jan 2002 17:29:47 GMT
Here's a couple of other projects I've stumbled on which might help design
discussions on DynaBeans. They tackle similar things; if nothing else it
might be useful to describe what DynaBeans isn't as both of these projects
have different aims.

I stumbled across the niggle project recently (thanks to Geir's JavaWorld
article). If you look in the Javadoc here

http://www.niggle.org/api/index.html

at the Record interface in org.oreodata here

http://www.niggle.org/api/org/oreodata/package-summary.html

it looks very similar to the current DynaBean proposal though it adds
support for primary keys and immutable records. It also has a
RecordDescriptor, which is like the DynaClass.

It also has is a FieldDescriptor which allows specialised Fields to be
implemented and which encapsulates the knowledge of how to convert to and
from strings and JDBC types, how to normalize values and perform validation
etc.

e.g. here's some default implementations of DateField, TimeZoneField,
EmailField etc.

http://www.niggle.org/api/org/oreodata/metadata/package-summary.html


This 'Record has Fields' kind of model is similar to the Barracuda model,
which uses the class 'Form' rather than Record.

http://barracuda.enhydra.org/cvs_source/Barracuda/docs/forms/forms_brief.gif
http://barracuda.enhydra.org/cvs_source/Barracuda/docs/forms/high_level_over
view.html

James


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message