InterviewSolution
| 1. |
What Is Entity Bean And Session Bean ? |
|
Answer» ENTITY Bean is a JAVA class which implements an Enterprise Bean interface and provides the implementation of the business methods. There are two types: Container MANAGED Persistence(CMP) and Bean-Managed Persistence(BMP). Session Bean is used to represent a workflow on BEHALF of a client. There are two types: Stateless and Stateful. Stateless bean is the simplest bean. It doesn't MAINTAIN any conversational state with clients between method invocations. Stateful bean maintains state between invocations. Entity Bean is a Java class which implements an Enterprise Bean interface and provides the implementation of the business methods. There are two types: Container Managed Persistence(CMP) and Bean-Managed Persistence(BMP). Session Bean is used to represent a workflow on behalf of a client. There are two types: Stateless and Stateful. Stateless bean is the simplest bean. It doesn't maintain any conversational state with clients between method invocations. Stateful bean maintains state between invocations. |
|