This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Spring and the fly likes A good reference or trial app for Spring DM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "A good reference or trial app for Spring DM" Watch "A good reference or trial app for Spring DM" New topic

A good reference or trial app for Spring DM

andrew ennamorato
Ranch Hand

Joined: Oct 03, 2007
Posts: 100
Sorry for being late to the question asking party, but what is a good reference application (say, maybe one out in the wild, or one that is typical or in use) of DM server?
I ask because we're a ways from using/trying OSGi, the main reason being "why bother"? Sure, modularity is nice, but why rebuild what we have to be OSGi-ish.

So, are there any cool/nifty apps out there that I can reference or look to? If not, what's a good idea for one? i.e. a web service with pluggable features?

David Newton

Joined: Sep 29, 2008
Posts: 12617

Or an application with reloadable services/features, like if you ever need to fix something...
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17249

If you get STS, which is Eclipse with Spring plugins, on the main screen is a link to an OSGI tutorial.


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Thierry Templier

Joined: Jan 26, 2010
Posts: 15

The main advantages of using OSGi is component based and service oriented approaches to organize and modularize your applications during development. At this level, Spring DM provides facilities to use Spring within OSGi bundles and to add dynamics within dependency injection. Moreover, at runtime, you don't have conflicts any more between different versions of tools and your application administration is much flexible. No more need to stop the application to update it!

Regarding cool applications, you can find some in the Spring DM distribution and in the source of the book ( . For the later, you can see chapter 6 for application organization, chapter 7 for data access and chapter 8 for Web...

Hope it answers to your questions.
Arnaud Cogoluegnes

Joined: Jan 26, 2010
Posts: 10
the Spring DM distribution comes with a couple of ready to use sample applications. The dm Server project also maintains a Pet Clinic sample application.
I agree. Here's the link:
subject: A good reference or trial app for Spring DM
Similar Threads
Modular Java: servlet container
* Winners: Modular Java: Creating Flexible Applications with OSGi and Spring
OSGi as a Java standard
OSGi and Spring DM: Enterprise Beans, JEE Containers and WEB UI
Spring dm Server and Eclipse project Virgo