1 Reply Latest reply on Nov 24, 2007 2:51 PM by Pete Muir

    Seam 1.2.1 GA batch processing timeout issue

    asd asd Newbie


      Seam : 1.2.1 GA
      App server: Websphere 6.1
      Components: POJO

      Here's the problem we have...

      - A web service gives us a list of items
      - We iterate through the list (usually about 20,000)
      - Execute a method to persist the data from the web service

      Problem:
      Transaction time out (default app server time out is 2 mins, which we cannot change)

      Alternative problems
      - We have to use the web service which produces 20,000 odd items
      - We also want to reuse the code that uses the ORM solution for persistence (JPA/hibernate)
      - Reluctance to use an asyn approach

      Any suggestions?

      Thanks.