This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Handling synchronous integration more efficiently " Watch "Handling synchronous integration more efficiently " New topic
Author

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!

Thanks
Prth
Nitesh Kant
Bartender

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: http://aspose.com/file-tools
 
subject: Handling synchronous integration more efficiently