日期:2014-05-16  浏览次数:20542 次

SpringDM笔记25-Using AJAX frameworks with Spring DM:GWT

1. Using Spring DM with AJAX frameworks

??? Integrating Spring DM with AJAX frameworks involves exporting OSGi services referenced through

??? Spring DM as remote services with the exporting facilities of these frameworks. These facilities

??? typically only require some Spring configuration.
??? When configuring Spring support for this kind of framework, Spring DM’s OSGi web application context

??? must be specified so that the osgi namespace can be used. The other step is to use OSGi services,

??? configured through Spring DM, in the exporters of the AJAX application. An exporter is a dedicated

??? utility class that makes an existing service available remotely through a specific protocol. This can be

??? done directly in the Spring application context.

2. Using GWT with Spring DM

??? The Google Web Toolkit (GWT) is a web framework that allows you to develop rich internet applications

??? based on JavaScript and AJAX technologies and entirely written with Java.