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

Can more than a single table be mapped in cmp?

563


What is passivation and activation in ejb?

531


Define ejb Create() and EjbPostCreate()?

561


What are the various types of entity beam?

548


What are the advantages of ejb components?

560






Which is the only method defined in the javax.ejb.handle interface?

629


can anyone explain me the workflow of EJB.I have developed an app. in WSAD using an example that contains CMP and session bean.But i am not able to understand the basic flow between diffrent packages.

1780


What is backing bean?

603


How is ejb different from java beans?

499


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

528


An instance of stateful session ejb when accessed simultaneously from more than one clients on same vm results in remoteexception or ejbexception. In case the client is a servlet thread, which of the techniques can be used to avoid remoteexception/ejbexception?

559


How can a session bean be configured for transactions of bean-managed?

576


What is stateless ejb?

527


What is ejb and its uses?

508


What is EJB server?

594