Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML
 
 
Hot Web Programming Job

 

Tutorial Categories: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML

[an error occurred while processing this directive]

Java Notes

Database Engines

To use a database system from Java use the JDBC classes, which allow your program to use either a local data base or one located over the Internet.

To package a database engine with your program, you might consider one of the many Java open-source options linked to below.

Because communication with the database is with a standard protocol (JDBC), Java programs can use databases written in any language, so there is no need to restrict your choices to those written in Java.

If you don't want to interact directly with standard SQL, but instead use a more OOP friendly interface that will still use an underlying relational database, you might want to use Hibernate (see below).

References

  • Open Source Database Engines in Java (java-source.net/open-source/database-engines) has an excellent list of databases written in Java. Two of the favorites are.
  • There are many free databases that are not written in Java, but which provide JDBC interfaces. Two top choices are below, but there are many others.
    • PostgreSQL - (www.postgresql.org), Open-source.
    • MySQL - (www.mysql.com), Open-source.
  • Hibernate is a very interesting framework that fits between your program and a database, and eases the mismatch between your program's OOP view of the data, and the relational view that is supported by most databases. This is a very popular, well respected, open-source program. (www.hibernate.org).
  • jGuru: JDBC 2.0 Fundamentals (java.sun.com/developer/onlineTraining/Database/JDBC20Intro) is a nice introduction to JDBC. A slight problem with this tutorial is that it uses Cloudscape, IBM's former Java database. The only issue is the initial connection to those specific JDBC drivers -- it is otherwise database independent. Altho IBM no longer supports Cloudscape, it has donated it as open source to the the Apache Foundation, where it is now called Derby.

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

0 comments so far (
post your own) View All Comments Latest 10 Comments:
  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification

Tell A Friend
Your Friend Name
Search Tutorials

 

 
 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2007. All rights reserved.