At software deployment time, the elements are binary versions of the project modules and files. Several source code modules may be packaged into the same deployment unit, but the connectors in the deployment structures are the same as those for the source module structures.
Let us look at the software structure Java. Classes are the basic building blocks of Java software. A Java program is a hierarchical collection of one or more classes. A large program consists of thousands of classes. Files are the compilation units in Java; that is, each file can be separately compiled. Packages allow the grouping of closely related classes and interfaces. Thus, they support the hierarchical and static organization of a large Java program as “logical and name space” managing units.