Preliminary ideas on how to migrate all Department backend services to java
What is the Java service form? Currently, the following types are used:
1. Servlet running on the Web Application Server
2. java services written by similar frameworks such as Thrift, PB, and Avro
3. WebService (JAX-WS, JAX-RS)
Now we need to switch the server to java. If all the backend subsystems are written in Servlet, they cannot be implemented across languages. Currently, most of our clients are still. NET platforms.
If Thrift and other frameworks are used, they are now satisfied.. NET calls the Java service. If the client uses Java in full and is a Web Client, how can the java service written by Thrift be used for service.
Webservice is not considered. The restful description capability is limited, and SOAP is also complicated, moreover, WS is mainly used in scenarios where they are developed in collaboration with third-party teams, or when internal system interfaces are published to other enterprises, the C/S architecture may also be considered in the WAN environment.
We still need to consider using a stable, reliable, efficient, and simple RPC framework on our own internal platform.
Think twice and decide to adopt the following Architecture:
In combination with the distributed registration center, message-oriented middleware, and other components I developed earlier, the backend subsystem can form a good ecosystem.
This is only a preliminary idea and further careful consideration is required. If any experienced friend passes by, you can enlighten me.