At 09:29 PM 12/26/99 -0800, you wrote:

<snip>
>OK.  But how do you make the JavaBean stuff work
>without introspection.  Maybe, I' just uninformed.
>

This is for backward compatibilty to 1.1.X

Well, I started on this but got sidetracked. We use reflection classes to
get the data, by invoking the accessors. The accessors have to be public.
Then for object creation such as retrieve.  We make the application
programmer define a constructor that takes care of creating it. I was
thinking of something like.

ApplicationObject(Hashtable initValues)

The hashtable would hold the values keyed by the attribute name of the
AttributeMap class.

For JDK 1.2 we can set up a Security Manager and temporaily bypass the
application programmer so we can get the data out or into the object.

>> 
>> > btw, I added Cursor.java under database.  Do we
>> need
>> > PersistentCursor in api?
>> >
>> 
>> the reason that it is in /api is becouse SA's white
>> paper states that:
>> "...an application programmer only need to know
>> about the folloing classes
>> to make their object persistent: PersistentObject,
>> the PersistentCriteria
>> class hierarchy, PersistentTransaction and
>> _Cursor_...", thus making up the
>> API. so i think it should stay where it is.
>
>OK.  But how about if we rename it to Cursor, as in
>Scott's paper.  Then, I just move Cursor over from
>database.
>
>- george
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>------------------------------------------------------------
>To subscribe:        [EMAIL PROTECTED]
>To unsubscribe:      [EMAIL PROTECTED]
>Problems?:           [EMAIL PROTECTED]
>
>
Jeff Prickett

Whoever loves money never has money enough;| Jeff Prickett
whoever loves wealth is never              | J2 Solutions
satsified with his income.                 | [EMAIL PROTECTED]
This too is meaningless.                   | PH:  302-945-5520
Ecclesiastes 5:10                          | Fax: 302-945-5216


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to