4

The spring framework in 5.3 and higher deprecated org.springframework.remoting.httpinvoker

when we upgrade Spring to 5.3

wondering what is the replacement

our existing code base have:

import org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor;

import org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean;

HttpInvokerProxyFactoryBean proxy = new HttpInvokerProxyFactoryBean();

HttpComponentsHttpInvokerRequestExecutor re = new HttpComponentsHttpInvokerRequestExecutor();

what I could use to replace the class

M. Deinum
  • 115,695
  • 22
  • 220
  • 224
lee
  • 53
  • 1
  • 6
  • There isn't (as apparent from the deprecation notice in the Javadoc). This is basically RPC over HTTP and RPC isn't really the best thing to use anymore. Use a REST or SOAP based approach instead. – M. Deinum Jun 23 '21 at 17:58
  • deprecation remoting technologies [discussion](https://github.com/spring-projects/spring-framework/issues/25379) – gowridev Jun 23 '21 at 18:14
  • According to the doc, the spring will remove those at 5.3, I try to use 5.2.15.release, but still tell me those class not found – lee Jun 24 '21 at 18:02

0 Answers0