Chapter 6. Event Model

In This Chapter

All source code for this chapter can be found on the Sams Publishing Website at http://www.mcp.com/info/0-672/0-672-31424-x.

A useful bean communicates with other beans, scripting languages, or components derived from other component models. One of the ways that beans communicate is by sending and receiving event objects. When something happens to a bean, such as when a user clicks his or her mouse in the bean's window, it creates an event object that encapsulates information about what happened. The bean sends the new event object to other components to read and, possibly, act on. ...

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.