So far, the technical guide of axis's WebService is basically so much. Due to the rush of time, personal reasons, and many other factors, it is inevitable that this document has some errors. But in this documentCodeAll of them have passed the test.
Infoq: Uncle Bob talked about the applicability of test-driven development.
The most obvious feelings about the use of the test driver are:1. improvement in quality assurance. As Bob Martin said, debugging is almost unnecessary or rarely used.2.
1. Overall conception of the syntax Framework Structure
On the one hand, in order to avoid interference from too many factors, on the other hand, to consider the iterative improvement process, we should not consider the structure of the syntax tree
Semantics of set, bag, list, and map
The most important thing about a set is the semantics of the set. The Set, List, Collection, and Map collections are defined in Java JPA (Java collections allow the bag semantics). NHibernate copies these
When a component is added to the Windsor container, MicroKernel first creates a ComponentModel object to describe the component information, and then uses a series of contributor for processing, including detecting the dependency between components
Structure Analysis of jquery menu Control jquery. menu. js: jquery menu plugin
1. Function demonstrationMenu html code:
edit cancel duplicate cut copy paste help file New open Project/solution website Team project
PostSharp is a very good AOP framework, which is very convenient to use and powerful. It does not need to be modified to intercept the target method, but is now commercially available.
Download a trial version from the official PostSharp website to
Take the NVelocity 1.1, StringTemplate 3.2, and ASP. net aspx pages for a performance test comparison. The comparison results are as follows:
The result is that, on two different machines, ASPX: StringTemplate: NVelocity is 1.00: 8.53: 1.61 and 1.00
Both Html. RenderPartial and Html. RenderAction are used to embed user controls on the interface.
Html. RenderPartial is to directly embed the user control into the interface:
Or
Note: when using the first method, the user control
In most cases, the optimization of SQL is to make a series of things for optimizer to make better choices (decisions. Only by fully understanding the compilation, optimization, and execution processes of SQL statements can you develop SQL queries
ActiveXObject is very expensive on pages. If we use xmlhttp Technology for refreshing pages, we may need to frequently create xmlhttp objects, of course, we can also use global variables to cache an xmlhttp object instance. However, this method is
You can use soapMonitor to monitor the basic information of the request and response WebService, and display the response information on the console on the applet control.
The procedure is as follows:
1. Deploy related applet and servlet
Axis2 has
The usage of axis1.x is introduced last time. The usage of axis2 will be described later.
Axis1.x online blog: http://www.cnblogs.com/hoojo/archive/2010/12/20/1911349.html
1. Development Preparation
First, download the relevant jar package of axis2
1. Compile the server code of a simple WebService. The Code is as follows:
Code import java. util. random;/*** function: example of the WebService HelloWorld Service * @ author hoojo * @ createDate 03:35:06 * @ file HelloWorldService. java * @
1. This time we compile the WebService method of the complex point. The returned data includes the getter, setter method, JavaBean, one-dimensional array, and two-dimensional array.
Check the Code:
Code import java. io. file; import java. io.
As in the second version, Spring only supports iBatis2. Then we want to add the support for MyBatis3 to Spring3.0 (refer to the Jira issue of Spring.
Unfortunately, the development of Spring 3.0 ended before the official release of MyBatis 3.0.
A Chain is a Chain of Handler. That is to say, multiple Handler may be executed in one request.
1. Let's write a Handler to execute it using the chain method.
Code
Code highlighting produced by Actipro CodeHighlighter
Another example of HelloWorld is the old-fashioned HelloWorld. It is also the foundation and must be mastered. Let's take a look at HelloWorldWebService, which is very simple.
The required jar package is as follows:
1. HelloWorldService server
Similar to the previously written web service, the difference is that the WebService written here must implement the interface, and the interface we implement must inherit the Remote interface of rmi.
1. RMI interface. Two simple methods inherit the
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