摘要
将Direct Web Remoting(DWR)与Java Scipt Templates(JST)进行框架整合,在J2EE环境下实现Ajax技术。将DWR引擎以Servlet的形式发布于服务器中,使得系统具有远程调用Java对象的能力;在Web页面中使用JST编辑HTML模板,用以显示DWR调用的结果。通过实例说明,该方案能够在避免大量使用JavaScript操作DOM的情况下实现Ajax技术。
We realize the Ajax through integrating the DWR and JST under the platform of J2EE. Distribute the DWR engine as Servlet in the server and makes the system have the ability of web remoting java object ; display the result of DWR in the HTML page with the template edited by JST. As the example shows Ajax is achieved while many JavaScript are not used.
出处
《石河子大学学报(自然科学版)》
CAS
2008年第3期395-396,共2页
Journal of Shihezi University(Natural Science)
基金
新疆兵团高新技术研究发展计划项目(2006GJS18)