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 ..

 

Related Article

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.