To easily build a fully working backend for Spring with database access and services, you can use an AppFuse backend. As it's based on Spring, it is very easy to integrate with Spring-RCP.

Modify Maven configuration

Add the following dependency in the pom.xml:

Modify Context configuration

Add the following two bean definitions to the file richclient-application-context.xml:

Modify security configuration

Add the following bean definitions to the security.xml:

Add property files

Copy the following two property files from the AppFuse project to src/main/resources
  • src/test/resources/jdbc.properties
  • src/test/resources/mail.properties

Using AppFuse in the client

Add two of the AppFuse configuration files to your RCP runtime configuration: