The moose likes JDBC and the fly likes db connectivity with out dsn& portable db Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "db connectivity with out dsn& portable db" Watch "db connectivity with out dsn& portable db" New topic
Author

db connectivity with out dsn& portable db

Ranganath Ranganaths
Ranch Hand

Joined: Jul 06, 2004
Posts: 32
Hello ranchers,

I wanna know is there any db which doesnt need any dsn for connection.. with java swings.. and i also need database which is portable .. i mean when i convert my application to exe and setup file i want my data base to be with in that setup and when ever i install it in different system it should be installed there .. is it possible to do so?.. If any one is aware of it .. please throw light at it.. thank you


reguards
Ranganath.S
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26173
    
  66

Ranganath,
All databases require a connection string. That connection string can contain "localhost" though so it is portable.

MySQL among others have licenses for if you want to distribute a database with your application. They do charge for it though.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: db connectivity with out dsn& portable db
 
Similar Threads
how dsn can be used on deployment server
Can I use jdbc:odbc to access MS Access database remotely?
Database Connection in .jar
Programmicly setup DSN
MS Access on Netware/Win2k