File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes help (getting started) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "help (getting started)" Watch "help (getting started)" New topic
Author

help (getting started)

mark stone
Ranch Hand

Joined: Dec 18, 2001
Posts: 417
this would be my first post here.
please let me know about this first step simple program in java that can interact with a Database and send sql commands to retrieve a record or store a record.
i guess this would be the HelloWorld program for java programming with databases. right ?
please send me links to web sites, forums or any other information.
but first which database should i start with. i have a windows95 computer with access Microsoft Access. or do i need to have a RDBMS. if you can let me know about this as well.
i hope these questions are not too preliminary for this forum.
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
If you search this forum for "Accesing MS access" or something like that, you will get some hits. It has been discussed several times.


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Sreenivasa Majji
Ranch Hand

Joined: Jul 12, 2001
Posts: 224
The tutorial provided at sun site, gives instructions about JDBC programming using Access in windows environment.
Using RDBMS in JDBC is generally recommended, but it is not required. However you can download MySQL freely from the internet.
/
Originally posted by mark stone:
this would be my first post here.
please let me know about this first step simple program in java that can interact with a Database and send sql commands to retrieve a record or store a record.
i guess this would be the HelloWorld program for java programming with databases. right ?
please send me links to web sites, forums or any other information.
but first which database should i start with. i have a windows95 computer with access Microsoft Access. or do i need to have a RDBMS. if you can let me know about this as well.
i hope these questions are not too preliminary for this forum.


Sreenivasa Majji
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

here is a "hello world" type JDBC program. It is specifically designed to use the jdbc odbc bridge(included in the jdk) and Microsoft Access 97. The program is self explanatory, see if it works for you. If you can compile and run the "hello world" program, you should be able to run this program. Check to see if you are running a compatible Microsoft Access Driver(see program to find out how).

Jamie
[ January 11, 2002: Message edited by: Jamie Robertson ]
 
 
subject: help (getting started)