This is a mirror of official site: http://jasper-net.blogspot.com/

AJAXPRC

| Tuesday, October 26, 2010
AJAXPRC : the JavaScript Remote Procedure Call, fast and easy .

It allows JavaScript to be able to call into the server-side methods synchronously or asynchronously, based on JSON, open-source license(LGPL).
Use AJAXRPC, you can develop as a traditional C / S procedures, to develop the WEB program that allows WEB development simpler and more efficient.
Languages Supported: Java, .Net, Php.

Browsers Supported: IE、FireFox、Opera、Safari、Chrome.
Downloads: Java   .Net   PHP
Developer Guide:English   Chinese   Japanese
Latest version: 1.0
Latest updated: 2010-10-10

AJAXRPC Quick Start

First,we have to define a class and a static method:

public class Test {
public static String sayHello(String name){
return "hello, " + name;
}
}

Note: The static methord must be a public method.
Then we can call the method on the server by the AJAXRPC client program.
Note:When we call the RPC methods,if there is no callback function, then the call is synchronous;if there is one, then the call is asynchronous.

Read more: AJAXPRC

Posted via email from .NET Info

0 comments: