Re: Application properties handling advice
- From: Petterson Mikael <mikael.petterson@xxxxxxxxxxxxxxx>
- Date: Wed, 25 Apr 2007 09:40:16 +0200
Andrew Thompson wrote:
Petterson Mikael wrote:Thanks!
..
I am building an application where we need some default settings to run it. User shall then have the possiblity to change them.
..
Is there a simpler/better way to do it?
The strategy you outlined sounds like the best way to
go about it (that is how I would generally do it).
You might also look into java.util.Preferences, and java.util.Properties - Preferences seems to take care of the path for you. Since I deal a lot with web start apps. I would generally use javax.jnlp.PersistenceService, which can be used from a sand boxed application.
HTH
It is always nice to get a second opinion.
cheers,
//mikael
.
- References:
- Application properties handling advice
- From: Petterson Mikael
- Application properties handling advice
- Prev by Date: javaee.jar and Tomcat
- Next by Date: Re: are Java programmers unfriendly and harsh people?
- Previous by thread: Application properties handling advice
- Next by thread: Modifying an existing Java app form
- Index(es):
Relevant Pages
|
|