What advantage does an entity bean have over a sessin bean?
Answer Posted / uppi
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.
| Is This Answer Correct ? | 19 Yes | 5 No |
Post New Answer View All Answers
In java, what is the difference between method overloading and method overriding?
Is overriding possible in java?
Can we make the abstract methods static in java?
What happens when a thrown exception is not handled?
Can you call a method in a method?
Differentiate between == and equals().
What is lifetime variable?
What is rule of accessibility in java?
What does int argc char * argv [] mean?
What are the benefits of java?
How are the elements of a gridbaglayout organized?
Is void a return type?
What is the basic difference between string and stringbuffer object?
What do you mean by synchronized non access modifier?
What is the relationship between clipping and repainting under awt?