What are the required methods to implement EJB architecture?
Answers were Sorted based on User's Feedback
Answer / 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 |
What is bean in ejb?
Is ejb be called from another ejb? If yes then how?
Can EJB made to handle multiple transactions?
Is udp stateless?
What were entity beans?
What do you mean by ‘hot deployment’ ?
Explain transaction and various methods to manage it?
Can tomcat run ejb?
How is consistency maintained by Stateful Session through transaction updates ?
Is state maintained by a Stateless bean?
Is it possible to write two EJBs that have different bean classes, but they share same Remote interface and Home interfaces?
Can you be deported if you are stateless?