This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, I m having a dillema now. I have a java program that tries to send message accross an http server. Now when the server is not available, it throws an obvious IOException. Now my requirement is that I want to resend the same message to a backup http server if the first server fails.
I have found the solution but I think my code smells.
the client code :
Can anybody tell me what is wrong with this code??