Introduction to
Component-Based Engineering

Object-Oriented Design

Nature of
Software Components

Component Independence

Component Interaction

Component Replacement

Object Replacement?

Component Replacement

Components Replacement

Components and Glue Code

Component Advantages

Component Tips

Component Tips (con’t)

Component Tips (con’t)

XmlQuery JavaBean Example

XmlQuery is Serializable

Serialization Issues

XmlQuery Setters/Getters

Change Support Methods

Working with Bean Editors

Property Editors

Property Editors: Example

Property Editors: Example

Alarm JavaBean Example

Alarm Listener Methods

Alarm’s fireAlarm Method

AlarmListener / AlarmEvent

Thoughts on Events

Thanks