What is the difference between a JavaBean and a traditional AWT object?
Location: http://www.jguru.com/faq/view.jsp?EID=107018 Created: Jul 20, 2000 Modified: 2000-07-20 18:37:13.034 Author: John Zukowski (http://www.jguru.com/guru/viewbio.jsp?EID=7) Question originally posed by Dallas Dreyer (http://www.jguru.com/guru/viewbio.jsp?EID=58484 JavaBeans is a component architecture for defining reusable components for Java. The JavaBeans specification defines just how to create/define such components. These components may be graphical or may not be. There is no requirement that a bean be graphical, just that it follows the architecture defined by the specification. On the other hand, an AWT object, specifically the AWT components, are JavaBean components specifically designed to be reused by a drag-and-drop GUI development tool like VisualAge for Java or JBuilder. While yes, you can code everything by hand, because the AWT components are JavaBean components, you can get/set bean properties, connect events, and persist the interface, through the JavaBeans archi