Summary of methods for mutual calls of paip.java-asp-php-.net

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.