|
Project Information
Members
Featured
Downloads
Wiki pages
Links
|
dine... is a multithreaded Java HTTP-Client that can be programmed in Javascript, it currently understands HTML, XML and JSON. Although there is no stable official release at the moment, dine is already used in productive application environments. Overview
How does the code look like?Instead of "Hello World", we'll show the Javascript step code necessary to print the page title of google.com as an example: createStep({
getUrl: function( ctx ) {
return "http://www.google.com";
},
run: function( ctx ) {
var xml = new XML( ctx.getResponse() );
print( "The title of google.com is " + xml..title + ", what a surprise!" );
}
});Wanna know more?Check the Getting started, Tutorials or Samples page! |