Spring Examples: the idea behind these examples is to have a quick-start guide in how to setup different alternatives for use the Spring Framework and its different modules.
There will be (work in progress) several levels and it will be enumerated. Must of the projects are Groovy based, but sometimes they could be annotated with an initial letter, like j meaning that the project is based on Java. :
- 01 - Basic Level
- 02 - Intermediate Level
- 03 - Advanced Level
- 04 - Complete Solution
- All the projects are based on Groovy and Gradle.
- Projects with beginning with 'j' are based on Java
- There are projects that don't contain UNIT TEST but groovy scripts.
###01 - Spring Container
This project covers the essential spring container, with some variations like:
- Standard Bean Definition
- Using Annotations
- Using Profile
###01 - Spring AMQP
This project covers the spring-amqp module.
- Simple - (SimpleTest) is the minimal configuration to send and receive a text message.
- Listener - (ListenerTest) example for using asynchronous consumers.
- ListenerDelegate - (ListenerDelegateTest) example for using asynchronous consumers using a delegate.
###01 - Spring Integration
This project covers the spring-integration module.
- Simple - (SimpleTest) is the minimal configuration to send a message to a channel and print it out to the stream (console).
###01 - Spring Integration: Service Activator
This project contains different examples on how to use the service-activator endpoint.
This project is a Java version of the service-activator endpoint, and its based on a maven artifact.
###01 - Spring Integration: Channels
This project shows how to implement all available channels from the Spring Integration module:
- Publish and Subscribe
###01 - Spring Integration: EndPoints
This project shows how to implement different endpoints from the Spring Integration module:
- Service Activator
- Enricher (Synchronous and Asynchronous)
###01 - Spring / Camel
This project shows the Spring and Camel working together. Its another alternative to Spring Integration. Part of the code was using the BeanBuilder from Grails.