File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Swing And database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Swing And database" Watch "Swing And database" New topic

Swing And database

k waykole

Joined: Sep 22, 2011
Posts: 2
Hello friends,
I am just entered in java world. i develop 1 application just basic application . Application is in swing and i attach 1 database (Access ) so that every thing entered in swing component get saved in to database.

now i want to make .exe file of this application. i am not getting how to give database in that application exe file. i have to install this application to other pc.

please help..

Thanks in Advance.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10825

Welcome to the Ranch.

Usually you would have just one DB which all clients would access. Are you really sure you want to have multiple DBs?

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
k waykole

Joined: Sep 22, 2011
Posts: 2
thank u...

no i don't want to use multiple DB,

we do connection with db in our PC as we register that db with administration tools first.

but if i want to create exe file of my whole project, when i install that exe to another pc... so what about db,

is we need to specify any(where is the database) path of db in our program file.. then how to do this.

please help me...

I agree. Here's the link:
subject: Swing And database
jQuery in Action, 3rd edition