Properties file or a Constants Class 2005-01-12 - By Frans Verhoef
Back On Wed, 12 Jan 2005 13:43:11 +0530, KR Kumar wrote: >?Is it better to use a Constants java class and declare all the >?constants or use a key value pair properties file backed by a >?Properties class?
Depends whether you need constants or configuration properties. The first, as its name implies, are values which are not supposed to change; they are constants. The latter are configuration values that might change over time or for different setups.
Frans
==========================================================================To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
|
|