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 are the types of ejb?

0 Answers  


What is ejb and how it works?

0 Answers  


Which is the only method defined in the javax.ejb.handle interface?

0 Answers  


What is jar, war, and ear?

0 Answers  


What is a Java Bean?

2 Answers  






Name the attributes of javax.ejb.ejb.

0 Answers  


What is the purpose of JNDI?

6 Answers  


How does legacy object mapping work?

1 Answers  


Is is possible for an ejb client to marshal an object of class java.lang.class to an ejb?

0 Answers  


Define Context?

0 Answers  


How is an entity bean created?

1 Answers  


What is bean-managed persistence?

0 Answers  


Categories