What is Entity Bean and Session Bean ?
Submitted by: AdministratorEntity 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.
Submitted by: Administrator
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.
Submitted by: Administrator
Read Online Java EJB Programming Job Interview Questions And Answers
Top Java EJB Programming Questions
☺ | What happens if remove( ) is never invoked on a session bean? |
☺ | Is it possible to stop the execution of a method before completion in a SessionBean? |
☺ | What is EJB? |
☺ | What is session Facade in EJB? |
☺ | What is the difference between EJB and Java beans? |
Top Java Programming Language Categories
☺ | Core Java Interview Questions. |
☺ | Hibernate Interview Questions. |
☺ | Advanced Java Interview Questions. |
☺ | IBM WebSphere Interview Questions. |
☺ | Spring Framework Interview Questions. |