O'Reilly logo

Java EE Development with Eclipse by Deepak Vohra

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

Creating a managed bean

Trinidad has a dependency on JSF 1.1 or later reference implementation. Alternatively MyFaces 1.0.8 may be used, but we are using JSF 1.2. Typically, JSF is used with managed beans, which are JavaBeans components that are managed using the managed bean facility. The managed bean facility instantiates the beans and stores them in the scope. Managed beans are specified using the managed-bean element in the application configuration resource file—faces-config.xml— in pre JSF 2.x, or the @ManagedBean annotation in the bean in JSF Version 2.x. JSF pages may have value binding or component binding to a managed bean. Unless the components are required to be programmatically modified in the managed bean, it is a best practice ...

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