Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


In EBs the DB state is more consistent than SBs why?



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

Post New Answer

More EJB Interview Questions

Life Cyle methods in Entity Bean with Bean Managed Persistence

1 Answers  


Is ejb a framework?

0 Answers  


Life Cyle methods in Entity Bean with Container Managed persistence

2 Answers  


What is ejb in spring?

0 Answers  


What is the difference between session and entity beans? When should I use one or the other?

0 Answers  


A client wants to preserve the reference to the ejbhome object of an enterprise bean instance and use it later. Which of the following can be serialized for this purpose?

0 Answers  


can u explain about design patterns like singleton,builder,factory

0 Answers   EdgeSoft,


Can i write business logic methods in entitybean?

3 Answers   HCL,


What is difference between ejb 1.1 and ejb 2.0?

0 Answers  


What is stateless ejb?

0 Answers  


what are main features in EJB?

2 Answers  


What is singleton session bean?

0 Answers  


Categories