What is the TX operational difference between Session Bean
and Entity Bean?

Answer Posted / janet

1.Session Bean may or may not be used for TX operational
operations,even they are used for TX's bean developer itself
responsible to update the bean values into DB.
2. EntityBeans are specially designed for TX operations
where bean develop is only responsible for updating bean
values,where the bean values were updated into DB by
executing one additional function called ejbStore().

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we need ejb?

577


What is use of @postconstruct?

525


What is @resource in java?

526


What optimization could I use if the ejb container is the only point of write access to the database?

571


What is enterprise bean provider?

607






why Bean class implements all business method of Remote interface but bean bean class not implements the remote interface

2023


Why do we use @requestmapping?

523


What are the various types of entity beam?

549


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?

567


What do you mean by bean managed transaction?

553


What is stateful or stateless?

533


Are entity beans allowed to create() methods?

587


What are stateless applications?

566


How does ejb container work?

517


What is the difference between ejbcreate() and ejbpostcreate?

536