JBoss ESB Beginner’s Guide

A comprehensive, practical guide to developing service-based applications using the Open Source JBoss Enterprise Service Bus with this book and ebook

JBoss ESB Beginner’s Guide

Beginner's Guide
Len DiMaggio, Kevin Conner, Magesh Kumar B, Tom Cunningham

A comprehensive, practical guide to developing service-based applications using the Open Source JBoss Enterprise Service Bus with this book and ebook
$10.00
$49.99
RRP $29.99
RRP $49.99
eBook
Print + eBook
$12.99 p/month

Want this title & more? Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.
+ Collection
Free sample

Book Details

ISBN 139781849516587
Paperback320 pages

About This Book

  • Develop your own service-based applications, from simple deployments through to complex legacy integrations
  • Learn how services can communicate with each other and the benefits to be gained from loose coupling
  • Contains clear, practical instructions for service development, highlighted through the use of numerous working examples

Who This Book Is For

This book is intended for Java programmers although you don’t need previous experience with middleware such as application servers or ESBs.

Table of Contents

Chapter 1: Getting Started
Downloading JBoss ESB
Downloading and installing an application server
Time for action – downloading and installing JBoss AS
Choosing which JBoss ESB distribution is right for you
Time for action – downloading and installing jbossesb-4.10.zip
Time for action – deploying JBoss ESB to JBoss AS
Keeping things slim
Time for action – modifying a profile
Testing the installation
Time for action – testing the installation
Looking at logs
Time for action – viewing the deployment of an application in the server.log
Consoles
Time for action – examining an MBean
What do you do if you see an error?
Summary
Chapter 2: Deploying your Services to the ESB
The quickstarts
Anatomy of a deployment
Time for action – deploying the quickstart
Deploying a JBoss ESB archive remotely
Time for action – accessing the admin console
Time for action – performing the deployment
Introduction to JBDS
Time for action – downloading JBDS
Time for action – installing JBDS
Running JBDS
Time for action – setting up the ESB runtime in JBDS
Time for action – using JBDS to run the quickstart
Deploying the quickstart in JBDS
Time for action – deploying the quickstart
Summary
Chapter 3: Understanding Services
Preparing JBoss Developer Studio
Time for action – opening the Chapter3 app
Examining the structure of ESB messages
Time for action – printing the message structure
Time for action – examining the main payload
Time for action – examining the header
Configuring through the ConfigTree
Time for action – examining configuration properties
Service pipeline and service invocation
Time for action – examining exceptions
Time for action – examining exceptions
Composite services
Transactions
Security context
Summary
Chapter 4: JBoss ESB Service Actions
Understanding actions
What is an action class?
The action chain
Custom actions
Out-of-the-box (OOTB) actions—how and when to use them
Time for action – running the quickstart
Time for action – running the quickstart
Time for action – implementing content-based routing
Time for action – let's see how notifiers work
Chapter bibliography
Summary
Chapter 5: Message Delivery on the Service Bus
The bus
Preparing JBoss Developer Studio
Time for action – creating File Filters
Time for action – opening the Chapter5 app
Transport providers
Time for action – using a File provider
Time for action – testing InVM transactions
Time for action – using lock-step delivery
Time for action – increasing listener threads
Provider configurations
Summary
Chapter 6: Gateways and Integrating with External Clients
What is a gateway and a notifier?
Preparing JBoss Developer Studio
The JMS gateway
Time for action – using the JMS gateway
The File gateway
Time for action – using the File gateway
The HTTP gateway
Time for action – using the HTTP gateway
The Camel gateway
The FTP gateway
The UDP gateway
Time for action – using the UDP gateway
The JBoss Remoting gateway
Time for action – using the JBR gateway
The Groovy gateway
The SQL gateway
Time for action – using the SQL gateway
The JCA gateway
Summary
Chapter 7: How ESB Uses the Registry to Keep Track of Services
The registry—what, how, and why?
UDDI—the registry's specification
jUDDI—JBoss ESB's default registry
Time for action – looking at the jUDDI registry database
Other supported UDDI providers
Custom registry solutions
End-point reference
Time for action – looking at EPRs
JAXR—introducing the Java API for XML registries
Federation
Load balancing
Registry maintenance and performance
Registry interceptors
Monitoring
Time for action – querying the UDDI server
Chapter bibliography
Summary
Chapter 8: Integrating Web Services with ESB
Preparing JBoss Developer Studio
Time for action – preparing the Chapter8 application
Time for action – switching consoles
Exporting ESB services as a web service
Time for action – running the sample
Time for action – securing the sample
ESB web service client
Time for action – ESB SOAP client
Time for action – Incorporating the Wise SOAP Client
Co-located web services
Time for action – incorporating a SOAPProcessor client
Web service proxies
Time for action – incorporating SOAPProxy into the application
Tweaking HttpClient
SOAPProxy security pass through
Time for action – SOAPProxy security pass through
Summary

What You Will Learn

  • Install, configure, administer, start and stop the JBoss Application Server (AS) and then deploy JBoss ESB onto JBoss AS.
  • Run the JBoss ESB example “quickstart” sample applications, so that you understand the applications’ output, and how to debug the JBoss ESB application failures
  • Build custom JBoss ESB applications with JBoss ESB’s out-of-the-box actions or your own action code
  • Use a service registry to provide access to your services and store and access your metadata
  • Integrate your custom application with other applications through the protocols supported by JBoss ESB gateway listeners
  • See how the behavior of services can alter through content-based routing and message transformation
  • Use other JBoss open source projects such as the JBoss AS and JBDS with JBoss ESB to create, deploy, and administer services
  • Integrate existing web services with your applications’ services over JBoss ESB

 

