• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

ejbStore

 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 8946
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ejbStore updates the database with the latest value & the database is common to number of users.
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Everybody's invited. Even this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic