Messaging and Concurrency in a Spring Environment

Traditional Spring-based architectures focus on the notion of a central service layer, with the communication between the services designed as synchronous method invocations. Spring 2.0 introduced extensive support for "Message-Driven Objects" and general asynchronous task execution, allowing the use of messaging and concurrent execution within the heart of a Spring-based application. This talk provides a tour through the messaging and concurrency facilities that Spring offers, including Spring 2.1's JMS configuration namespace and JCA 1.5 support.

Presentasjon

PDF
Foredragsholder Juergen Hoeller
Nivå
Outline:
  • Message-Oriented Architectures: messaging versus asynchronous task execution (10 min)
  • Synchronous JMS Messaging in Spring: JMS setup examples, JmsTemplate usage (15 min)
  • Asynchronous JMS Messaging in Spring: message listener container examples (20 min)
  • Spring's TaskExecutor abstraction and other related Spring facilities (10 min)
Expected audience:
People with an interest in Spring as well as messaging, ideally familiar with the JMS API basics as well as the Spring fundamentals. Attendees will learn about the sophisticated functionality that Spring offers in the JMS space, as well as about the general use of asynchronous execution within Spring-based application architectures.