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

Bean Contexts

All beans exist within a bean context. A bean is instantiated in a bean context where it exists in relation to other beans until it is killed and eaten up by the JVM's garbage collectors. Services can be added to or removed from the bean context while the bean is running. Beans are able to explore their environment (the bean context) looking for available services. After they find them, beans are able to use the services provided by a bean context. The bean context is formalized by a set of bean context interfaces. Four interfaces form the root of the bean context interface hierarchy: the java.util.Collection, java.beans.DesignMode, java.beans.Visibility, and java.beans.beancontext. BeanContextChild interfaces. Tables 8.1 through ...

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