• Post Reply Bookmark Topic Watch Topic
  • New Topic

session bean+dao and entity bean: difference in transaction management

 
Jim Baker
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Does anyone know the difference in terms of
transaction management between SessionEJB+DAO
and EntityEJB? If I start a TX in sessionEJB,
they should be the same. Right?
I know there is a performance difference.
Thanks.
JB
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, the transaction management will work the same SO LONG AS you obtain the database connections in your DAO's from a managed DataSource.
Kyle
 
Jim Baker
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So it will make entityEJB not very useful. Right?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!