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?

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


Please Help Members By Posting Answers For Below Questions

What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations?

990


What do you mean enterprise javabeans (ejb) container?

1085


What do you understand by session facade?

985


What is session bean?

960


What is ejb container?

1132


What is EJB server provider?

1095


What is the use of @resource?

1051


What do you mean by EJB architecture?

992


What is stateless code?

988


Is it possible to share an httpsession between a jsp and ejb?

901


What are the attributes of transaction in ejb?

945


Is ejb a framework?

958


Can remove() be a Stateless Session bean?

1081


why Bean class implements all business method of Remote interface but bean bean class not implements the remote interface

2454


What is ejb ql?

1042