java - Is it safe to have HttpClient 3 and 4 in same classpath? -


as - legacy parts of web application depend on apache http client 3, new parts require http client 4.2.

apache httpclient 3 , 4 seem live in different packages, theoretically should possible have both versions in same classpath. simple test code works fine.

are there potential issues kind of deployment?

in general, don't see potential issues. i'd prioritize updating legacy parts of webapp.

the specific thing can think of if using both version 3 , 4 parts access same sites , sites used cookies carry session information, maintaining 2 separate cookie stores might result in strange behaviour. example, server side might invalidate sessions.


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -