Class packaging: Understanding how to organize related Java components
One of the most fundamental concepts in the world of Java programming is the package. When developers have a common set of related classes and components, they are encouraged to organize those files and resources together into packages. But what exactly are packages, and how do developers create them? This tutorial, the fourth in a series, uses nothing more than Notepad, the Java 7 JDK and our previously created rock-paper-scissors application to demonstrate how to package related resources together; it shows how packages manifest themselves on the file-system; and it will help developers understand the importance of the package construct in Java.
31 Aug 2012