Axis and Xfire performance test data in a Java environment

Source: Internet
Author: User

Web Services Programs

Interface Definition:

Package net.brainysoft.test.services;

Public interface HelloTest2 {

public string SayHello2 (string name);

public int Add (int data1,int data2);
}

Implementation class:

Package net.brainysoft.test.services;

public class Hellotest2impl implements HELLOTEST2 {

public string SayHello2 (string name) {
Return "Hello" +name;
}
public int Add (int data1,int data2) {
return data1+data2;
}

}

Axis uses version 1.3, Xfire uses version 1.0

Xfire uses spring's Servicesbean method to publish Web services.

The Web Services Client uses Delphi 7 to develop 10,000 consecutive calls to Web services published through axis and Web services published via Xfire (that is, continuous use after a WSDL acquisition).

Web container Tomcat 5.5.15 JDK version 1.5.05 spring version 1.2.7 rerun Tomcat every time it is invoked to ensure that memory is counted from 0.

Axis calls 10,000 memory footprint 48M, spents 1 minutes 40 seconds Xfire calls 10,000 times memory Footprint 38M, spents 1 minutes 05 seconds.

Using the Axis2 test, it is found that Web services published through AXIS2 can be imported in Delphi, but the runtime will complain.

CPU is P4 2.66 512M memory

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.