Child pages
  • Spring Integration
Skip to end of metadata
Go to start of metadata

ApplicationContext Configuration

Abdera comes with Spring 2 configuration support and several classes to make building Spring based applications easier. Most server applications should be able to built by writing a Provider and a small bit of Spring XML.

The first step then is to write a CollectionAdapter. This is the place where your application specific logic goes for creating, editing or deleting resources. Please see the Server Implementation Guide for more information.

And add it to your beans.xml:

Now you'll need to configure the Abdera Provider. The Provider hosts all the workspaces and collections inside Abdera.

Servlet Configuration

You'll probably also want set up the AbderaServlet so it can pull the ServiceContext from your ApplicationContext. Here is an example web.xml configuration:

  • No labels