NO architecture stuff in <<Thinking in Java>>
<<Thinking in Java>> just discusses Java language.
If you want to learn Java architecture,
download J2ee bluebook from sun's site.
Are the following 4 pieces of code equivalent to each other?