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

how can we decide a session bean as stateless or stateful
without seeing jar file? i.e. by seeing the class file.

Answer Posted / king

A bean is stateful or stateless can be inferred from its
deployment descriptor.
i.e
ejb-jar.xml
<session-type>Stateless</session-type>

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate “find a method” from “select method” in EJB ?

998


What is a local interface?

1156


The ejb container implements the ejbhome and ejbobject classes. For every request from a unique client, does the container create a separate instance of the generated ejbhome and ejbobject classes?

1008


What is ejb application?

952


Why do we need ejb?

1035


Can beans who are involved in transaction have 'passivation' process?

995


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

1011


How does ejb container work?

964


What do you mean by ejb ql?

1040


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

919


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?

1177


What is use of @postconstruct?

956


Explain the concept of connection pooling feature of ejb container?

972


How do you decide whether you should use session, entity or message driven bean?

1040


How many enterprise beans?

971