Hi Weijian,
Weijian Fang wrote:
Hi,
SNIP > I need to read LDAP
data and convert 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!
We are working on a DAS for LDAP (See Tuscany RDB DAS) This tool will be able to start with an XML Schema, write the corresponding LDAP Schema, and perform CRUD with SDO DataGraph instances (Effectively object graphs where each object has a change summary for fast updates, etc.) So you will be able to go from XML Schema to LDAP. If you write a tool that generates the XML Schema from the LDAP Schema, then you have what you are searching for, once the DAS is complete. You will be able to go from/to XML Schema/LDAP Schema, and have a Apache Licensed (Tuscany) or Eclipse Licensed (EMF) SDO API to work with. We are hanging on some Exceptions with the new Schema Capabilities new in 1.5.0, so it may be a little while before the DAS is done, but once these are cleared, it should go very quickly. Cheers, - Ole
