directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Karasulu <aok...@bellsouth.net>
Subject Re: [jira] Created: (DIREVE-118) Make sure we test proper object serialization using java schema
Date Fri, 10 Dec 2004 17:28:15 GMT
Niclas Hedhman wrote:

>On Thursday 09 December 2004 13:04, Alex Karasulu (JIRA) wrote:
>  
>
>>Make sure we test proper object serialization using java schema
>>---------------------------------------------------------------
>>
>>         Key: DIREVE-118
>>         URL: http://nagoya.apache.org/jira/browse/DIREVE-118
>>     Project: Directory Eve
>>        Type: Test
>>    Reporter: Alex Karasulu
>> Assigned to: Alex Karasulu
>>     Fix For: 0.8.0
>>
>>
>>We need to figure out if object serialization within the directory works. 
>>I think it does but we need a test case to confirm.
>>    
>>
>
>Are you talking about java.io serialization, or something else?
>if ti is java.io serialization, then if you point me to the classes that 
>requires serialization, I can put in the tests as well as future-proofing 
>them for later changes.
>  
>
Hey Niclas,

Basically this is all in regard to the following RFC on a "Schema for 
Representing Java(tm) Objects in an LDAP Directory":

http://www.faqs.org/rfcs/rfc2713.html

I do believe I added the code to do this to the JNDI provider.  Let me 
get a link ....

Here this helper to JNDI Context implementations does the serialization:

https://svn.apache.org/viewcvs.cgi/incubator/directory/eve/trunk/dib/src/java/org/apache/eve/jndi/JavaLdapSupport.java?rev=111147&view=auto

This is used by the Context implementations ...

EveContext
EveDirContext
EveLdapContext

to basically serialize objects when you Context.bind() objects according 
to this RFC.

I just need test cases to figure out if this stuff works.  I guess this 
would take less time to do than writing this email ;) but if it gets you 
started on working on stuff its well worth it ;).

Alex



Mime
View raw message