O'Reilly logo

JavaBeans Unleashed by Rick Leinecker, Dr. Donald Doherty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required