[Version 5.0.2 and later]Setting the run time for deferred create

Why and when to perform this task

The specification for Enterprise JavaBeans (EJB) 2.0 states that for Container Managed Persistence (CMP) during the ejbCreate, the container can create the representation of the entity in the database immediately, or defer it to a later time. When you choose the defer option, the runtime defers ejbCreate (or the equivalent database persistence request) until it is needed. This can be at the end of the transaction, or when a flush is needed for finders related to this EJB type. By doing this you can reduce two round trips for the newly created entity (insert and update) to one (insert).

Steps for this task

  1. Open the administrative console.
  2. Select Servers.
  3. Select Application Servers.
  4. Select the server you want to configure.
  5. In the Additional Properties area, select Process Definition.
  6. In the Additional Properties area, select Java Virtual Machine.
  7. Update the Generic JVM arguments with -Dcom.ibm.ws.pm.deferredcreate=true.



Searchable topic ID:   tdefer
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/ae/tejb_defer.html

Library | Support | Terms of Use | Feedback