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 the purpose of JNDI?
What Is EJB Clustering? Explain the Functionality?
1 Answers Business Architectures, College School Exams Tests, HCL,
Differentiate Conversational from Non-conversational interactions?
What is stateless session bean?
How can one EJB be called from within another EJB?
can anyone explain me the workflow of EJB.I have developed an app. in WSAD using an example that contains CMP and session bean.But i am not able to understand the basic flow between diffrent packages.
How to increase ejb transaction timeout in weblogic?
What is JAR file?
For ejb applications with bean-managed transaction demarcations, which of the following is used by the client to get a reference to the usertransaction object for the weblogic server domain?
Define Initial Context?
What is the difference between stateful and stateless session beans?
What optimization could I use if the ejb container is the only point of write access to the database?