wood burning stoves 2.0*
The moose likes JSF and the fly likes When are action beans instantiated? 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 "When are action beans instantiated?" Watch "When are action beans instantiated?" New topic

When are action beans instantiated?

Dowell Griffin

Joined: Dec 06, 2004
Posts: 8
To make the best design decision I need to understand the following.

Lets say a page has several actions that call methods in one or more session beans and that page has no other interaction with those session beans. Are the session beans instantiated just because the page loads or are the beans loaded when the action fires?
It is sorta covered in the JavaRanch Style Guide.
subject: When are action beans instantiated?
Similar Threads
Beans in Spring
EJB Class-loading
Struts Session Question
Why is my faces-config.xml session bean not appearing in the session?
jsp:setProperty - setting all properties