Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
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: 15957
    
  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
DataTable,DataGrid and Databindings in JAVA.
Accessing bean data within a scriptlet
JSF: simple "required" validation problem
Spring+ hibernate or JSF+EJB3