  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | Handling externa interface dependency. | Handling externa interface dependency. 2005-03-14 - By Sanjiv Kapila
Back Hi,
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 requirements 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 a response from Lotus Domino Server at 1.4.1. And I am unable to go forward with setting 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 can not use EJB/JMS. Also we can not go in making call in asynchronous mode since we need to process the result we got at 1.4.1.
Regards Sanjiv
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.73"> <TITLE>Handling externa interface dependency.</TITLE> </HEAD> <BODY>
<P><FONT SIZE=2>Hi,</FONT> </P>
<P><FONT SIZE=2>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 requirements are:</FONT></P>
<P><FONT SIZE=2>1.in set of cases, FOR EACH CASE </FONT> <BR> <FONT SIZE=2>1.1 BEGIN TRANSACTION</FONT> <BR><FONT SIZE=2> 1.2.SET TRANSACTION TIME OUT <READ TIMED OUT.</FONT> <BR> <FONT SIZE=2>1.3 DELETE RECORDS FROM TABLES</FONT> <BR> <FONT SIZE=2>1.4 CHECK IF IGNORECASEDOCS= FALSE; THEN:</FONT> <BR><FONT SIZE=2> 1.4.1 DOWNLOAD DOCUMENT FROM LOTUS NOTES SERVER.</FONT> <BR><FONT SIZE=2> ELSE</FONT> <BR><FONT SIZE=2> 1.4.2 ROllBACK TRANSACTION.</FONT> </P>
<P><FONT SIZE=2> 1.5.IF TRANSACTION TIMEOUT OCCURS</FONT> <BR> <FONT SIZE=2>1.5.1 TRANSACTION ROLLBACK.</FONT> <BR><FONT SIZE=2> 1.5.2 SET FLAG - IGNORECASEDOCS - TRUE.</FONT> <BR><FONT SIZE=2>2. REPEAT 1 FOR ALL CASES.</FONT> </P>
<P><FONT SIZE=2>However in current scenario my application goes in infinite wait state for getting a response from Lotus Domino Server at 1.4.1. And I am unable to go forward with setting up the flag IGNORECASEDOCS at 1.5.2.</FONT>< /P>
<P><FONT SIZE=2>Can any one guide me to get a control of the system and remove the external interface dependency from my program?</FONT> <BR><FONT SIZE=2> </FONT> <BR><FONT SIZE=2>Please note I can not use EJB/JMS. Also we can not go in making call in asynchronous mode since we need to process the result we got at 1.4.1.</FONT></P>
<P><FONT SIZE=2> </FONT> </P>
<P><FONT SIZE=2>Regards</FONT> <BR><FONT SIZE=2>Sanjiv</FONT> </P>
</BODY> </HTML> =========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help". <p>
|
|
 |