What are the required methods to implement EJB architecture?

Answers were Sorted based on User's Feedback



What are the required methods to implement EJB architecture?..

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 are the required methods to implement EJB architecture?..

Answer / bhuvana

yes

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More EJB Interview Questions

What is stateless session?

0 Answers  


java doesnot support multiple inhetance. but a interface can support.how the ambiguities are rectified in interfaces?

2 Answers   CGI,


Enlist the changes in EJB 2.1 ?

0 Answers  


Is decorator an ejb design pattern?

0 Answers  


What is ejb in spring?

0 Answers  






Can Container managed Bean-Managed Persistence ?

0 Answers   Sony,


What is ejb in java with example?

0 Answers  


What is the difference between ejb and java beans?

0 Answers  


What is ejb container in java?

0 Answers  


What does statelessness mean?

0 Answers  


What are the various types of entrepreneur java bean?

0 Answers  


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

0 Answers  


Categories