JBoss ESB Beginner’s Guide
Formats:
save 15%!
save 37%!
Free Shipping!
| Also available on: |
|
- 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
Book Details
Language : EnglishPaperback : 320 pages [ 235mm x 191mm ]
Release Date : January 2012
ISBN : 1849516588
ISBN 13 : 9781849516587
Author(s) : Len DiMaggio, Kevin Conner, Magesh Kumar B, Tom Cunningham
Topics and Technologies : All Books, Beginner's Guides, JBoss, Open Source
Table of Contents
Prologue—the need for an ESBPreface
Chapter 1: Getting Started
Chapter 2: Deploying your Services to the ESB
Chapter 3: Understanding Services
Chapter 4: JBoss ESB Service Actions
Chapter 5: Message Delivery on the Service Bus
Chapter 6: Gateways and Integrating with External Clients
Chapter 7: How ESB Uses the Registry to Keep Track of Services
Chapter 8: Integrating Web Services with ESB
Appendix A: Where to go Next with JBoss ESB?
Appendix B: Pop-quiz Answers
Index
- Preface
- What is "JBoss"?
- JBoss is also a community
- What is Open Source and what are its advantages?
- What is middleware?
- What is an SOA? What is an ESB?
- What is JBoss ESB?
- What capabilities does JBoss ESB have?
- Why JBoss ESB?
- What is JBoss ESB's relationship with SOA?
- What resources does the JBoss ESB community provide?
- Online forums with a difference
- The user forum
- The developer forum
- Other useful documents
- Mailing lists
- JIRA announcements and bugs
- Live chat
- What are the JBoss project and product models?
- What this book covers
- Chapter bibliography
- 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
- Reviewing the contents of jbossesb-4.10.zip
- Time for action – deploying JBoss ESB to JBoss AS
- Keeping things slim
- Time for action – modifying a profile
- Deployable Java archives
- Testing the installation
- Time for action – testing the installation
- Looking at logs
- Finding the 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
- Defining the providers, services, and listeners
- Other deployment files
- Helloworld quickstart
- 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
- Examining the message
- Time for action – printing the message structure
- Message implementations
- The body
- Time for action – examining the main payload
- The header
- Routing information
- Message identity and correlation
- Service action
- Time for action – examining the header
- The context
- Message validation
- Configuring through the ConfigTree
- Configuring properties in the jboss-esb.xml file
- Traversing the ConfigTree hierarchy
- Accessing attributes
- Time for action – examining configuration properties
- Service pipeline and service invocation
- Lifecycle methods
- Processing methods
- Time for action – examining exceptions
- Dynamic methods
- MEP (Message Exchange Pattern) and responses
- ServiceInvoker
- Synchronous delivery
- Asynchronous delivery
- Time for action – examining exceptions
- Composite services
- Service Chaining
- Service Continuations
- Transactions
- Security context
- Summary
- Chapter 4: JBoss ESB Service Actions
- Understanding actions
- What is an action class?
- The action chain
- Custom actions
- Lifecycle actions
- JavaBean actions
- Custom actions using annotations
- Lifecycle annotations
- Processing annotations
- Out-of-the-box (OOTB) actions—how and when to use them
- Scripting
- Services—invoking EJBs
- Web services/SOAP
- Time for action – running the quickstart
- Transformers/converters
- Smooks message fragment processing
- Time for action – running the quickstart
- Routers
- Time for action – implementing content-based routing
- Notifiers
- Time for action – let's see how notifiers work
- Business Process Management
- Drools
- BPEL processes
- 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
- InVM transport
- Transactions with InVM transport
- Time for action – testing InVM transactions
- InVM message optimization
- Controlling InVM message delivery
- Time for action – using lock-step delivery
- InVM threads
- Time for action – increasing listener threads
- Provider configurations
- JMS provider
- FTP provider
- SQL provider
- File provider
- Summary
- Chapter 6: Gateways and Integrating with External Clients
- What is a gateway and a notifier?
- How do we compose messages?
- Simple composer example
- 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 HTTP bus and HTTP provider
- 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
- Configuring jUDDI for different protocols
- Looking at jUDDI's database
- 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
- Examining jUDDI query counts
- 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
- Action implementation
- Securing EBWS
- Time for action – securing the sample
- Other security mechanisms
- ESB web service client
- soapUI client
- Time for action – ESB SOAP client
- Request processing
- Response processing
- The Wise SOAPClient
- Time for action – Incorporating the Wise SOAP Client
- Request and response processing
- Custom handlers
- Co-located web services
- SOAPProcessor
- Time for action – incorporating a SOAPProcessor client
- Web service proxies
- SOAPProxy
- Time for action – incorporating SOAPProxy into the application
- Tweaking HttpClient
- SOAPClient
- SOAPProxy
- Sample properties
- Custom configurator
- SOAPProxy security pass through
- Cleaning up deployments
- Time for action – SOAPProxy security pass through
- Summary
- Appendix A: Where to go Next with JBoss ESB?
- Creating service definitions with the JBDS ESB editor
- Using other UDDI providers (HP Systinet and SOA Software Service Manager)
- Using other JBoss project technologies
- JBoss Drools and rules-based services
- JBoss Riftsaw and BPEL services
- JBoss jBPM and Business Process Management
- Using Maven with JBoss ESB
- Compiling with Maven
- ESB packaging with Maven
- How to test your ESB services
- Testing a single action
- AbstractTestRunner
- TestMessageStore
- Arquillian
- Cargo
- Chapter bibliography
Len DiMaggio
Kevin Conner
Magesh Kumar B
Tom Cunningham
Code Downloads
Download the code and support files for this book.
Submit Errata
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
Sample chapters
You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.
- 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
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.
Part of Packt’s Beginner’s Guide series, each chapter contains practical examples with step-by-step instructions and plenty of screenshots to guide you through the implementation of JBoss ESB.
This book is intended for Java programmers although you don’t need previous experience with middleware such as application servers or ESBs.

