Class packaging: Understanding how to organize related Java components

This tutorial takes a look at how the Java programming language uses folders and packages to organize logically related classes and 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.

This was first published in August 2012

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchCloudApplications

SearchSOA

SearchSoftwareQuality

SearchFinancialApplications

SearchSAP

SearchManufacturingERP

Close