IT Placement Papers JAVA EJB
This category contains EJB Interview Questions and Answers |
When To Use Entity Beans ?
|
|
|
|
|
You should probably use an entity bean under the following conditions:
• The bean represents a business entity, not a procedure. For example, CreditCardEJB would be an entity bean, but CreditCardVerifierEJB would probably be a session bean.
• The bean's state must be persistent. If the bean instance terminates or if the J2EE server is shut down, the bean's state still exists in persistent storage (a database).
Only registered users can write comments. Please login or register.
|