• Post Reply Bookmark Topic Watch Topic
  • New Topic

ejbStore  RSS feed

 
Fred Barnes
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,
I was wondering why the application server makes so many calls to the ejbStore method?
I am using Orion 1.5.2 application server with EJB 1.1 bean managed persistence and J2SDK 1.3.1_08. On loading the entity bean the server makes one call to the ejbLoad method and a amazing 55 calls to the ejbStore method.
I understand the life-cycle of an entity bean and when the ejbStore method gets called by the container, but is it necessary to make so many consecutive calls?
Also how does this influence performance? Is this application server specific?
Kind Regards
Fred
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some servers allow the ejbStore method to be called after the transaction is to be completed. Does Orion allow that?
 
Sreedhar P
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ejbStore updates the database with the latest value & the database is common to number of users.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Sreedhar",
You're more than welcome to the JavaRanch but unfortunately your display name does not comply with our naming policy. You can change it here.
Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!