Category: Spring Framework
Spring WS validate Soap Request Response with XSD
This tutorial shows you how to use Spring WS to validate incoming or outgoing soap requests/responses using an XSD schema. This is one of the benefits of working contract-first. Spring WS uses a PayloadValidatingInterceptor....
Spring WS Consume Soap Service from WSDL
This tutorial Spring WS Consume Soap Service from WSDL shows you how to Consume a Soap Web Service from a WSDL (Web Service Description Language) file. Spring WS provides a simple client-side Web Service...
Produce Spring Ws Contract First Soap Service
This tutorial show you how to produce Spring Ws Contract First Soap services. Contract-First means starting with an XML Schema (XSD) or WSDL (Web Service Description Language) followed by the Java Code. In this...
Produce Consume RabbitMQ Spring JSON Message Queue
In this tutorial we explain how to configure RabbitMQ with Spring to Produce and Consume JSON messages over a queue. This tutorial uses spring java configuration instead of the xml configuration. After this tutorial...
Asynchronous service with spring @Async and Java Future
In this tutorial we use Java’s Future callback together with Spring @Async Thread execution. Whenever you want to make a time consuming task the best practice is to start this in a new thread...
Spring Inject Logger by Annotation Example
This tutorial: Spring Inject Logger by Annotation Example show you how to Inject a logger by Annotation. Dependencies We use slf4j logger interface and log4j logger implementation. Next add the spring dependencies to your...
Spring Redis Application Configuration Example
This tutorial shows how to create and configure a Spring Redis Application. We use Java Configuration to configure Spring. Dependencies To start you need to add the following dependencies to your project. <?xml version="1.0"...
Spring Redis Cache Manager Example
This tutorial shows how to use and configure Spring Redis Cache Manager. Caching service calls can greatly benefit your response time. Dependencies To start you need to add the following dependencies to your project....
Loading a property or system property using spring @Value
In the previous tutorial we saw how you can load properties from a file. In this tutorial we will show you how to inject these properties or system properties into a spring bean using...