Details

      Description

      It would be nice to add Object to LDAP persistence tooling to Apache Directory Studio.

      The tooling should support two scenarios:
      1st) Based on an existing directory tree and schema the domain model and persistence code (DAOs) should be generated. The idea is to select an example entry in the LDAP Browser, right-click, and generate the code into an Eclipse Java project.
      2nd) Based on an existing domain model (e.g. Java classes) an LDAP schema and persistence code (DAOs) should be generated. The idea is to select a package in the Eclipse Package Explorer, right-click, and generate the code.

      A special challenge will be the support of object relationships, e.g. Departments-Users-Groups-Roles-Permissions. In LDAP such relationships are often implemented using hierarchies, DN references, or attribute references.

      The main focus should be the generation of Java code. However it would be nice if the code generators would be pluggable to make it possible to create code for different languages (Scala, C#, etc.). It would also be nice to support different persistence engines, for example plain JNDI, the Apache LDAP API, or DataNucleus.

        Activity

        Hide
        Kasun Lakpriya added a comment -
        • Here I have attached the work I have done during my GSoC program(2010) with my mentor Stefan Seelmann and Apache Directory Community.
        • To continue working on this in Directory I have signed an ICLA and got the confirmation saying "ICLA has been filed".
        • Current tooling still only supports the (1st) scenario mentioned above.
        Show
        Kasun Lakpriya added a comment - Here I have attached the work I have done during my GSoC program(2010) with my mentor Stefan Seelmann and Apache Directory Community. To continue working on this in Directory I have signed an ICLA and got the confirmation saying "ICLA has been filed". Current tooling still only supports the (1st) scenario mentioned above.
        Hide
        Stefan Seelmann added a comment -
        Show
        Stefan Seelmann added a comment - Thanks Kasun, I imported the code to https://svn.apache.org/repos/asf/directory/sandbox/studio-persistence-tooling
        Hide
        Stefan Seelmann added a comment -

        GSoC project is finished. Code has been imported into SVN sandbox. Closing this issue.

        Show
        Stefan Seelmann added a comment - GSoC project is finished. Code has been imported into SVN sandbox. Closing this issue.

          People

          • Assignee:
            Stefan Seelmann
            Reporter:
            Stefan Seelmann
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development