Connecting Tech Pros Worldwide Forums | Help | Site Map

Changing Driver in Java Desktop apllication

jx2 jx2 is offline
Familiar Sight
 
Join Date: Feb 2007
Location: Bristol UK
Posts: 227
#1: 2 Weeks Ago
Hi everyone, i made java database desktop application,(using persistence)
I want to use this application on a different computer,
I used derbyDB (network driver) is it possible to change it to embedded?
and any way I'm not sure if there is a simply way to deploy desktop application on diffrent computer, I mean setting up db sorting up connections permissions and so on,( I guess you cant ask ordinary computer user to install all of that himself)

Thanks a lot

Jan

Dököll's Avatar
Moderator
 
Join Date: Nov 2006
Location: Upstate NY - US
Posts: 2,268
#2: 2 Weeks Ago

re: Changing Driver in Java Desktop apllication


Hello jx2!

Tell us the ide you are using, some connections are stored in Application.xml which usually can be found right in the projects explorer window.

Good luck!
jx2 jx2 is offline
Familiar Sight
 
Join Date: Feb 2007
Location: Bristol UK
Posts: 227
#3: 2 Weeks Ago

re: Changing Driver in Java Desktop apllication


I'm using netbeans 6.7
I'm also not sure how to recreate DB from entities (if that is possible)

regards
Jan
Dököll's Avatar
Moderator
 
Join Date: Nov 2006
Location: Upstate NY - US
Posts: 2,268
#4: 2 Weeks Ago

re: Changing Driver in Java Desktop apllication


Hey Jan!

Here's what I could gather fr ya; truth is I worry you'd already found this and found it meaningless:-) I do hope it gives you an idea since it is using Derby:

http://netbeans.org/kb/docs/java/gui-db.html#connecting

for the database part anyway;

give that a whirl...

Dököll
Reply


Similar Java bytes