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
What is singleton session bean?
What is stateless ejb?
How do I use a less than or greater than on a message selector in ejb-jar.xml?
What are the basic and subtypes of enterprise java beans (ejb)?
What is the difference between Session bean and Entity bean?one?
What is ejb and its types in java?
What is session facade in ejb?
What is the difference between @requestparam and @pathvariable?
why Bean class implements all business method of Remote interface but bean bean class not implements the remote interface
What is backing bean?
What is the new basic requirement for a cmp entity bean class in 2.0 from that of ejb 1.1?
What is an ejb context?
What are the advantages of ejb?
Is ejbCreate() method mandatory while defining a Session Bean?
Why is ftp stateful?