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 a ejb container?
Is it possible to write two ejb’s that share the same remote and home interfaces, and have different bean classes? If so, what are the advantages/disadvantages?
What are ejb components?
why Bean class implements all business method of Remote interface but bean bean class not implements the remote interface
what is mean by OLE ? Please answer me. Advance thanks.
What is dependency injection in ejb?
Explain the important elements of ejb?
Where is ejb used?
Is it possible to share an httpsession between a jsp and ejb?
Is it possible to have threading in ejb?
What are the types of enterprise bean?
Why should we use ejb?
What are the different types of ejb?
Elucidate callback in ejb?
in EJB diclare the static methods are not?