Objects Versus Components

This brief introduction to the basic concepts of encapsulation, inheritance, polymorphism, and access restrictions was provided to give you an overview of Java's object-oriented capabilities. Large-scale Java projects are currently in production now that use literally thousands of classes. These classes do everything from accessing relational databases to operating robotic equipment to analyzing real-time operational data from manufacturing floors. If Java provides the ability to logically group and distribute code in the form of classes, you may find yourself asking what value lies in the JavaBeans Component Architecture?

The term component differs from the term object in several subtle ways. An object is generally ...

Get JavaBeans Unleashed 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.