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
What are encapsulation, inheritance and polymorphism?
Implement a stack with push (), pop() and min() in O(1) time.
explain multi-threading in java?
What is command line used for?
How can we make copy of a java object?
Explain reverse a linked list recursive java solution?
Is break statement can be used as labels in java?
What is the lifetime and scope of a variable?
Can we make a constructor final?
What is a control variable example?
What is the current version of java?
Where are register variables stored?
What is the difference between method and means?
Can a class have multiple subclasses?
Can we call virtual funciton in a constructor ?