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

What are the required methods to implement EJB architecture?

Answer Posted / john

The methods that have to be present in an EJB are as follows
setSessionContext()
ejbCreate()
ejbPassivate()
ejbActivate()
ejbRemove()

The methods
ejbPassivate()
ejbActivate()
will be left empty in case of Stateless Session beans as
they do not support Passivation and Activation

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is singleton session bean?

1037


What is stateless ejb?

950


How do I use a less than or greater than on a message selector in ejb-jar.xml?

969


What are the basic and subtypes of enterprise java beans (ejb)?

1056


What is the difference between Session bean and Entity bean?one?

1138


What is ejb and its types in java?

1017


What is session facade in ejb?

1024


What is the difference between @requestparam and @pathvariable?

979


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

2471


What is backing bean?

1057


What is the new basic requirement for a cmp entity bean class in 2.0 from that of ejb 1.1?

993


What is an ejb context?

998


What are the advantages of ejb?

1012


Is ejbCreate() method mandatory while defining a Session Bean?

1076


Why is ftp stateful?

1034