简体   繁体   中英

How to design java api to communicate with two different server

I have to create java api which will talk with two different server one for licensing and after getting token from licensing server it will talk with another server .

I need help to figure out efficient way to create model object which will hold json request response for both server.

尝试使用带有4个模块的maven项目(api,持久性,服务,休息)并使用javaee编码

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM