Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Regarding Database Independence

Reply
Thread Tools

Regarding Database Independence

 
 
Ravi Shankar
Guest
Posts: n/a
 
      10-23-2003
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


 
Reply With Quote
 
 
 
 
Herman Timmermans
Guest
Posts: n/a
 
      10-23-2003
Ravi Shankar wrote:

> 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
--------------------------------------------------------------------------------------------
Suse Linux Professional 8.1 on Athlon 1.1 Ghz 512 Mb
Anti Spam = remove the "dot" and the "at"
Registered Linux User #264690
 
Reply With Quote
 
 
 
 
David Baer
Guest
Posts: n/a
 
      10-23-2003
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
Ravi Shankar wrote:

> 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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Database Database Database Database scott93727@gmail.com Computer Information 0 09-27-2012 02:43 AM
DataBase DataBase DataBase DataBase scott93727@gmail.com Computer Information 0 09-26-2012 09:40 AM
Browser Independence ? ASP.NET 2.0 hangar18 ASP .Net 2 04-02-2006 05:08 PM
[announce]Celebrate Independence Day with Stylus Studio Stylus Studio Java 1 06-30-2005 10:16 PM
OT: Britain revokes Declaration of Independence catwalker63 MCSE 18 11-24-2004 08:07 PM



Advertisments