Getting started with SpringSource dm Server

Engineering | Rob Harrop | October 22, 2008 | ...

Updated 28-Oct-2008: Added up-to-date sample links and link to third sample

Last night I presented 'Introduction to SpringSource dm Server' at the Philadelphia Spring User's Group. During this presentation I created a small application called GreenPages, demonstrating all the major aspects of dm Server. I promised the attendees that I would post the application and the slides here.

In the last few weeks since the GA release of dm Server many people have been asking about the best way to get started with dm Server, so I'm using this entry to collect all the relevant information together, including the Introduction to SpringSource dm Server presentation.

Blog Entries

The best place to start is with the series of blog entries we posted during the milestone phases (back when the product was called SpringSource Application Platform):

  1. Introducing the SpringSource Application Platform
  2. Working with the SpringSource Application Platform Repository
  3. SpringSource Application Platform Deployment Options
  4. Using EclipseLink on the SpringSource Application Plaform
  5. Understanding the OSGi "uses" directive

Downloads

The SpringSource dm Server and the dm Server tools for Eclipse can both be downloaded from the dm Server download page.

Documentation and Samples

There are two components to the dm Server documentation: the User's Guide which is intended to provide an overview of dm Server concepts and day-to-day operation, and the Programmer's Guide which is focused on application development.

We provide three samples: Petclinic, FormTags and Spring Travel. If you are looking for examples of how to build applications for dm Server then I recommend that you download these samples and familiarize yourself with the structure and approach.

Forums

We have a very active community forum that provides a lot of useful content. The dm Server forums are accessible here.

Introduction to SpringSource dm Server

The slide deck for the 'Introduction to SpringSource dm Server' presentation can be downloaded from here.

The most interesting part of the presentation is the GreenPages app. When I give the presentation I build the application live, starting with an empty Eclipse workspace and finishing with a fully running, modular web application. I've packaged the completed application code for download here.

To get GreenPages running, you need to install some extra libraries into the repository/bundles/usr directory of dm Server. I've packaged these for download here.

Also, you need to start the H2 database using the scripts supplied in the db directory. I've also supplied a script to pre-populate the database with some sample data.

I run GreenPages from within Eclipse, so currently there are no Ant build scripts - you'll need an Eclipse installation with the dm Server tools installed. My recommendation is to download the Personal Use Edition of the SpringSource Tool Suite and use that - I run with this for all my dm Server demos.

Webinars

Ben Hale is giving a webinar on dm Server on October 29th. For information and to access the previous webinars on dm Server visit http://www.springsource.com/webinars.

Conference Presentations

I'll be presenting on dm Server at a few conferences over the next eight weeks:

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all