DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2005
    Posts
    17

    Is JDBC still the Java standard for DB connections ?

    I am wondering if JDBC is still the Java standard for making a database connection. I ask because is seems that JDBC still looks very much like the old ODBC. I used to use ODBC for all my DB connections, but in my latest .Net 2.0 project I use ADO.Net for all my database requests.
    I know the ADO.Net class is a much better and a much more secure method for making DB requests and updates. Is there something equivalent to ADO in the Java world ?

    Thank you,
    Bob
    New York

  2. #2
    Join Date
    Dec 2005
    Posts
    21
    What does ADO.NET do that JDBC 3.0 doesn't?

  3. #3
    Join Date
    Dec 2005
    Posts
    17
    I'm fairly new to Java and the J2EE platform, so at this point I cannot say that ADO.Net necessarily does anything more or better than JDBC.
    I do know that Ado.Net is a wrapper class around the OLEDB connection technology; it is certainly more secure than ODBC in that it does not expose the command string when executing a procedure or query on the backend.
    It is also an improvement over the previous ADO class and its RecordSet, where there was limited support for a disconnected environment. Ado.Net now supports in-memory tables.

    Anyhow, I will just continue doing research in order to understand data access in Java.

  4. #4
    Join Date
    Dec 2005
    Posts
    48
    Yes,JDBC4.0 will come with jdk 1.6 soon.That means jdbc is still a standard for database. although you can use hibernate , jdo or cmp.but all of them are based on JDBC

Similar Threads

  1. Java vs. .Net. A questionnaire
    By Basil in forum .NET
    Replies: 1
    Last Post: 05-13-2005, 06:46 AM
  2. java jdbc connection on w2k, Oracle8i, JDK1.3
    By frest in forum oracle.general
    Replies: 0
    Last Post: 05-01-2001, 07:33 AM
  3. Java Enterprise And Standard Edition
    By Saiful in forum Java
    Replies: 2
    Last Post: 09-28-2000, 12:07 PM
  4. Re: VB vs. Visual Age for Java
    By JJ in forum Enterprise
    Replies: 1
    Last Post: 07-06-2000, 04:50 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links