Summary of methods for mutual calls of paip.java-asp-php-.net
Over the past few days, I have been engaged in ASP and PHP parameter encryption for a whole day .. However, custom encryption is not an industrial standard .. For example
How to Use des is my final idea ..
After a day of thinking, I found the materials and finally summarized them...
Java: to call a Java method, you can create a web interface in the command line or httpservice format .. In this way
To call its internal method. The command line method is only applicable for local calls, while the web method can be called remotely .. You can also do so
..
. Net: the same is true...
------------------------------------------------------------------
ASP (VBScript/JavaScript): Method to call it
1. You can create a web HTTP interface ..
2. Use COM ..
$ Oscript = new COM ("msscriptcontrol. scriptcontrol ");
$ Oscript-> Language = "JavaScript ";
$ Oscript-> allowui = false;
$ Oscript-> addcode ("function S (x) {return x * X ;}");
$ A = $ oscript-> Run ("S", "3 ");
3. Load the script parser to parse it ..
---------------------------------------------------
PHP call:
You can call PHP. .. You can also think of it as a PHP script parser ..
Or create an HTTP web interface ..
To sum up .. The internal interface should be the fastest, or the parser is relatively fast, and then the command line interface should be used.
And then remote socket. the slowest one is HTTP-based...
In the HTTP-based data transmission protocol.
The HTTP servie interface is the fastest, followed by XMLRPC ..
In SOPA,
Web Service is the slowest ..