ExtDirectSpring is a library that connects Ext JS 3.x, 4.x, 5.x, 6.x and Sencha Touch 2.x applications with a Java/Spring back end, by implementing the Ext Direct specification. The library supports all the features of Ext Direct:
- Configuration with annotations
- Simple remote calls
- Named parameters
- Method batching
- Form post
- Form post with file upload
- Polling
See the library in action: https://demo.rasc.ch/eds/
ExtDirectSpring is available from the Central Maven Repository.
<dependency>
<groupId>ch.ralscha</groupId>
<artifactId>extdirectspring</artifactId>
<version>1.8.0</version>
</dependency>
If you have a question about extdirectspring post it in our Google Group forum. The official Sencha Ext.Direct forum is a good place to look for an answer if you have a more general Ext.Direct question.
- 1.8.0: Spring 5.1.2, Servlet 3.0, Jackson 2.9, Java 1.8
- 1.7.4: Spring 4.3.1, Servlet 3.0, Jackson 2.8, Java 1.6
- 1.6.1: Spring 4.2.0, Servlet 3.0, Jackson 2.6, Java 1.6
- 1.5.2: Spring 4.1.2, Servlet 3.0, Jackson 2.5, Java 1.6
- 1.4.3: Spring 4.0.0, Servlet 3.0, Java 1.6
- 1.3.9: Spring 3.2.1, Servlet 2.4, Java 1.6
- 1.2.3: Spring 3.1.2, Servlet 2.4, Java 1.6
- 1.1.3: Spring 3.0.7, Servlet 2.4, Java 1.5
The library supports Ext JS 3, 4, 5 and 6 and Sencha Touch 2
Version 1.8.0 contains a generated /META-INF/spring.components
file. This allows you to use the library in a Spring project with the spring-context-indexer: https://docs.spring.io/spring/docs/current/spring-framework-reference/core.html#beans-scanning-index
If your Spring application does not use the indexer you have to disable it. In a Spring Boot application you can do this with the following code
public static void main(String[] args) throws Exception {
System.setProperty("spring.index.ignore", "true");
SpringApplication.run(Main.class, args);
}