java spring configuration for remoting services
[cdmlib.git] / cdmlib-remote-webapp / src / main / webapp / WEB-INF / cdmlib-remote-servlet.xml
index f08193612fda74641295c10c3a6e87a815756450..522da4576598ca384f3b087193f1c4d0c254fae7 100644 (file)
@@ -3,23 +3,19 @@
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
   xmlns:tx="http://www.springframework.org/schema/tx"
   xsi:schemaLocation="http://www.springframework.org/schema/beans
-    http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
+    http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
     http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
     http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
     ">
-
-    <!--
-        This will cause SpringMVCConfig to be found.
-        All further component scans are defined in this
-        mvc configuration class
-    -->
-    <context:component-scan base-package="eu/etaxonomy/cdm/remote/config" />
-
-    <!-- vaadin is excluded from the component scan in the the SpringMVCConfig.class  -->
-    <!--
-    <context:component-scan base-package="eu/etaxonomy/cdm/remote/vaadin" />
-    -->
-    
-    <!-- FIXME:Remoting Expose remoting services currently only for testing -->
-<!--     <import resource="classpath:/eu/etaxonomy/cdm/remoting-services.xml"/> -->
+  <!-- 
+    NOTE: 
+    For a detailed overview on the spring MVC and application context configuration and 
+    bootstrapping of this web application see: 
+    http://dev.e-taxonomy.eu/trac/wiki/cdmlib-remote-webappConfigurationAndBootstrapping
+   -->
+  <!-- 
+    Initialize SpringMVCConfig and its dependency SpringSwaggerConfig.
+    All further component scans are defined in this mvc configuration class 
+  -->
+  <context:component-scan base-package="eu/etaxonomy/cdm/remote/config" />
 </beans>
\ No newline at end of file