This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
My question is how to access various 3rd party services(events.con, career.com, indeed.com)in server side actually i tried single services its working in clent side, but how i can access various services in servlet and its should go to clent as a single response.
Naturally, if you are doing SOAP or REST requests on the server side you must take the normal precautions to prevent interference between multiple user requests. No servlet instance variables that contain user specific data, etc.
You must also pay particular attention to cleaning up after errors in the SOAP or REST requests so that connections get closed etc no matter whether the request succeeds or fails.
You can generate stub classes using wsdl2java utility from WSDL for third party services. Once you have stub you can call other web service operation simple as a method call. Otherwise You can also use dynamic proxies way of calling web services if you didn't want to generate stub.