Life cycle methods in stateless Session Beans?

Answers were Sorted based on User's Feedback



Life cycle methods in stateless Session Beans?..

Answer / krishna

Methods are:
0) Class.newInstance()
1) ejbCreate()
2) setSessionContext()
3) ejbCreate()


Does Not Exist state & Method-Ready Pool are two status of the Beans


as per my knowledge Stateless Session Beans will not contain ejbActivate()& ejbPassivate() methods

Is This Answer Correct ?    2 Yes 0 No

Life cycle methods in stateless Session Beans?..

Answer / sulthan sheriff

The stateless session bean's life cycle has two states: the
1-------->Does Not Exist state
2-------->Method-Ready Pool.
This is the Stateless session bean Life cycle

Is This Answer Correct ?    3 Yes 2 No

Life cycle methods in stateless Session Beans?..

Answer / janet

ejbCreate()
setSessionContext()
ejbActivate -- never called
ejbPassivate()
ejbRemove()

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More EJB Interview Questions

What is bean-managed persistence?

0 Answers  


What is stateless ejb?

0 Answers  


What do you mean by ejb?

0 Answers  


ejbCreate in Entity bean and create method in EJB home, have the same parameters?

2 Answers  


What is @autowired required false?

0 Answers  






In what format is the conversational data written to the disk?

0 Answers  


What is ejb client?

0 Answers  


what is mean by dll ? Please answer me. Advance thanks.

3 Answers   Excel,


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

3 Answers  


What is ejb and how it works?

0 Answers  


What is the purpose of a transaction monitor?

1 Answers  


Life Cyle methods in Entity Bean with Bean Managed Persistence

1 Answers  


Categories