简体   繁体   中英

web server to application server communication

I Need to pass request from web server to application server.

web server and application server lies in a separate box.

so what is the best technology to use in this scenario ?

Web Server : I have html page, i need to fill it and submit.

Application server : I need to receive that submitted request with all the form values and need to perform some action.

in application layer , i am planning to do mapping to spring controller , is it fine ?

please explain the best possible solution.

Personal experience is use service-oriented-architecture for communications between servers.

So if u have App Server that wants to communicate with Web Server then create services (eg WSDL) that will manage that communication.

This will enable data management, consistency, security and potentially transformation (if you need it).

The biggest benefit we have seen is the ability to remove the server and replace it without any other changes to code and still have it work off the bat.

Hope that helps

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