InterviewSolution
| 1. |
What Is Stateless Session Bean In Ejb? |
|
Answer» A stateless SESSION bean is a type of enterprise bean which is NORMALLY used to do independent operations. A stateless session bean as per its NAME does not have any associated client state, but it may preserve its instance state. EJB Container normally creates a POOL of few stateless bean's objects and use these objects to PROCESS client's request. Because of pool, instance variable values are not guaranteed to be same across lookups/method calls. A stateless session bean is a type of enterprise bean which is normally used to do independent operations. A stateless session bean as per its name does not have any associated client state, but it may preserve its instance state. EJB Container normally creates a pool of few stateless bean's objects and use these objects to process client's request. Because of pool, instance variable values are not guaranteed to be same across lookups/method calls. |
|