- Organizing a project
a. Suggested Directory Structure
src/
classes/
bkp/ --backup files
tst/ -- source files for unit-testing
tmp/
log/
doc/
I. Javadocs
II. End-user docs
III. design desicions docs
IV. version.txt - Design Decisions Document
- Assertions
- Logging
java.util.logging.Logger Logger myLogger = Logger.getLogger("example.com.testApplication");java.util.logging.Handler myLogger.addHandler(new FileHandler("temp.log"));java.util.logging.FileHandler myFileHandler.setFormatter(new SimpleFormatter());--Set the format of log files
This blog records some ideas, notes, and information of my works and studies in information technology.
Monday, February 23, 2009
SCJD Exam with J2SE 5.0--Chapter 2
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment