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 the procedure of ejb container to handle exceptions?

540


Can EJB made to handle multiple transactions?

604


What is a local interface?

546


What’s the difference between hibernate and ejb 3?

541


What do you mean by bean managed transaction?

548






What is stateful or stateless?

526


Is method overloading allowed in ejb?

548


How many types of session beans are available in ejb?

515


What is dependency injection in ejb?

532


How do I use a less than or greater than on a message selector in ejb-jar.xml?

525


What does @singleton annotation do?

513


Enlist the CallBack methods of Session Bean?

560


How does ejb invocation happens?

548


What causes statelessness?

473


TX operation funtion executed by?

2203