[Opensource] [FUTURE OF DB OBJECTS]

Peter A. J. Pilgrim peterp at xenonsoft.demon.co.uk
Mon Nov 11 18:26:22 PST 2002


Michael Rimov wrote:
> Ok, so it seems like people mainly want to keep the DBObject.getFieldInt 
> kind of method calls.  I agree with Peter P that we need a base class 
> Object.  Out of curiousity,  to make things more like a 'dynabean' how 
> about:
> 
> public Object get(String fieldName);
> public void put(String fieldName, Object newObject);
> 
> as the signature of the generic getter/setter methods??

+1 Yes, as I was about to suggest this idea. I have to look
up the syntax of the Struts Bean tag for dyna beans in Struts 1.1 Beta
I think it is  ``bean[fieldName]'' rather than
``bean.property[fieldName]''

-- 
Peter Pilgrim
ServerSide Java Specialist

My on-line resume and for interview videos about myself, J2EE
Open Source, Struts and Expresso.
    ||
    \\===>  `` http://www.xenonsoft.demon.co.uk/no-it-striker.html ''




More information about the Opensource mailing list