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 / vishal chougule

If u just want by looking at class file then pre condition is that u have some parameters to create method.. meaning if u have bean class file with ejbCreate with paramaters then it is for sure stateful else it can be stateful or stateless.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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?

1008


What is the difference between ejbcreate() and ejbpostcreate?

952


What is stateful session bean?

1069


What is rmi and ejb in java?

1016


What is ejb home object?

1029


Why is ftp stateful?

1034


What does it mean to be stateless?

998


What optimization could I use if the ejb container is the only point of write access to the database?

1007


What are the callback annotations for the stateless bean?

959


List down the steps for the demonstration of ejp persistence mechanism.

1098


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?

1175


What is the use of @resource?

1072


Does spring use ejb?

975


in EJB diclare the static methods are not?

3446