External interface
The interface provided to the outside world (the interface provided to third parties).
For example: We develop our own system to call the WeChat or Alipay payment interface. The interface we call WeChat or Alipay is an external interface. The external interface needs to cover various normal and abnormal situations.
Internal interface
The interface provided to the own system (the interface for internal calls of the system).
Generally, in order to intervene in testing as early as possible, testers can generally conduct internal interface testing after completing the interface development.
Generally, large companies may have relatively high requirements and need to consider security issues, so internal interface testing must also be tested. For small companies, internal interfaces are not tested and can be tested directly at the UI layer.
The reason for this is to prevent attackers from bypassing the front-end verification and directly attacking the interface, so the verification of the back-end interface is also essential.
Recommended tutorial: java introductory tutorial
The above is the detailed content of The difference between internal interface and external interface in java. For more information, please follow other related articles on the PHP Chinese website!