Home > Store

Java CAPS Basics: Implementing Common EAI Patterns, Rough Cuts

Rough Cuts

  • Available to Safari Subscribers
  • About Rough Cuts
  • Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.

Not for Sale

Description

  • Copyright 2008
  • Dimensions: 7 X 9-1/4
  • Pages: 496
  • Edition: 1st
  • Rough Cuts
  • ISBN-10: 0-13-500296-6
  • ISBN-13: 978-0-13-500296-4

This is a working draft of a pre-release book. It is available before the published date as part of the Rough Cuts service.

Use Java CAPS to Streamline IT Services and Leverage Legacy Applications

Design patterns are a useful tool for streamlining enterprise integration and Web development projects: the mission-critical projects that directly impact your competitiveness. Enterprise Integration Patterns by Gregor Hohpe and Bobby Woolf (Addison-Wesley, 2004) described many of the most useful patterns for enterprise developers. Until recently, however, implementing the patterns in that classic reference required the extensive use of raw Java code. Now there’s a better alternative: Using Sun’s Java Composite Application Suite (Java CAPS), architects and developers can implement enterprise integration patterns succinctly, elegantly, and completely.

In Java™ CAPS Basics, Sun’s own Java CAPS experts show how to quickly put these new tools and technologies to work in your real-world enterprise application integration projects. After reviewing the challenges of enterprise integration, they introduce Java CAPS and show how it can simplify the development of today’s state-of-the-art “composite” applications. Next, they bridge the gap between abstract pattern languages and practical implementation details. You will learn essential Java CAPS concepts and methods in the context of the patterns you’ll actually use for real-world message and system management.

Coverage includes
  • Comparing approaches to enterprise application integration and finding ways to integrate non-invasively, with fewer changes and lower costs
  • Mastering the core integration tools provided by Java CAPS: eGate, eInsight, eWays and JMS
  • Using enterprise integration patterns to improve application reusability, scalability, resilience, security, and manageability
  • Implementing patterns for message exchange, correlation, infrastructure, routing, construction, transformation, and endpoints
  • Generating and using cryptographic objects such as X.509 Certificates, PKCS#12, and JKS Keystores
  • Using advanced techniques such as solution partitioning and subprocess implementation, many of which are covered nowhere else
  • Constructing two complete example solutions that bring together many of the patterns discussed and illustrated in this book

The companion CD contains detailed illustrations for most of the relevant patterns and two complete Java CAPS-based case studies (with solutions) that implement a number of the patterns discussed in the book. In addition, Part II contains a chapter on cryptographic objects used to configure security-related aspects of the suite. It also provides more than sixty detailed examples designed to illustrate the concepts and patterns presented in this book. Built with JCAPS eDesigner, these graphical, component-based examples can easily be used by business analysts and others with or without strong coding skills.

Sample Content

Table of Contents

Preface        xiii
Acknowledgments    xxv
About the Authors    xxvii


SECTION I: PRELIMINARIES        1
Chapter 1: Enterprise Integration Styles        3

1.1 Introduction    3
1.2 File Transfer    3
1.3 Database Sharing         4
1.4 Remote Procedure Invocation    5
1.5 Messaging        6
1.6 Service Orchestration    7
1.7 Centralized versus Distributed    8
1.8 Chapter Summary        11

Chapter 2: Java CAPS Architecture        13
2.1 Introduction    13
2.2 Historical Note    13
2.3 Context    14
2.4 Java CAPS Architecture    16
2.5 Solution Development Stages    20
2.6 Chapter Summary        23

Chapter 3: Project Structure and Deployment    25
3.1 Introduction    25
3.2 From Logical Solution to Physical Deployment    26
3.3 Project Structure Considerations    26
3.4 Backup of Development Artifacts    36
3.5 Release Management    40
3.6 Deployment Architectures    50
3.7 Command-Line Build and Deployment    54
3.8 Chapter Summary        56

SECTION II: PATTERNS REVIEW AND APPLICATION        57
Chapter 4: Message Exchange Patterns        59

4.1 Introduction    59
4.2 Document Message    60
4.3 Command Message    60
4.4 Event Message    61
4.5 Request/Reply    63
4.6 Return Address    76
4.7 Correlation    77
4.8 Message Sequence     77
4.9 Message Expiration    82
4.10 Format Indicator        86
4.11 Data Streaming    88
4.12 Message Security    90
4.13 Chapter Summary    91

Chapter 5: Messaging Infrastructure        93
5.1 Introduction    93
5.2 Java Message Service (JMS)    94
5.3 JMS Implementation Interoperability    95
5.4 Using JMS to Integrate Non-Java Environments        95
5.5 Queues versus Topics    96
5.6 Sun SeeBeyond IQ Manager    97
5.7 Resilient JMS with JMS Grid     119
5.8 Competing Consumers    127
5.9 Point-to-Point Channel     131
5.10 Publish-Subscribe Channel     132
5.11 Datatype Channel     132
5.12 Invalid Message Channel     136
5.13 Dead Letter Channel     136
5.14 Guaranteed Delivery     140
5.15 Channel Adapter     150
5.16 Messaging Bridge     151
5.17 Message Bus     157
5.18 Chapter Summary     158

Chapter 6: Message Routing         161
6.1 Introduction     161
6.2 Overview         161
6.3 Fixed Router     163
6.4 Content-Based Router     165
6.5 Message Filter     168
6.6 Recipient List     169
6.7 Splitter     171
6.8 Aggregator     172
6.9 Resequencer     173
6.10 Composed Message Processor&n

Updates

Submit Errata

More Information