WebSphere Application Server Network Deployment, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Setting the run time for deferred commands with the assembly tools

Steps for this task

  1. Start the Application Server Toolkit.
  2. On the Project Explorer tab, click EJB Modules > project > ejbModule > META-INF > ejb-jar.xml The EJB Deployment Descriptor window appears.
  3. Select the Access tab. The Add Access Intent window appears. There are two areas of the panel that deal with adding access intent:
    • Default Access Intent for Entities 2.x (Bean Level)
    • Access Intent for Entities 2.x (Method Level)
  4. Select the Bean or Method level. Another access intent window appears where you can set the properties you wish to use.
  5. Use the dropdown list to select the Access intent name.
  6. Optional: Enter a description.
  7. Check the Persistence Option box.
  8. Check the Deferred Operation box.
  9. Use the dropdown list to select your choice for deferred operation. You have three options for deferred operation:
    NONE
    Nothing is deferred.
    CREATE_ONLY
    Only ejbCreate commands are deferred until the next ejbStore occurs to create row in database.
    ALL
    All ejbCreate, ejbStore, and ejbRemove commands are deferred until a flush is needed, which is either before a finder method or before transaction completion.
  10. Select Finish.



Related concepts
EJB modules

Task topic    

Terms of Use | Feedback

Last updated: Mar 17, 2005 4:28:29 AM CST
http://publib.boulder.ibm.com/infocenter/ws60help/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tejb_defer2.html

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