Getting started with SpringSource dm Server |
|

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):
- Introducing the SpringSource Application Platform
- Working with the SpringSource Application Platform Repository
- SpringSource Application Platform Deployment Options
- Using EclipseLink on the SpringSource Application Plaform
- 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:
- SpringSource dm Server Tutorial @ QCon (Monday, 17th November)
- Introduction to SpringSource dm Server @ SpringOne (Tuesday, 2nd December)
- Advanced SpringSource dm Server @ SpringOne (Tuesday, 2nd December)
Similar Posts
- Maven PAR Plugin 1.0.0.M1
- Git Migration
- Spring For JavaServerFaces – TSSJS Slides and Demos
- Slides and Demos from SpringOne Americas 2008
- Announcing dm Server Getting Started Guide





ARI ZILKA says:
Added on October 22nd, 2008 at 9:42 pmRob,
This is awesome! I have been staring at a task to get DM Server and Terracotta working together. This will definitely be my jumping off point. THANK YOU!
–Ari
Spypunk says:
Added on November 18th, 2008 at 6:27 pmHi Rob,
when do you plan to post the second part ? i really need it for a project,
that's good stuff, good job
Thanks
Spy.
rg says:
Added on March 24th, 2009 at 5:34 amHi, Thanks for the intro in Spring DM. Btw can I use apache axis2 and spring dm?
shashikumar says:
Added on August 18th, 2009 at 7:04 amhai.
When i tried to configure dm server with windows 2000 server i ma getting this error : please help me
C:\springsource-dm-server\bin\jmxPermissions.vbs(63, 2) SWbemObject: Type mismatch
Andy Wilkinson (blog author) says:
Added on August 18th, 2009 at 11:38 am@shashikumar, I notice you also reported this problem on the 2.0.0.M2 blog. Which version of dm Server are you using? The reason I ask is that we've made some changes in this area recently so, if you're not already using 2.0.0.M4, it would be worth trying with that release.
I should also point out that Windows 2000 isn't one of our officially supported platforms. We aim to support Windows XP and later.
shashikumar says:
Added on August 19th, 2009 at 12:19 amCurrently i am using dm server 2.0.0.M4 version…
Thanks for your reply..
shashikumar says:
Added on August 20th, 2009 at 1:38 amBut i cannot run DM SERVER 2.0.0.M4 version in windows xp also…
I followed the instruction provided as per DM SERVER 2.0.0.M4 documents
When i try to run i am getting .. "the system cannot find the specified file.."
Please help me…
shashi