how can we decide a session bean as stateless or stateful
without seeing jar file? i.e. by seeing the class file.

Answer Posted / vishal chougule

If u just want by looking at class file then pre condition is that u have some parameters to create method.. meaning if u have bean class file with ejbCreate with paramaters then it is for sure stateful else it can be stateful or stateless.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are stateless functions?

695


What is stateful session bean?

775


Can EJB made to handle multiple transactions?

780


What is the difference between ejbcreate() and ejbpostcreate?

704


How to generate ejb stubs in eclipse?

938


What’s the difference between hibernate and ejb 3?

745


What is bean-managed persistence?

775


What is ejb and its types?

704


What do you mean by ejb?

750


how can u integrate ejb and hibernate? How can u call hibernateDAO methods in session bean?

2661


Is ejb a framework?

700


Why is ejb used?

707


What is entity bean in ejb?

752


What is a ejb container?

701


Can an ejb send asynchronous notifications to its clients?

733