[OJB-developers] AW: [Fwd: OJB over LDAP]
Brought to you by:
thma
From: Mahler T. <tho...@it...> - 2002-01-14 13:05:13
|
Hi Alex, >Hi Thomas, >I'm working on a Java <-> LDAP (JNDI) mapping tool and was thinking = >to use >your PB for the tool's kernel. >Do you think that it is a reasonable and possible thing to do?=20 >If yes what PB parts should be extended or added?=20 >Does abstract query may be extended to support non SQL syntax? I think it will be easy to use the abstract syntax as defined by the ojb.broker.query package for LDAP too. You just need a translator that translates these expressions into LDAP queries. We have done exactly that in a project at my company. I don't believe that there are a lot other things that might be reused for an LDAP access in OJB. The PersistenceBrokerImpl is focussed on JDBC and nothing else. But: you might consider to let you tool implement the PersistenceBroker interface! This way OJB could be used to transparently serve relational databases AND Ldap servers. HTH, Thomas >Thank you in advance, >Alex Grivnin |