Hi, On Fri, Dec 13, 2013 at 1:08 PM, kim young ill <[email protected]> wrote: > hi there, > is there any reason the httpclient should be used in a servlet ? would > putting it in a custom(Proxy)-handler make it lightweighter & what need to > be consider there (threading...)?
Jetty 9 already ships a proxy module (see jetty-proxy) that uses HttpClient to perform asynchronous calls to backend servers. So if you need a proxy, it's already there. If you want to write your own, then yes HttpClient is a very scalable solution because it is completely asynchronous. -- Simone Bordet ---- http://cometd.org http://webtide.com http://intalio.com Developer advice, training, services and support from the Jetty & CometD experts. Intalio, the modern way to build business applications. _______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
