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 the new features in java 8? Explain
Can we compare two strings in java?
What is the main function in java?
What is a char in java?
What are different access specifiers in java?
Is java still relevant?
Explain the difference between serializable and externalizable in java?
In a container there are 5 components. I want to display the all the components names, how will you do that one?
What are mutable classes?
What do you understand by the term singleton?
What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?
How define set in java?
What is the use of StringTokenizer class?
What is google full form?
Difference between ‘>>’ and ‘>>>’ operators in java?