[ 
https://issues.apache.org/jira/browse/DIRSTUDIO-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12537711
 ] 

David Jencks commented on DIRSTUDIO-232:
----------------------------------------

There are also numerous efforts such as jdo, jpa, hibernate, OJB, ...... that 
attempt to provide POJOs with rdbms backing.  That may not be a lot harder to 
implement and perhaps would be a lot easier to use.

In my triplesec branch I developed something conceptually related to JPA or JDO 
to provide POJO like data objects backed by ldap.  Its fairly flexible but 
currently requires you to write the classes by hand.  I don't think it would be 
all that hard to write an enhancer to modify pojos to be backed by a system 
like this.

maven project including the code:
https://svn.apache.org/repos/asf/directory/sandbox/djencks/triplesec-jacc2/admin-api2

package:
org.apache.directory.triplesec.admin.persistence

> DAO Generator
> -------------
>
>                 Key: DIRSTUDIO-232
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-232
>             Project: Directory Studio
>          Issue Type: New Feature
>            Reporter: Christine Koppelt
>            Priority: Minor
>
> The Data Access Object (DAO) design pattern offers a method for seperating 
> the access to data from the underlying data stores. One of the disadvantages 
> of this patter is, that the implementation requires a lot of code to be 
> written.
> There already exists some code generators which generate java code for 
> accessing data from RDBMS according to this pattern. For example: 
> http://mdaog.sourceforge.net/.
> It would be quite cool to add such a DAO code generator to Studio for 
> accessing data from LDAP servers.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to