concept enterprise integration in category spring

appears as: enterprise integration
Spring Integration in Action

This is an excerpt from Manning's book Spring Integration in Action.

A common requirement for enterprise integration is to transform inbound data into the format expected by the consumer of that data. Syntactic transformations like converting a string representation of XML into a Document Object Model (DOM) instance can be handled by a generic transformer that builds on existing libraries. Many structural transformations, such as those that rely on XSLT or XPath expressions, can even be handled by generic transformers. But dealing with semantic transformations is different. Semantic transformations require focusing on content within the business domain of an application. Because the consumer of such content is a business service, it’s likely that the expected format is a domain object rather than something generic like XML or a byte array.

By the end of this chapter, you’ll be familiar with the most significant features of batch applications, recognizing the main differences between them and other paradigms, such as online transaction processing. In the context of this book, batch applications are important for their role in enterprise integration.

Spring Batch in Action

This is an excerpt from Manning's book Spring Batch in Action.

IT systems are complex beasts: they can consist of hundreds of applications that don’t work in isolation and need to communicate with each other. An example of Spring Batch helping applications communicate is a batch job processing files from one application and writing data into the database of another application. The term enterprise integration refers to such communication techniques between applications. Because batch processes are often central to enterprise integration projects, this chapter is dedicated to explaining how to use Spring Batch and other Spring-related technologies in such projects. The online store application we use in this book is a typical enterprise integration project: the application imports product data from various systems (ACME and its partners) so that customers can browse and purchase products through the online store web interface. Figure 11.1 illustrates how enterprise integration fits between the online store application and other systems.

Figure 11.1. The online store application uses enterprise integration techniques to import product data from other systems.

Enterprise integration is a broad topic, and trying to cover all of it would require a whole book, much less one chapter. Instead of thinly covering as much as possible, this chapter uses a practical approach and implements a realistic enterprise integration scenario for the online store application. By the end of this chapter, you’ll have an overview of enterprise integration and techniques used to tackle its challenges. These techniques rely on technologies like Representational State Transfer (REST), messaging, and batch processes, and use frameworks like Spring MVC, Spring Integration, and Spring Batch.

All of the chapters in this book focus on Spring Batch, but this chapter isn’t only about Spring Batch: it covers other Spring frameworks. The point is to show you how Spring Batch combines with other frameworks as a key component in real-world enterprise projects. Let’s start by learning more about enterprise integration.

11.1. What is enterprise integration?

Even if we know that enterprise integration includes making applications communicate with each other, the term is vague. This section gives a more comprehensive and practical definition of enterprise integration, along with some use case examples. This section also covers integration styles that deal with enterprise integration challenges and we’ll see what roles Spring Batch can play in this world.