directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@apache.org>
Subject Re: Is there a tool to convert LDAP data to Java bean based on schema
Date Thu, 10 May 2007 15:00:04 GMT
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 ?

Emmanuel


Mime
View raw message