EJB Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 687 Page Views: 

When to use Stateful session bean?



Posted By: Avi Date: 9 November 2010 09:39:01 AM
 Answer:

When the bean's state represents the interaction between the bean and a specific client, and when the bean needs to hold information about the client across method invocations, and when the bean mediates between the client and the other components of the application, presenting a simplified view to the client.


Posted By: avibtech


Date: 9 November 2010 09:39:01 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image 4RJR1Q
Related Questions
EJB : What are the advantages of EJB?  

What are the advantages of EJB?  

1: It helps in building enterprise applications easily. 2: Developers of EJB needs to focus on busi....
Category: EJB Date: 11/6/2010 4:35:01 PM
EJB : What are ejbActivate and ejbPassivate methods of Entity Bean?

What are ejbActivate and ejbPassivate methods of Entity Bean?

The ejbPassivate() is invoked by the container before the beans is passivated and ejbActivate() is i....
Category: EJB Date: 11/6/2010 1:41:02 PM
EJB : Can't I just create some of my JavaBeans in the JSP using a scriptlet?

Can't I just create some of my JavaBeans in the JSP using a scriptlet?

Struts is designed to encourage a Model 2/MVC architecture. But there is nothing that prevents you f....
Category: EJB Date: 11/6/2010 10:46:02 AM
EJB : What is an Entity Bean?

What is an Entity Bean?

An entity bean represents a business object in a persistent storage mechanism; where it represents a....
Category: EJB Date: 11/6/2010 10:14:01 AM
EJB : When should Entity Bean be used?

When should Entity Bean be used?

When the bean represents a business entity, not a procedure, and when the bean's state must be persi....
Category: EJB Date: 11/6/2010 7:19:01 AM