Summary

In this chapter, you learned the difference and the similarities between plain old Java objects and Java beans. The central difference is that classes written to create beans must follow the JavaBeans design patterns. Typically, that means implementing properties and events correctly using accessor methods and bound or constrained events. You also learned how easy it is to convert an applet into a bean. In fact, classes extended from the Applet class are already beans and can be viewed as applets or beans.

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.