WebSphere Application Server Network Deployment, Version 6.0.x   Operating Systems: AIX, HP-UX, Linux, Solaris, Windows
             [TIP: Focusing the table of contents and search results]

Setting the run time for deferred create with JVM arguments

The specification for Enterprise JavaBeans (EJB) 2.x 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.

About this task

When you choose the defer option, the run time 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).

Procedure

  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.
Task topic    

Terms of Use | Feedback

Last updated: Mar 8, 2007 8:14:28 PM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tejb_defer.html

© Copyright IBM Corporation 2004, 2006. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)