In Detail

You may often have wondered if there is a better way to integrate disparate applications than error-prone "glue code". JBoss ESB is just that solution as it can help solve common but difficult problems: writing new code that can be re-used and maintained, and integrating together new and old systems. JBoss ESB takes care of routing and processing service requests, leaving you to concentrate on your system's design and development.

The JBoss ESB Beginner’s Guide gets you up and running quickly with JBoss ESB to build your own service-based applications, with enhanced communication and organization. You will learn how to create new applications or to integrate combinations of new and legacy applications. Detailed examples get you creating your own services, and deploying and administering them with other JBoss Open Source tools.

Through hands-on examples, this book shows you how JBoss ESB enables you to design your system as services that are loosely coupled together by sending and receiving messages. Your services can execute your own custom code, or make use of JBoss ESB’s extensive set of out-of-the-box actions to perform specific tasks. The JBoss ESB Beginner’s Guide shows you the tools you can use to build re-usable and maintainable service-based applications with JBoss ESB, and teaches you by example how to use these tools.

Authors

Table of Contents

Chapter 1: Getting Started
Downloading JBoss ESB
Downloading and installing an application server
Time for action – downloading and installing JBoss AS
Choosing which JBoss ESB distribution is right for you
Time for action – downloading and installing jbossesb-4.10.zip
Time for action – deploying JBoss ESB to JBoss AS
Keeping things slim
Time for action – modifying a profile
Testing the installation
Time for action – testing the installation
Looking at logs
Time for action – viewing the deployment of an application in the server.log
Consoles
Time for action – examining an MBean
What do you do if you see an error?
Summary
Chapter 2: Deploying your Services to the ESB
The quickstarts
Anatomy of a deployment
Time for action – deploying the quickstart
Deploying a JBoss ESB archive remotely
Time for action – accessing the admin console
Time for action – performing the deployment
Introduction to JBDS
Time for action – downloading JBDS
Time for action – installing JBDS
Running JBDS
Time for action – setting up the ESB runtime in JBDS
Time for action – using JBDS to run the quickstart
Deploying the quickstart in JBDS
Time for action – deploying the quickstart
Summary
Chapter 3: Understanding Services
Preparing JBoss Developer Studio
Time for action – opening the Chapter3 app
Examining the structure of ESB messages
Time for action – printing the message structure
Time for action – examining the main payload
Time for action – examining the header
Configuring through the ConfigTree
Time for action – examining configuration properties
Service pipeline and service invocation
Time for action – examining exceptions
Time for action – examining exceptions
Composite services
Transactions
Security context
Summary
Chapter 4: JBoss ESB Service Actions
Understanding actions
What is an action class?
The action chain
Custom actions
Out-of-the-box (OOTB) actions—how and when to use them
Time for action – running the quickstart
Time for action – running the quickstart
Time for action – implementing content-based routing
Time for action – let's see how notifiers work
Chapter bibliography
Summary
Chapter 5: Message Delivery on the Service Bus
The bus
Preparing JBoss Developer Studio
Time for action – creating File Filters
Time for action – opening the Chapter5 app
Transport providers
Time for action – using a File provider
Time for action – testing InVM transactions
Time for action – using lock-step delivery
Time for action – increasing listener threads
Provider configurations
Summary
Chapter 6: Gateways and Integrating with External Clients
What is a gateway and a notifier?
Preparing JBoss Developer Studio
The JMS gateway
Time for action – using the JMS gateway
The File gateway
Time for action – using the File gateway
The HTTP gateway
Time for action – using the HTTP gateway
The Camel gateway
The FTP gateway
The UDP gateway
Time for action – using the UDP gateway
The JBoss Remoting gateway
Time for action – using the JBR gateway
The Groovy gateway
The SQL gateway
Time for action – using the SQL gateway
The JCA gateway
Summary
Chapter 7: How ESB Uses the Registry to Keep Track of Services
The registry—what, how, and why?
UDDI—the registry's specification
jUDDI—JBoss ESB's default registry
Time for action – looking at the jUDDI registry database
Other supported UDDI providers
Custom registry solutions
End-point reference
Time for action – looking at EPRs
JAXR—introducing the Java API for XML registries
Federation
Load balancing
Registry maintenance and performance
Registry interceptors
Monitoring
Time for action – querying the UDDI server
Chapter bibliography
Summary
Chapter 8: Integrating Web Services with ESB
Preparing JBoss Developer Studio
Time for action – preparing the Chapter8 application
Time for action – switching consoles
Exporting ESB services as a web service
Time for action – running the sample
Time for action – securing the sample
ESB web service client
Time for action – ESB SOAP client
Time for action – Incorporating the Wise SOAP Client
Co-located web services
Time for action – incorporating a SOAPProcessor client
Web service proxies
Time for action – incorporating SOAPProxy into the application
Tweaking HttpClient
SOAPProxy security pass through
Time for action – SOAPProxy security pass through
Summary

Book Details

ISBN 139781849516587
Paperback320 pages
Read More