In EBs the DB state is more consistent than SBs why?
Answer / john
The Entity Bean is directly interacting with the database.
AS and when new transactions are made they are recordeed in
the database to take care of persistence.
In case of session beans all transactions are maintained in
a session. It is not necessary that the user has to submit
these trasnactions to the DB. The user may choose not to
submit them and the trtasnactiosn in the session will be
lost. This can also occur whe the user closes the browser
without submitting or when the session expires due to a time
out.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is ejb role in j2ee?
Is success EJB3.0 in the Market? IF yes just explain main differences between EJB2.0 and EJB3.0.
What are the steps involved in creating a Bean?
Explain the concept of local interfaces?
What is stateless session bean?
What is meant by manifest files ?
Which is more beneficial: Stateful or Stateless Bean?
Can an ejb send asynchronous notifications to its clients?
What is the difference between Session bean and Entity bean?one?
What is @injectmock?
What is ejb application?
why Bean class implements all business method of Remote interface but bean bean class not implements the remote interface