Meaningless Drivel is fun!*
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
JavaRanch » Java Forums » Java » JSF
Bookmark "When are action beans instantiated?" Watch "When are action beans instantiated?" New topic
Author

When are action beans instantiated?

Dowell Griffin
Greenhorn

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?
 
Consider Paul's rocket mass heater.
 
subject: When are action beans instantiated?
 
Similar Threads
jsp:setProperty - setting all properties
Struts Session Question
Beans in Spring
EJB Class-loading
Why is my faces-config.xml session bean not appearing in the session?