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...


explain why we say stateless beans does not maintain
conversation state besides statefull maintains conversation
state. give some examples...

Answers were Sorted based on User's Feedback



explain why we say stateless beans does not maintain conversation state besides statefull maintain..

Answer / madhu

We say stateless beans do not maintain state, simply because
it doesn't. Please read below.

As we all know web based interaction is mostly HTTP based
which is a stateless protocol. Statelessness is defined in
simple terms as, does not keep track of previous
conversation. That means, each and every request is
independent of the other.

Stateless or stateful session beans are no exception and
they are HTTP based as well or work in conjunction with such
front end mechanisms (such as JSPs, Servlets, ASPs etc..).
So unless otherwise, we specifically maintain that state,
all the beans would remain stateless.

In the case of Stateful session beans, we maintain it in the
form of parameter value, which is maintained through out the
session.

Is This Answer Correct ?    1 Yes 0 No

explain why we say stateless beans does not maintain conversation state besides statefull maintain..

Answer / madan

Stateless session beans are used to maintain Stateless session that means, for example if u have a web page, that does not contains any more web page links means, so we no need to store the informations for future purpose(i means in another web pages), so , in this case, we used Stateless Session beans

Stateful session means, we have links, we need to store the authentication details like atm transfer, it is showing first password page, then saving,then amount, so once we entered details, then no need to enter any more information.. so this is Stateful


latest version of Ejb 3 is by annotations...Very nice

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More EJB Interview Questions

Is success EJB3.0 in the Market? IF yes just explain main differences between EJB2.0 and EJB3.0.

1 Answers   ITC Infotech,


What do you mean by ejbdoclet?

0 Answers  


What is Entity Bean and Session Bean?

1 Answers   KPIT,


What is an entity manager?

0 Answers  


What transaction attributes does Java Bean containers support?

1 Answers  


How Client will contact the Bean?

3 Answers   Four soft, Tech Mahindra,


Explain the concept of connection pooling feature of ejb container?

0 Answers  


What is Enterprise JavaBeans?

1 Answers  


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

0 Answers  


What is bean-managed persistence?

0 Answers  


Can stateful session beans are persistent?

2 Answers  


What is the difference between stateful and stateless session beans?

2 Answers   Tech Mahindra,


Categories