directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weijian Fang" ...@ecs.soton.ac.uk>
Subject Re: Is there a tool to convert LDAP data to Java bean based on schema
Date Thu, 10 May 2007 15:11:37 GMT
Thanks for your quick response!

On 10/05/07, Emmanuel Lecharny <elecharny@apache.org> wrote:
> Weijian Fang a écrit :
>
> > Hi,
>
> Hi !
>
> >
> > Is there a tool to convert LDAP data to Java bean based on LDAP
> > schema? What I want is quite like what JAXB does on XML. Given an XML
> > schema, JAXB is able to generate Java classes that translate schema
> > compliant XML to Java beans and back. Now I have a LDAP schema, and a
> > LDAP server where data complies with the scheam. I need to read LDAP
> > data and conert to Java beans. I can do this manually. But if there is
> > a tool able to automatically generate the code based on the LDAP
> > schema, it wiil be great!
>
> I haven't heard of such a tool. But this would be pretty easy to write
> one. We have a tool which converts Schema files to Ldif files, and one
> could easily create something which generates Java classes.
>
> Wanna try ?
>
Sure. Please send me the tool and possibly some doc. And please tell
me more hints on how to do it.

Thanks a lot!

Weijian


> Emmanuel
>
>

Mime
View raw message