SCJP, SCWCD, SCBCD, SCJD, BB Java2 and JSP1.1
42
SCJP, SCJD, SCWCD, OCPJBCD
42
SCJP, SCJD, SCWCD, OCPJBCD
42
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
But the rest is internal to the application, and of interest mainly to people maintaining it.
All configuration must be done via a GUI, and must be persistent between runs of the program
SCJP, SCJD, SCWCD, OCPJBCD
So you would need to show a specific advantage for your non-standard way of doing things rather than using the Properties class.Use of functionality provided by the core Java classes will be preferred to your own implementation of that functionality, unless there is a specific advantage to providing your own implementation.
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
If the "maintaining people" must edit the configuration file then you are a little bit against the specs (at least mines).
42
Originally posted by Jeroen T Wenting:
nope. More than 4![]()
db server and port as well as filename should be separate for server and client modes![]()
Those are people expanding the application
SCJP, SCJD, SCWCD, OCPJBCD
Originally posted by Daniel Dalton:
Hi Mike
You're probably well aware of this anyway, but a properties file has a standard format - namely
That's why people have given examples in that format. Take a look at the documentation for the java.util.Properties class which is designed to work with Property files.
Regards, Dan
Originally posted by Oliver Weikopf:
You've got a point about the rmi port and service name (which is what you mean by "server", right?)
But the client mode does not use a db file, so it needs no filename.
Is this for the standalone version rather than for the client version? If so, why should that use another db file than the server?
42
Originally posted by Mihai Radulescu:
Hi Jeroen
Interesting point of view. I'll think about it.
What criteria you use to differ between the application configuration and the expanding ? Can you give an example ?
Regards M.
42
SCJP, SCJD, SCWCD, OCPJBCD
42
Don't get me started about those stupid light bulbs. |