AjaxRMI-0.3 
AjaxRMI es un conjunto de clases en Java y Javascript que permiten realizar llamadas desde Javascript a métodos de un servlet en Java.

// Javascript (CLIENTE)
var ajaxrmi = new AjaxRMI();
var ret = ajaxrmi.call('unMetodo', 'hola', ' mundo');
alert(ret);



// Java (Servlet en el SERVIDOR)
...
public String unMetodo(HttpSession session, String a, String b) {
return a + b;
}
...


En esta nueva versión he añadido la capacidad de mapear objetos Javascript en Java y viceversa:

// Javascript (CLIENTE)
...
function MiObjeto() {
this.valor1 = 4;
this.valor2 = 'adios';
}
...
var ajaxrmi = new AjaxRMI();
var obj = new MiObjeto();
var ret = ajaxrmi.call('otroMetodo', 'hola', obj);
alert(ret);



// Java (Servlet en el SERVIDOR)
...
public String otroMetodo(HttpSession session, String a, MiObjeto obj) {
return a + obj.getValor2();
}
...


Nótese que es necesario que exista una clase MiObjeto y que posea los métodos set y get correspondientes a los campos del objeto Javascript. Para más información, echarle un vistazo al código fuente o pregutarme a mi :-)

Sección soft.

jackuggs 
and louboutin replica the www.chinajerseys.us media red bottom heels and Louboutin shoes Congressional body better jordans for cheap sit nike nfl jerseys cheap up www.redbottomshoessky.com and take jerseys supply notice because their credibility www.buychristianlouboutinreplicaus.net is nike nfl jerseys wholesale ZIP!! May every christian louboutin shoes sale American get louboutin replica along side of www.cheaperchristianlouboutinshoes.co.uk him and christian louboutin outlet pick red bottom shoes sale up their pen or phone michael kors handbags As Christian Louboutin shoes the Boston Red Sox DH, Ortiz is a six-time louboutin shoes All Christian Louboutin shoes outlet Star, www.manchestercityuk.co.uk four-time christian louboutin replica Silver Slugger award winner Christian Louboutin shoes sale and two-time World Series champion


www.nikenfljersey.us It louboutin on sale was one red bottom shoes of three touchdown passes for a team christian louboutin shoes that is nike nfl jerseys trying red sole shoes to jerseys china survive while Louboutin shoes outlet All-Pro jordans cheap running back replica louboutin Maurice www.replicalouboutinonsale.net Jones-Drew replica louboutin sale continues to www.nikenfljersey.us hold outtwitter-inner-ditto235431182089736192 div


Just to give louboutin outlet you a Sergio Agüero Shirt glimpse, though, jerseys wholesale of what cheap jordan sneakers these michael kors outlet online options are, take replica christian louboutin a louboutin sale look new nike nfl jerseys at louboutin replica on sale the list:EphedraEphedra nike nfl jerseys 2012 is christian louboutin replica actually nike nfl jerseys for sale sourced from Louboutin shoes uk a louboutin replica sale herbal plan louboutin shoes sale However, replica louboutin there christian louboutin online is no nike nfl jerseys supply doubting who Jerseys From China is the greatest punter ever


author img {float: left; replica christian louboutin margin: nike nfl jerseys china 0px 7px louboutin replica 0px 0px;} michael kors outlet pBodybuilders red bottoms supplements jordan shoes cheap are also louboutin outlet store available, louboutin outlet so if you want to christian louboutin on sale purchase any related jerseys for cheap products online, please visit michael kors handbags outlet netnutriPeople tend replica louboutin on sale to migrate toward any type of Edin Dzeko Shirt retail cheap michael kors handbags outlet Christian Louboutin shoes uk mall location


Below Carlos Tévez Shirt are Louboutin shoes sale all the cheap jordans betting types:The Point SpreadThe christian louboutin replica most replica christian louboutin common type of NFL bet is www.louboutinreplicasales.com the point spread replica louboutin Children will www.christianlouboutinoutletstyle.com marvel christian louboutin sale at these bags, jordan shoes for cheap purses and wallets cheap jordan shoes that have a cheap red bottom shoes dual function


Comentarios 
Lo sentimos. No se permiten nuevos comentarios después de 90 días.