Container Independence

For the full description, implementation variations, consequences, and detailed sample, see Page 170 in Java Application Architecture.

Statement

Modules should be independent of the runtime container.

Description

Modules with excessive runtime container dependencies are heavyweight modules that cannot execute outside the confines of the runtime container. Lightweight modules with no container dependencies have significant advantages.

ContainerIndependence