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


Please Help Members By Posting Answers For Below Questions

What are the new features in java 8? Explain

636


Can we compare two strings in java?

650


What is the main function in java?

616


What is a char in java?

616


What are different access specifiers in java?

644






Is java still relevant?

602


Explain the difference between serializable and externalizable in java?

620


In a container there are 5 components. I want to display the all the components names, how will you do that one?

675


What are mutable classes?

596


What do you understand by the term singleton?

654


What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?

728


How define set in java?

612


What is the use of StringTokenizer class?

701


What is google full form?

624


Difference between ‘>>’ and ‘>>>’ operators in java?

729