What is the major difference SessionBean and EntityBean?
Answer Posted / eavi
Session Beans state can be shared by only one client at a
time - persistence storage device .ser file.
EntityBeans state can be shared by multiple
clients,because as its persistence storage device is DB.
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
The ejb container implements the ejbhome and ejbobject classes. For every request from a unique client, does the container create a separate instance of the generated ejbhome and ejbobject classes?
What do you mean enterprise javabeans (ejb) container?
Define ripple effect?
Is microservice stateless?
Which is the only method defined in the javax.ejb.handle interface?
Enlist the CallBack methods of Entity Bean.
What do you mean by re-entrant? Can you say that session beans as re-entrant? Can entity beans be specified as re-entrant?
Can EJB made to handle multiple transactions?
What is Session Bean Interface?
Enlist the enterprise beans types?
Explain transaction and various methods to manage it?
Is it legal to have static initializer blocks in ejb?
Why is ejb needed?
Explain what is an EJB Context?
How many ejb objects are created for a bean?