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 ..
Author: attilax