摘要
在JSON技术基础上,将JSON_RPC框架应用于WEB开发,把面向对象操作引入到JavaScript编程,改进了传统AJAX异步通讯技术,克服了AJAX+JSON技术存在的缺陷。通过JavaScript与Java对象间的数据转换以及远程方法调用,实现了客户端编程的简化处理,达到了"富服务器,瘦客户机"的目的。对于改善网页的局部刷新、解决客户端唯一性验证等问题提供了有效的解决方案。
Based on JSON technology,the JSON_RPC framework is applied to WEB development,by which object-oriented operation is introduced into JavaScript programming and which improve the traditional Asynchronous JavaScript and XML technologies to overcome AJAX & JSON technical defects.Through the data conversion between the JavaScript and the Java objects and remote method invocation,the client program can be simplified,and the aim of 'rich server,thin client'is reached.meanwhile,an effective solution is provided,which not only improves the local refreshment but also give rise to the only client-side validation.
出处
《青岛远洋船员学院学报》
2010年第2期14-18,共5页
Journal of Qingdao Ocean Shipping Mariners College