Java Pages

Jim's Pages => Java Pages

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  

Coding Style

OK, the code here looks a little strange ...
CmdServer Execute commands on a remote server

Interpreter   

Interactive Java!  Fun with reflection!

Reusable SAX Parsers

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  

Java Collections

Crib sheet - how to choose from three interfaces and ten classes

Java Data Ranges

Crib sheet - max and min values for all types.
The Java Environment Setting up directories, path, classpath, etc.
   
Patterns & Principles  

Command Pattern

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.

Visitor Pattern

Real life examples

Revision History is now on Jim's Pages home.