[Original] SOA abstract template package and use in the business

Key Benefits:

  • Provide uniform template, the request is split into SOA logging, verification, and other treatment processes
  • Buried unified logging (recording request, response log recording process)
  • Integrated LogTag, convenient positioning of the Issue Tracking
  • Exception handling, an exception return construct standard
  • SOA record processing results, processing time and other important information
  • SOA response required to achieve uniform increase ResponseCode return value. Reduce the cost of communication between services
  • Request added TransactionId, facilitate tracking problems downstream

description:

      There are currently facing a request to come to the soa server, the process is generally pretreatment -> check -> specific business process -> return after treatment, but there is no uniform alignment of components to manage, lead to other developers each have their own style it is difficult to maintain the code and sort out, so after internal discussions generally planned to achieve a specific version of the processing flow of soa

 

Guess you like

Origin www.cnblogs.com/zdd-java/p/11897345.html