Regarding Database Independence

R

Ravi Shankar

Hi all,

I have an application which retrieves data from Oracle database. How can I
make the application generic in such a way that it can take data from LDAP
server?

Thanks and regards,
Ravi
 
H

Herman Timmermans

Ravi said:
Hi all,

I have an application which retrieves data from Oracle database. How can I
make the application generic in such a way that it can take data from LDAP
server?

Thanks and regards,
Ravi

ravi,
you might want to look at the following link :
http://www.openldap.org/jdbcldap/
The JDBC-LDAP Bridge Driver (JDBC-LDAP) enable you to create Java
applications that can access information held in directories. The driver
should appeal to Java developers who prefer to use SQL and JDBC.

Brgds, Herman
 
D

David Baer

Ravi:
create an abstract super class DBConnection where you declare all methods.
then create implementations for each db-type (oracle...) you want to connect
to.

this way you have db-indepencency...

david
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top