|
From: katentim @hotmail.c. <kat...@ho...> - 2004-09-09 22:40:16
|
There's also a question of handling errors without transactions in LDAP. Would the implementation be to throw something like DataAccessException and just roll back other transactional resources? Rod Johnson wrote: >Olivier > >I think it would be good to have LDAP support. It's a question of >bandwidth, >and what Spring developers/contributors need to work with and what people >have asked for... A contribution would be most welcome. > >Rgds >Rod > >-----Original Message----- >From: spr...@li... >[mailto:spr...@li...] On Behalf Of >Olivier Jolly >Sent: 08 September 2004 21:15 >To: spr...@li... >Subject: [Springframework-developer] Dao implementation with ldap > >Hi all, > I would like to know whether the dao variants have reached the ldap >domain. I mean, there is much work done for jdbc, ibatis, hibernate but I >don't recall anything about ldap on the source tree. Is it a >philosophical/technique choice or just a lack of will/time to do so ? In >the >later case, I'd be glad to attempt to provide a high level piece of code >leveraving jndi to access ldap in a way similar (in term of ease) as jdbc. > Regards > >Olivier Jolly > > >------------------------------------------------------- >This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java >Enterprise >J2EE developer tools! >Get your free copy of BEA WebLogic Workshop 8.1 today. >http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 >Project Admins to receive an Apple iPod Mini FREE for your judgement on >who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: >Sept. 13. Go here: http://sf.net/ppc_contest.php _________________________________________________________________ In the market for a car? Buy, sell or browse at CarPoint: http://server-au.imrworldwide.com/cgi-bin/b?cg=link&ci=ninemsn&tu=http://carpoint.ninemsn.com.au?refid=hotmail_tagline |
|
From: katentim @hotmail.c. <kat...@ho...> - 2004-09-11 01:42:28
|
My 2 cents. I probably wouldn't try to push LDAP into a SQL like API, given that there's a JNDI API built into Java (which is also fundamentally different). Spring should leverage off this. If transactions were implemented, it would be nice to make the tx manager pluggable like Spring JDBC - so maybe it can't be left to a later time. A first implementation could be to provide connections using IoC and and just convert checked exceptions to the Spring DAO exception hierarchy, and maybe provide Templates to remove the JNDI plumbing code. James Cook wrote: >Here are a couple interesting products. They both seem to be commercial. > >http://developer.novell.com/ndk/ldapjdbc.htm >http://www.softmillennium.com/softmillennium/products/LdapJdbcDriver/index.j >sp > >It doesn't appear that either offer transactional support. > > >>-----Original Message----- >>From: spr...@li... >>[mailto:spr...@li...] On Behalf >>Of katentim @hotmail.com >>Sent: Thursday, September 09, 2004 6:40 PM >>To: spr...@li... >>Subject: [Springframework-developer] RE: Dao implementation with ldap >> >>There's also a question of handling errors without transactions in LDAP. >> >>Would the implementation be to throw something like DataAccessException >>and >>just roll back other transactional resources? >> >>Rod Johnson wrote: >> >>>Olivier >>> >>>I think it would be good to have LDAP support. It's a question of >>>bandwidth, >>>and what Spring developers/contributors need to work with and what people >>>have asked for... A contribution would be most welcome. >>> >>>Rgds >>>Rod >>> >>>-----Original Message----- >>>From: spr...@li... >>>[mailto:spr...@li...] On Behalf >> >>Of >> >>>Olivier Jolly >>>Sent: 08 September 2004 21:15 >>>To: spr...@li... >>>Subject: [Springframework-developer] Dao implementation with ldap >>> >>>Hi all, >>> I would like to know whether the dao variants have reached the ldap >>>domain. I mean, there is much work done for jdbc, ibatis, hibernate but I >>>don't recall anything about ldap on the source tree. Is it a >>>philosophical/technique choice or just a lack of will/time to do so ? In >>>the >>>later case, I'd be glad to attempt to provide a high level piece of code >>>leveraving jndi to access ldap in a way similar (in term of ease) as >> >>jdbc. >> >>> Regards >>> >>>Olivier Jolly >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java >>>Enterprise >>>J2EE developer tools! >>>Get your free copy of BEA WebLogic Workshop 8.1 today. >>>http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >>>_______________________________________________ >>>Springframework-developer mailing list >>>Spr...@li... >>>https://lists.sourceforge.net/lists/listinfo/springframework-developer >>> >>> >>> >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 >>>Project Admins to receive an Apple iPod Mini FREE for your judgement on >>>who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: >>>Sept. 13. Go here: http://sf.net/ppc_contest.php >> >>_________________________________________________________________ >>In the market for a car? Buy, sell or browse at CarPoint: >>http://server-au.imrworldwide.com/cgi- >>bin/b?cg=link&ci=ninemsn&tu=http://carpoint.ninemsn.com.au?refid=hotmail_t >>agline >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 >>Project Admins to receive an Apple iPod Mini FREE for your judgement on >>who ports your project to Linux PPC the best. Sponsored by IBM. >>Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php >>_______________________________________________ >>Springframework-developer mailing list >>Spr...@li... >>https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 >Project Admins to receive an Apple iPod Mini FREE for your judgement on >who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: >Sept. 13. Go here: http://sf.net/ppc_contest.php _________________________________________________________________ FREE* Month of Movies with FOXTEL Digital: http://adsfac.net/link.asp?cc=FXT002.7542.0 |
|
From: Olivier J. <oli...@pc...> - 2004-09-11 08:09:36
|
katentim @hotmail.com wrote > My 2 cents. > > I probably wouldn't try to push LDAP into a SQL like API, given that > there's a JNDI API built into Java (which is also fundamentally > different). Spring should leverage off this. I had personally no intention of allowing an ldap access with an sql syntax. > If transactions were implemented, it would be nice to make the tx > manager pluggable like Spring JDBC - so maybe it can't be left to a > later time. I have no experience in the tx management (except some classic jdbc/jdo transaction coding, but never jta), so I may need help if this is ever implemented. > A first implementation could be to provide connections using IoC and > and just convert checked exceptions to the Spring DAO exception > hierarchy, and maybe provide Templates to remove the JNDI plumbing code. That's exactly what I'll do. I just wanted to take this saturday to read in depth the Chap9 of 1:1 J2EE Design and Development because beginning some real stuff, knowing that I recently faced some ldap coding at work which were solved with framework like approach. I want to use my little experience in it to build a homemade version for integrating into spring. Olivier |
|
From: Olivier J. <oli...@pc...> - 2004-09-10 07:19:26
|
katentim @hotmail.com wrote: > There's also a question of handling errors without transactions in LDAP. > > Would the implementation be to throw something like > DataAccessException and just roll back other transactional resources? I was thinking about this, indeed. Should we try to simulate transactions by, for instance, storing the reverse delta of what we're actually performing so that a rollback could go back ? It still isn't a good solution as it doesn't preserve the isolation property of transactions. It can still help in some situations. Else, we can do the contrary and only stores changes on a commit, while intercepting calls to ldap function to overwrite the result by our temporary transaction data. The naive, non transactional, approach seemed the most natural to me as we don't "pervert" the nature of ldap storage and let the developer chooses his data support knowing its strengths and weaknesses. Still, if there is a need for something more sophisticated, I'll be glad to try my best to incorporate it. Regards Olivier |
|
From: James C. <jim...@do...> - 2004-09-10 13:53:43
|
Here are a couple interesting products. They both seem to be commercial. http://developer.novell.com/ndk/ldapjdbc.htm http://www.softmillennium.com/softmillennium/products/LdapJdbcDriver/inde= x.j sp It doesn't appear that either offer transactional support. > -----Original Message----- > From: spr...@li... > [mailto:spr...@li...] On = Behalf > Of katentim @hotmail.com > Sent: Thursday, September 09, 2004 6:40 PM > To: spr...@li... > Subject: [Springframework-developer] RE: Dao implementation with ldap >=20 > There's also a question of handling errors without transactions in = LDAP. >=20 > Would the implementation be to throw something like = DataAccessException > and > just roll back other transactional resources? >=20 > Rod Johnson wrote: > >Olivier > > > >I think it would be good to have LDAP support. It's a question of > >bandwidth, > >and what Spring developers/contributors need to work with and what = people > >have asked for... A contribution would be most welcome. > > > >Rgds > >Rod > > > >-----Original Message----- > >From: spr...@li... > >[mailto:spr...@li...] On = Behalf > Of > >Olivier Jolly > >Sent: 08 September 2004 21:15 > >To: spr...@li... > >Subject: [Springframework-developer] Dao implementation with ldap > > > >Hi all, > > I would like to know whether the dao variants have reached the = ldap > >domain. I mean, there is much work done for jdbc, ibatis, hibernate = but I > >don't recall anything about ldap on the source tree. Is it a > >philosophical/technique choice or just a lack of will/time to do so ? = In > >the > >later case, I'd be glad to attempt to provide a high level piece of = code > >leveraving jndi to access ldap in a way similar (in term of ease) as > jdbc. > > Regards > > > >Olivier Jolly > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java > >Enterprise > >J2EE developer tools! > >Get your free copy of BEA WebLogic Workshop 8.1 today. > >http://ads.osdn.com/?ad_id=3D5047&alloc_id=3D10808&op=3Dclick > >_______________________________________________ > >Springframework-developer mailing list > >Spr...@li... > = >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > > > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > >Project Admins to receive an Apple iPod Mini FREE for your judgement = on > >who ports your project to Linux PPC the best. Sponsored by IBM. = Deadline: > >Sept. 13. Go here: http://sf.net/ppc_contest.php >=20 > _________________________________________________________________ > In the market for a car? Buy, sell or browse at CarPoint: > http://server-au.imrworldwide.com/cgi- > = bin/b?cg=3Dlink&ci=3Dninemsn&tu=3Dhttp://carpoint.ninemsn.com.au?refid=3D= hotmail_t > agline >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement = on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer |