You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Erik Bengtson <er...@jpox.org> on 2008/03/06 22:49:02 UTC
[Community] JPOX: LDAP and JDO, JPA
Dear,
We, JPOX a data access project, are working on an interface for LDAP via JDO
and JPA APIs.
Usage e.g. SELECT FROM Person where firstName == 'Ana'
Person.class is linked to "ou=Users,dc=example,dc=com" while attributes
mapped to fields.
We currently support 1-1 and 1-N relationships and will soon have a first
release.
We currently use Apache Directory for running our tests. If you see any
opportunity for collaboration between our projects please let us know.
Regards,
Erik Bengtson
http://jpox.org
RE: [Community] JPOX: LDAP and JDO, JPA
Posted by Erik Bengtson <er...@jpox.org>.
Hi Alex and others,
I propose to use this wiki page for specifying the features needed in the
LDAP JDO/JPA.
http://www.jpox.org/servlet/wiki/display/ENG/LDAP
To give you and others an idea how we map LDAP to Java Classes.
<http://jpox.svn.sourceforge.net/viewvc/jpox/platform/test.jdo.ldap/trunk/sr
c/resources/org/jpox/samples/directory/package.jdo?view=markup>
http://jpox.svn.sourceforge.net/viewvc/jpox/platform/test.jdo.ldap/trunk/src
/resources/org/jpox/samples/directory/package.jdo?view=markup
Since this is an initial work, the current features are open for changes.
the source repository for the implementation:
http://jpox.svn.sourceforge.net/viewvc/jpox/platform/store.ldap/trunk/
Regards,
Erik
De : akarasulu@gmail.com [mailto:akarasulu@gmail.com] De la part de Alex
Karasulu
Envoyé : vendredi 7 mars 2008 21:10
À : Apache Directory Developers List
Objet : Re: [Community] JPOX: LDAP and JDO, JPA
Thanks Kiran for the heads up. Yes I am very interested in what you're
trying to achieve. More inline ...
On Fri, Mar 7, 2008 at 3:24 AM, Kiran Ayyagari <ay...@gmail.com>
wrote:
Watch out for a mail from him.
Yep finally got to it.
On Fri, Mar 7, 2008 at 3:19 AM, Erik Bengtson <er...@jpox.org> wrote:
Dear,
We, JPOX a data access project, are working on an interface for LDAP via JDO
and JPA APIs.
Usage e.g. SELECT FROM Person where firstName == 'Ana'
Sounds like you're trying to wrap the LDAP access model around the
relational access model. There will be some pitfalls here and I wish I knew
enough to navigate them along with JDO APIs. I guess we can perhaps have
some discussion around this.
Person.class is linked to "ou=Users,dc=example,dc=com" while attributes
mapped to fields.
We currently support 1-1 and 1-N relationships and will soon have a first
release.
We currently use Apache Directory for running our tests. If you see any
opportunity for collaboration between our projects please let us know.
Yes we should collaborate. I am very interested.
Alex
Erik Bengtson
http://jpox.org
Re: [Community] JPOX: LDAP and JDO, JPA
Posted by Alex Karasulu <ak...@apache.org>.
Thanks Kiran for the heads up. Yes I am very interested in what you're
trying to achieve. More inline ...
On Fri, Mar 7, 2008 at 3:24 AM, Kiran Ayyagari <ay...@gmail.com>
wrote:
>
> Watch out for a mail from him.
>
>
Yep finally got to it.
>
> On Fri, Mar 7, 2008 at 3:19 AM, Erik Bengtson <er...@jpox.org> wrote:
>
> > Dear,
> >
> > We, JPOX a data access project, are working on an interface for LDAP via
> > JDO
> > and JPA APIs.
> >
> > Usage e.g. SELECT FROM Person where firstName == 'Ana'
> >
>
Sounds like you're trying to wrap the LDAP access model around the
relational access model. There will be some pitfalls here and I wish I knew
enough to navigate them along with JDO APIs. I guess we can perhaps have
some discussion around this.
>
> > Person.class is linked to "ou=Users,dc=example,dc=com" while attributes
> > mapped to fields.
> >
> > We currently support 1-1 and 1-N relationships and will soon have a
> > first
> > release.
> >
> > We currently use Apache Directory for running our tests. If you see any
> > opportunity for collaboration between our projects please let us know.
> >
>
Yes we should collaborate. I am very interested.
Alex
>
> > Erik Bengtson
> > http://jpox.org
> >
> >
> >
>
Re: [Community] JPOX: LDAP and JDO, JPA
Posted by Kiran Ayyagari <ay...@gmail.com>.
Hi Bengston,
This sounds great, I know Alex Karasulu has a similar idea in his mind
(last night in IRC he was explaining this) and should feel happy
after seeing your mail.
Watch out for a mail from him.
- Kiran Ayyagari
On Fri, Mar 7, 2008 at 3:19 AM, Erik Bengtson <er...@jpox.org> wrote:
> Dear,
>
> We, JPOX a data access project, are working on an interface for LDAP via
> JDO
> and JPA APIs.
>
> Usage e.g. SELECT FROM Person where firstName == 'Ana'
>
> Person.class is linked to "ou=Users,dc=example,dc=com" while attributes
> mapped to fields.
>
> We currently support 1-1 and 1-N relationships and will soon have a first
> release.
>
> We currently use Apache Directory for running our tests. If you see any
> opportunity for collaboration between our projects please let us know.
>
> Regards,
>
> Erik Bengtson
> http://jpox.org
>
>
>
Re: [Community] JPOX: LDAP and JDO, JPA
Posted by Stefan Zoerner <sz...@apache.org>.
Hi Erik!
Erik Bengtson wrote:
> We, JPOX a data access project, are working on an interface for LDAP via JDO
> and JPA APIs.
>
> Usage e.g. SELECT FROM Person where firstName == 'Ana'
>
> Person.class is linked to "ou=Users,dc=example,dc=com" while attributes
> mapped to fields.
>
> We currently support 1-1 and 1-N relationships and will soon have a first
> release.
Sounds interesting. Does this mean that you provide a JPA provider which
can be used to call an LDAP server via the javax.persistence API
(EntityMananer etc.)? With transparent persistence?
> We currently use Apache Directory for running our tests. If you see any
> opportunity for collaboration between our projects please let us know.
Not really a big thing, but is it ok to cite your usage on our testimony
page?
http://directory.apache.org/community%26resources/testimonies.html
The page is nearly a stub currently, because we simply do not collect
such usages consistently.
Greetings from Hamburg,
Stefan
---8<---
Stefan Zoerner (szoerner@apache.org)
Committer :: PMC Member
Apache Directory Project
http://directory.apache.org
Re: [Community] JPOX: LDAP and JDO, JPA
Posted by Emmanuel Lecharny <el...@gmail.com>.
Hi Erik !
Erik Bengtson wrote:
> Dear,
>
> We, JPOX a data access project, are working on an interface for LDAP via JDO
> and JPA APIs.
>
> Usage e.g. SELECT FROM Person where firstName == 'Ana'
>
> Person.class is linked to "ou=Users,dc=example,dc=com" while attributes
> mapped to fields.
>
> We currently support 1-1 and 1-N relationships and will soon have a first
> release.
>
> We currently use Apache Directory for running our tests. If you see any
> opportunity for collaboration between our projects please let us know.
>
The fact is that we really think that LDAP can be a perfect substitute
for RDBMS when manipulation complex data type and/or hierarchical data.
Many of the O/R mapping problems can simply be solved if those data can
be stored into a LDAP server, and performance can even be much better in
this case, due to the intrinsic structure of a LDAP backend.
The main problem is that LDAP protocol is really limitated, and scares a
lot of developpers. A layer like the one you are developping can help a
lot, for sure.
ADS is also implementing some features like Store procedures and
Triggers which are a major addition to the basic protocol, as you now
can process some in-server operations which were impossible to manage on
a pure LDAP server (for instance, delete cascade can be implemented this
way, otherwise you will have to do multiple requests from the client to
the server, which is overkilling).
So, yes, there are many ways we can collaborate, that's for sure !
Considering that both ADS and JPox are ASL.2 licensed, there are no
limitation I can see from the legal POV, too.
That being said, let's try to move to the next step : where do we start ? ;)
Thanks !
--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org