Here are a few things I've written about Java, patterns, reflection, XML and more. I'm sure there will be more source code here over time.
| Code | |
| OK, the code here looks a little strange ... | |
| CmdServer | Execute commands on a remote server |
| Interactive Java! Fun with reflection! | |
| Simple and reusable SAX content handlers match the structure of the data | |
| TextDiff | A program that compares two text files and reports the differences. |
| Tips & Tricks | |
| Crib sheet - how to choose from three interfaces and ten classes | |
| Crib sheet - max and min values for all types. | |
| The Java Environment | Setting up directories, path, classpath, etc. |
| Patterns & Principles | |
| Real life examples | |
| Dependency Inversion Principle | Object Oriented design from Robert Martin's Agile Software Development. |
| KnightsPrinciples | Alan Knight's down-to-earth, lighthearted look at OO principles. |
| Law Of Demeter | Some fun and some deadly serious discussion of this important principle. |
| Messaging Patterns | Not Java, but I didn't know where else to put it. |
| Object Oriented Design Principles | A Robert Martin blog entry that links to articles on eleven design principles. Uncle Bob's thoughts on these are required reading. |
| Real life examples |
Revision History is now on Jim's Pages home.