Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Do Entity beans & performance  RSS feed

 
ashish gode
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Friends,
Using session beans to interact with databases, or using Entity beans . Which is the better choice. Does the Entity bean really result in performance problems .
Ashih Gode
------------------
 
Kartik Shah
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to me descision depends upon what functionality you want to perform with the database.
For performing a read from database, we will use session Bean
For performing a write to database, we will use Entity Bean
Entity bean is certainly takes up more resouces, but it provides us with transaction management which is required while you are commiting the data to database.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!