Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Java Connection to Database Question

Posted on 2003-12-02
6
294 Views
Last Modified: 2010-03-31
How do you connect to a database using Java? Examples on a Windows 2k platform, targeting mySQL or msSQL would be nice.

Also:
--Is there any difference in connecting to different databases/different connection methods?
--Is there a built-in Java Database i can use (that compiles into the exe)?
--any other tips and notes on java DB will be appreciated
0
Comment
Question by:wkz
  • 5
6 Comments
 
LVL 92

Accepted Solution

by:
objects earned 250 total points
ID: 9864007
0
 
LVL 92

Expert Comment

by:objects
ID: 9864011
>--Is there any difference in connecting to different databases/different connection methods?

Only in connection string

>--Is there a built-in Java Database i can use (that compiles into the exe)?

not that i'm aware of
0
 
LVL 92

Expert Comment

by:objects
ID: 9864015
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 1

Author Comment

by:wkz
ID: 9864037
wow...... that's REALLY fast

thanks
0
 
LVL 92

Expert Comment

by:objects
ID: 9864044
At your service ;)
0
 
LVL 92

Expert Comment

by:objects
ID: 9864045
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question