This intensive 4-day course on Enterprise Integration with Spring, you will be introduced to the capabilities of the new products found in the continually growing SpringSource product portfolio. An EAI-type application will be created during the course to emphasize the contextual use of each of the SpringSource products.
An Introduction to the SpringSource Product Portfolio
- A Quickstart to the SpringSource Server Platforms: tc Server and dm Server
- Installing and Configuring tc Server
- Application Deployment with tc Server
- Application Monitoring with tc Server
- Application Management with tc Server
- Installing and Configuring dm Server
- A Brief Introduction to OSGi
- Application Deployment and OSGi with dm Server
- Beginning an EAI-style application
Supporting the Enterprise with SpringBatch and SpringSecurity
- An Overview of SpringBatch
- An Overview of SpringSecurity
- Integrating Batch and SpringSecurity into the EAI-style application.
Exchanging Enterprise Information with ActiveMQ and SpringWeb Services
- Creating topologies with ActiveMQ and Spring JMS
- Consumer and destination options in ActiveMQ
- Message persistence with ActiveMQ
- Embedding ActiveMQ in Java applications and containers
- Networks of Brokers
An Overview of Spring WebServices
- Building a SOAP Web service with Spring-WS
- Implementing a Web service that uses WS-Addressing and WS-Security with Spring-WS
- Building a REST Web service
- Integrating ActiveMQ and Spring WebServices into the EAI-style application.
Spring Integration and Bringing it all together
- A “quickstart” for Spring Integration
- Creating a message bus, channels, a file adapter and a service activator.
- Understanding Channels and Endpoints
- Understanding Channels and Adapters
- Completing the EAI-style application.
DETAILS
An Introduction to the SpringSource Product Portfolio
In the morning of Day 1, you will be introduced to an overview of the capabilities of the products found in the SpringSource portfolio. You will learn the context in which each product shines. Once you are familiar with the complete product offering, you will learn about the two platform offerings from SpringSource, the Tomcat/AMS-based tc Sever and the OSGi-based dm Server.
A Quickstart to the SpringSource Server Platforms: tc Server and dm Server
You will learn how tc Server compares to Apache Tomcat and you will installing and configuring the tc Server. By deploying a sample application to tc Server, you will understand the management capabilities of tc Server.
You will learn about the next generation of the Tomcat server and its enhancements compared to Apache Tomcat. You will spend the rest of the afternoon using the features of tc Server such as walking through the configuration and monitoring capabilities of tc Server and learning how to set up tc Server to harvest and report valuable deployed application and JVM diagnostic information.
In the afternoon of Day 1 you will learn about dm Server, SpringSource’s OSGi platform. You will learn the building blocks of dm Server and its support for web applications. You will understand its additional features compared to tc Server such as JNDI and built in connection pools and data source definitions. Via installation, running and deploying to the dm Server you will understand the value of OSGi and the Equinox console.
Upon completion of Day 1 you will understand how to deploy, manage and monitor an enterprise-level, spring-powered application. In the following days, you will learn how to enhance your Spring application to integrate several enterprise applications together with the SpringSource portfolio capabilities. This is true Enterprise Application Integration (EAI)
Supporting the Enterprise with SpringBatch and SpringSecurity Overview of SpringBatch
The morning of Day 2 will provide a quick start to building and running a Spring Batch application, using off-the-shelf components from Spring Batch. You will understand the core meta-data model and how to use JobParameters to change the way a job is executed at runtime. You will launch a simple file copy using Spring Batch. You will learn about the options and extension points for adding simple business application logic to a Spring Batch project such as commit intervals, and skip limits.
Before lunch you will understand how to read data from a database using JDBC and/or Hibernate and write to XML. To conclude the mornings session, you will learn about the listener model and extension points through implementing a stateful listener that passes JobParameters in to a step of the evolving enterprise application.
Overview of SpringSecurity
In the afternoon of Day 2 you will be provided an overview of the architecture of SpringSecurity. You will learn about the authentication repositories and how to write a UserDetailsService. You will then learn about using directory services and federated identity. You will learn how to build your own authentication support. Advanced authentication and enterprise single sign on will be addressed and then the topics will turn to authorization and access control. As an example, how to protect URL patterns in a RESTful architecture will be discussed.
Exchanging Enterprise Information with ActiveMQ and SpringWeb Services
Day 3 begins with a quick overview of Spring JMS and continues with a quick dive into the underlying message oriented middleware, ActiveMQ. You will install ActiveMQ and create an application using messaging with ActiveMQ and Spring JMS. You will learn that there are a myriad of options available for configuring consumers and for configuring destinations in ActiveMQ. Message persistence with ActiveMQ will also be addressed.
Before the morning concludes, you will learn, through example, how to embed ActiveMQ in Java applications and containers. You will be introduced to how to design and implement an ActiveMQ/Spring JMS topology by working with embedded brokers. You will learn about creating topologies with ActiveMQ and Spring JMS. You will understand how to configure a network of brokers in your application-rich network topology.
SpringWeb Services
In the afternoon of Day 3, you will be able to answer the question “How can I write web services efficiently and with the best technologies?” Day 3 begins with a “quick start” to Spring-WS by showing you how to build a SOAP web service with Spring-WS. The afternoon continues with an introduction to WS-addressing and WS-Security. You will implement a web service using WS-Addressing and WS-Security with Spring-WS. You will learn when to use these two technologies and how interoperable they can be. To conclude Day 3 you will learn about REST and, by implementing a REST web service, you will understand how REST is different than SOAP and WS-* and when it is appropriate to use REST.
Spring Integration and Bringing it all together
Day 4 begins by showing you how SI is a simplifying technology that applies the concept of inversion of control to runtime concerns such as when a source should be polled for new messages and where a message should be delivered. You will learn how this improves the separation of concerns throughout your collaborating applications and increases the testability of messaging between applications.
In the morning of Day 4, you will get up and running with a simple SI example. You will learn how to create a message bus, channels, a file adapter and a service activator. You will learn key concepts such as how endpoints connect messaging components to channels and how channels convey messages between endpoints. You will learn how to configure channels, handler and endpoints and understand the SI namespace support.
In the afternoon of Day 4, you will learn about managing complex messaging scenarios such as splitting a message into multiple independent messages, tuning concurrency to maximize message throughput and response times and using specialized channels to employ specific messaging behavior. The day concludes with the completion of your EAI-style, SpringSource-powered application.