In EBs the DB state is more consistent than SBs why?
Answer Posted / 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 |
Post New Answer View All Answers
How does ejb container work?
Is is possible for an ejb client to marshal an object of class java.lang.class to an ejb?
What is the full form of ejb in java?
Write the basic requirement of a cmp entity based class in 2.0 from ejb 1.1?
Define Clone?
in EJB diclare the static methods are not?
What do you mean by bean managed transaction?
What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations? When would I use one over the other?
what is the Relationship between EJB and CORBA architecture?
What are ejbs used for?
Match the ejb functions given below with the functionality equivalent in sql?
Differentiate Phantom from Un-repeatable?
What is the difference between ejb and java beans?
What is ejb and how it works?
What is an entity and its types?