EJB programming & troubleshooting: when does an entity bean get committed to the db

  1. if i'm trying to update column in the database via a property in a JavaBean which in turn holds a reference
    to a EJB.

    after i do my sets() in the jsp, when does the the ejb commit? is there a method i have to explicitly call?

    we are using:

    jsp-->javabean-->ejb architecture
  2. The data is comitted sometime after you call a setXXX and before any other method is invoked on the EJB. you do not need to explicitly call a method on the EJB to do this.