Buffalo 1.0alpha is released!
Ajax is starting to have a big line, and the SUN's BluePrints has begun to include Ajax support. But directly using XMLHTTP in most cases is not easy. BUFFALO makes this process easier. Buffalo is first the JavaScript implementation of the Burlap protocol, but he provides more support for Amowa (WEB Application for Asynchronous Messages) / Ajax. Developers can use Buffalo to add Amowa / Ajax feature for web applications. Please download the latest version and run the sample application for more information.
Key characteristic list:
* The JavaScript implementation of the Burlap protocol. In fact, the Burlap protocol should be currently the most suitable communication protocol, comprehensive, concise, and applicable communication protocol used as Web Remoting.
* Each remote call method is asynchronous, a callback programming model. You may use Buffalo this:
VAR Buffalo = New Buffalo ("/ Buffalo / Buffalo"); Buffalo.RemoteCall ("Uservice.Login", ["UserName", "Password"], function (reply) {var success = reply.getResult (); if (); {Alert ("You login successfully");} else {Alert ("User Name or Password IncorRect!);}});
* Do you like Gmail? Buffalo is supported. When calling a remote method, the page is no longer switched, and a friendly Loading panel is displayed in the upper right corner of the browser.
* Crossiler. Supports Firefox and IE.
* Buffalo You can pass the return result of the server method to the client directly to the client, and the client can usually use these objects like using JSTL. These objects will not only make simple data types, even complex, multi-layer structures. example:
Server: Public List Listall ();
Client:
Buffalo.Listall, [], Function (reply) {var userlist = reply.getresult (); var firstuserfamilyname = userlist [0] .name.familyName; // isn't it cool?}
* user-friendly. Any POJO can be seen as a Buffalo Service, complete this operation only needs to join the line in Buffalo-Service.properties. You don't need to write additional code in order to add Buffalo support.
* Well, most important, it is open source. Buffalo Based on Apache License 2.0, you can use it in any way, whether it is business or non-commercial.
I believe that this is currently the most easy to use, embodying the components of Amowa / Ajax idea.
URL: http://www.amowa.net/buffalo download: http://www.amowa.net/buffalo/download.htmlamowa: http://www.amowa.net