Skip to main content

Java Database


Hello guys. This is a simple Java program to connect it on a database(acess..ODBC). I wrote this during our midterm exam in my java class. I hope u like it, u can modify it if you want! =)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Submitted bycedon Mon, 01/11/2010 - 15:49

thank you shaik =) hope u like it
Submitted bysuspect777on Thu, 01/14/2010 - 23:18

try to use methods in every transactions to make it simple. =)
Submitted byAnonymous (not verified)on Wed, 01/20/2010 - 13:22

In reply to by suspect777

its so simple =) methods? dont think so! no need =) hehe

actually sir yes u can make metnods in every transaction to make the code clearer somethng like this..... /* This Java program will print out a series of lines of text. The class Two has a main method (where the execution will start) and several other methods, some of which are called */ public class Two { public static void beginner() { System.out.println("This is my starter"); System.out.println("Still in my starter"); } public static void main(String[] args) { // Starts execution here System.out.println("A program to exercise the Java tools"); beginner(); another(); System.out.println("Message from main"); another(); } public static void noway() { // No calls to this one System.out.println("This will not happen"); } public static void another() { System.out.println("I am here"); } } .... =) but it was so simple even a new programmer in java can undrstand it =) anyways, that was my pastime code when i was at first year =) salamat sa suggestion... modify mo kung gusto moh =)

download mo ung codes co my nakalagay dun na read me.. basahin mo un may steps don.. eto nga =) wahhh parehas tayo 3rdyear heheh peru sa java 2ndyear ako non depende kung anong OS gamit mo basata sa control panel tayo=) XP 1.control panel (switch to classic) 2. select the administrative tools data sources(ODBC) 4. under the user DSN tab click the (add button) 5. select driver [microsoft access driver(*.mdb)] click finish 6. under the database grupbox click "select" and look for your database click OK then CREATE. thats it=) sana nakatolong =)

natry ko na yung porgram mo..i really appreciated it..gawa ka ng same program,,pero using AWT/Swing naman para mas maapreciate pa..thanks..

senxa paps.. busy ako masyado heheh convert mo nalang yan at saka sa visual studio nako fucos .net tau :) peu pag meh tyme ako cge gawan kita javax.swing na database program :)

Add new comment

This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.