my dog learned polymorphism*
The moose likes JSF and the fly likes HttpSession in JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "HttpSession in JSF" Watch "HttpSession in JSF" New topic
Author

HttpSession in JSF

Edukondalu gumma
Greenhorn

Joined: Jun 08, 2011
Posts: 3
Hi,

What are the implicit objects available in managedbean of JSF
Guy deLyonesse
Ranch Hand

Joined: Apr 12, 2011
Posts: 200

The short answer: It depends on what class, if any, your managed bean extends.

A managed bean doesn't implicitly inherit anything just from being a managed bean. Being a managed bean only allows JSF to access it through the EL for the purpose of dependency injection.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15950
    
  19

To be precise, a managed bean is a POJO - Plain Old Java Object, a vanilla JavaBean. A POJO inherits straight from java.lang.Object, which has no implicit objects other than the object itself, thus Managed Beans likewise have no implicit objects.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: HttpSession in JSF
 
Similar Threads
JSF 1.1 or JSF 1.2
Accessing bean data within a scriptlet
JSF: simple "required" validation problem
DataTable,DataGrid and Databindings in JAVA.
Spring+ hibernate or JSF+EJB3