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

Answer Posted / king

A bean is stateful or stateless can be inferred from its
deployment descriptor.
i.e
ejb-jar.xml
<session-type>Stateless</session-type>

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pub/sub model?

520


Explain ejbhome and ejbobject in ejb?

601


What changes have been made in ejb 2.0 specifications?

624


Enlist the declarative transaction types?

604


What is the new basic requirement for a cmp entity bean class in 2.0 from that of ejb 1.1?

580






What ejb means?

537


Is it possible to have threading in ejb?

558


Is microservice stateless?

501


What does it mean to be stateless?

541


Is it possible to write two ejb’s that share the same remote and home interfaces, and have different bean classes? If so, what are the advantages/disadvantages?

530


What is EJB server?

602


What causes statelessness?

491


How to generate ejb stubs in eclipse?

745


What does statelessness mean?

535


What’s the difference between hibernate and ejb 3? Don’t you think ejb 3 is just a clone of hibernate?

559