IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

How to use Tamino X-Application Java API in servlets?

  • 1.  How to use Tamino X-Application Java API in servlets?

    Posted Mon September 09, 2002 09:01 PM

    X-Application Version: 3.1.3
    Tamino Version : 3.1.1.4
    Platform : NT
    WebContainer : Tomcat 3.3.1
    JDK Version : 1.3.1_04

    Hi,
    I’m using Tamino X-Application Java API in my servlets.

    1- If I define a TaminoStore object and then a BusinessDocumentWorkspace, How can I close them at the end of the servlet?

    2- What is better?
    a) put the TaminoStore and BusinessDocumentWorkspace objects in session variables in order to use the same Tamino session in all my servlets?
    b) Create a new TaminoStore/BusinessDocumentWorkspace for each servlet?

    Thanks and Regards,
    Guillermo


    #API-Management
    #Tamino
    #webMethods


  • 2.  RE: How to use Tamino X-Application Java API in servlets?

    Posted Tue September 10, 2002 09:43 AM
    1. You don’t have to close the Store or the workspace. May might want to commit() the workspace, that’s all.

      2) Place the workspace in a session variable if you want both servlets to operate on the same workspace. If the user expects both servlets to operate on different data: place two workspaces with different names in two session variable. In either case, you’ll probably use a session variable because the workspace should persists multiple servlets requests from the same user.

      Michael

      Software AG Germany, Darmstadt

    #Tamino
    #API-Management
    #webMethods