File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Distributed Java and the fly likes Handling synchronous integration more efficiently Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Handling synchronous integration more efficiently " Watch "Handling synchronous integration more efficiently " New topic

Handling synchronous integration more efficiently

partha naveen
Ranch Hand

Joined: Jul 17, 2008
Posts: 32
Hi ,

I have an application that integrates with quite a large number of applications making calls usually with XML/HTTP using HttpClient. While none of these external applications are within my control , what would be the best way in which my application does not get performance bottlenecks if these integrating applications are down? The underlying solution I am looking for is that the tomcat server where I am hosting my application should not run into overwhelmed requests or congestion because of these client calls. Is there a way to time out client calls ? All calls are synchronous and the current requirements do not facilitate the use of asynchronous design

Any inputs on this would be great!

Nitesh Kant

Joined: Feb 25, 2007
Posts: 1638

HttpClient provides a bunch of connection related properties that you can see here

apigee, a better way to API!
I agree. Here's the link:
subject: Handling synchronous integration more efficiently
It's not a secret anymore!