*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Is Database location an option in properties file ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Is Database location an option in properties file ?" Watch "Is Database location an option in properties file ?" New topic
Author

Is Database location an option in properties file ?

Nicolas Zozol
Ranch Hand

Joined: Oct 13, 2009
Posts: 33
Hi,
In the deliveries, the database file is in the same directory of the jar. But must we have to offer a swing interface to allow a user picking a database file at another location ?
For the moment, I keep :



Thank you all,
Back in the business 8 month after having started...


Robusta Web Library : Open Source for REST & Java
Carlos Morillo
Ranch Hand

Joined: Jun 06, 2009
Posts: 221

Hi Nicolas,

Yes.

HTH,

Carlos.


SCSA, OCA, SCJP 5.0, SCJD http://www.linkedin.com/in/carlosamorillo
Nicolas Zozol
Ranch Hand

Joined: Oct 13, 2009
Posts: 33
Thanks,
This will be done so.

Nicolas
Carlos Morillo
Ranch Hand

Joined: Jun 06, 2009
Posts: 221

Hi Nicolas,

The values that I save in my suncertify.properties file are:

1. database absolute file name.
2. hostname or IP address of database server
3. TCP Port Number.

HTH,

Carlos.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is Database location an option in properties file ?