• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Handling timeout in java

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am developing a application involving webservices through java for server side and Delphi for client side. In my application, through a program i am calling an external interface - Lotusdomino server here to get some data in a transaction and then process the same at my end. My transaction requirement are:

1.in set of cases, FOR EACH CASE
1.1 BEGIN TRANSACTION
1.2.SET TRANSACTION TIME OUT <READ TIMED OUT.
1.3 DELETE RECORDS FROM TABLES
1.4 CHECK IF IGNORECASEDOCS= FALSE;THEN:
1.4.1 DOWNLOAD DOCUMENT FROM LOTUS NOTES SERVER.
ELSE
1.4.2 ROllBACK TRANSACTION.

1.5.IF TRANSACTION TIMEOUT OCCURS
1.5.1 TRANSACTION ROLLBACK.
1.5.2 SET FLAG � IGNORECASEDOCS � TRUE.
2. REPEAT 1 FOR ALL CASES .

However in current scenario my application goes in infinite wait state for getting aresponse from Lotus DOmino Server at 1.4.1. And I am unable to go forward withsetting up the flag IGNORECASEDOCS at 1.5.2.
Can any one guide me to get a control of the system and remove the external interface dependency from my program.
Please note I am not to use EJB/JMS.
Regards
Sanjiv
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic