Spring by Example http://www.springbyexample.org/ Spring by Example is for Spring developers to collaborate by sharing Spring configuration and code examples. en-us Copyright 2008 by contributing authors Spring by Administrator [twiki@springbyexample.org] The contributing authors of Spring by Example Spring by Example Spring by Example http://www.springbyexample.org/ http://www.springbyexample.org/twiki/pub/TWiki/TWikiLogos/T-logo-140x40-t.gif Spring dm Server Simple Spring MVC http://www.springbyexample.org/examples/simple-spring-web-services.html This is an application with a simple form for creating and editing a Person. There is a PAR bundle which has a DataSource bundle, Person DAO bundle using JPA, and a web module using Spring MVC annotations, Tiles, and internationalization. It was made to be deployed on the Spring dm Server in the Eclipse IDE. 2008-12-16T06:00:00Z David Winterfeldt Simple Spring Web Services using JAXB for Marshalling http://www.springbyexample.org/examples/simple-spring-web-services.html A very simple example of using Spring Web Services 1.5.x with JAXB for marshalling and unmarshalling requests. A JAXB plugin for Maven is used to generate the JAXB beans from and XSD and the XSD is reused to generate a WSDL. The response from the server sends a person list, but could easily be modified to retrieve person based on an ID. Note: The example was updated to use non-deprecated classes to dynamically generate a WSDL from the XSD and the JAXB Fluent API is also used for less verbose construction of person responses. 2008-12-11T23:00:00Z David Winterfeldt Spring dm Server Simple Message Service http://www.springbyexample.org/examples/sdms-simple-message-service.html There are three OSGi bundles in this example. Two are different versions of a bundle that exposes a message interface as an OSGi service. Each bundle depends on a different version of Commons Lang to demonstrate the side-by-side versioning capabilities of OSGi. The third bundle is a web module that displays the result from calling the OSGi message service. The example was made to be deployed on the Spring dm Server. 2008-12-05T20:00:34Z David Winterfeldt Spring Bayeux GWT Trade Monitor Webapp http://www.springbyexample.org/examples/spring-bayeuex-gwt-monitor-webapp.html The Trade Monitor has a client that allows dynamic subscriptions to trade summary information for a stock symbol. The data is random buys and sells generated on the server by a timer. The example has GWT & Dojo Cometd integration on the client and Spring Bayeux integration on the server. The GWT part of the client handles display and client interaction, but calls out to external JavaScript to let Dojo Cometd handle Bayeux publish/subscribe on the client. The Spring by Example Web Module is used for it's Bayeux support to configure the Bayeux Trade Monitor Service. 2008-12-05T20:00:34Z David Winterfeldt Spring Bayeux GWT Chat Webapp http://www.springbyexample.org/examples/spring-bayeuex-gwt-chat-webapp.html The chat example allows a client to send and receive messages published to a chat channel and also to see a list of the other chat clients. The example has GWT & Dojo Cometd integration on the client and Spring Bayeux integration on the server. The GWT part of the client handles display and client interaction, but calls out to external JavaScript to let Dojo Cometd handle Bayeux publish/subscribe on the client. The Spring by Example Web Module is used for it's Bayeux support to configure the Bayeux Chat Service. 2008-12-05T20:00:34Z David Winterfeldt Spring by Example Web Module http://www.springbyexample.org/examples/spring-by-example-web-module.html The Spring by Example Web module has added a Spring GWT Controller for standard GWT usage and also Spring Bayeux integration for using Comet on Jetty. 2008-10-22T20:00:34Z David Winterfeldt Spring by Example Custom ServletContext Scope Module http://www.springbyexample.org/examples/custom-servlet-context-scope-module.html The Spring by Example Custom ServletContext Scope module is a custom scope implementation for providing ServletContext (web application) scoped beans. 2008-10-22T20:00:34Z David Winterfeldt Spring Modules with Commons Configuration http://www.springbyexample.org/twiki/bin/view/Example/SpringModulesWithCommonsConfiguration Spring Modules Jakarta Commons example loading properties from a database. This example will show you how to use a DatabaseConfiguration from the Jakarta Commons Configurations project to load the Database Properties into your application context. (last changed by DanielP) 2008-09-11T07:59:34Z DanielP