8.1. Where We Are
This book explains how to develop components and assemble them within a Java virtual machine. Viewed at this level, component development is driven by two key concepts: loaders and types.
Java's class loader architecture provides the means to locate and load components into a process. When they are used carefully, class loaders guarantee security, manage versioning, prevent name collisions, and enable side-by-side deployment of changing components. Loaders also provide a hook from which custom behavior or metadata can be extracted from or added to classes. Even JNI is just a special loader that loads non-Java components in a local process.
Loaders use Java's type information to validate dependencies between classes at runtime. ...
Get Component Development for the Java™ Platform now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.