What is the use of managed-bean-scope flag in the faces-config.xml (JSF)?

What is the use of managed-bean-scope flag in the faces-config.xml in JSF ?


Managed bean scope defines the lifespan of managed bean. There are 4 possible values: “application”, “session”, “request” and “none”.

The request scope bean is short-lived. If the bean is needed and created when server receives an HTTP request, it will be destroyed as soon as the response is sent back to the client.

The session scope bean persists from the time that a session is established until session termination. A session terminates if the web application invalidate session manually, or if it times out (this timeout period is defined in your servlet container configuration, and usually lasts few minutes). This means that after your bean is created, it will last for some time and between requests. For example, in a shopping application, you want the server to remember the contents of the shopping cart for some user across several pages.

Application scope beans are persisted for the duration of the application.

“None” is not exactly a scope, and is used for beans that are used only as managed properties of another beans.

Tata Consultancy Services (TCS) announces 20000 Sahyadri Park campus in Pune

India’s No 1 IT services company has announced the commencement of construction of its Sahyadri Park campus in Pune.Currently TCS’s Siruseri Campus in Chennai is its biggest campus (Also Asia’s biggest campus).

Commenting on the new facility in Maharashtra, Mr. S. Ramadorai said, “TCS Sahyadri Park will drive the next phase of our growth in this area and help us access the skilled professionals and students from in and around Pune. On completion, the facility will provide direct employment to over 20,000 people as well as indirect employment to many more.” He added: “This facility in Pune, is of special significance to us as TCS started its first R&D centre, TRDDC, in this city well over two decades ago.

Google pulls April Fool pranks on users..

Google in maintaining its custom of pulling a april first special every year did tricks across all its line of Products.Im listing few of them for Gmail,Google,Orkut and Calendar.

Virgle (Virgin + Google)

Google wants to take you to Mars for Free.You can become a part of first settlement in Mars.

Gmail (Custom time)

Gmail lets you set custom time for your Mails..so you can cheat your Boss 😉

 Check Yogurt Logo ..sorry Orkut Logo

Google calendar entries ??