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
Why do we need ejb?
What is use of @postconstruct?
What is @resource in java?
What optimization could I use if the ejb container is the only point of write access to the database?
What is enterprise bean provider?
why Bean class implements all business method of Remote interface but bean bean class not implements the remote interface
Why do we use @requestmapping?
What are the various types of entity beam?
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 by bean managed transaction?
What is stateful or stateless?
Are entity beans allowed to create() methods?
What are stateless applications?
How does ejb container work?
What is the difference between ejbcreate() and ejbpostcreate?