CARVIEW |
JBoss ESB Beginner’s Guide
Formats:

save 15%!
save 44%!

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
Sample chapters
You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.
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.
What you will learn from this book
- 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
Special Offers

Annual subscription:
$220.00 per annum
Monthly subscription:
$21.99 per month
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.
Approach
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.
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.
Alternative Books
Have a look at these alternative products. Remember that if you buy two eBooks, you get 50% off both.
-
- Learn how Dynamics NAV ERP suite is set up and customized for various industries
- Integrate numerous parts of a company's operations including financial reporting, sales, order management, inventory, and forecasting
- Develop complete applications and not just skeleton systems
- Covers the design and implementation of two new add-on services: The Squash application and the Storage & Logistics application
- Also usable for previous versions such as 3.x, 4.0, and 5.0
- Easy-to-read style, packed with hard-won practical advice
- Real-world examples with step-by-step explanations
-
- Technical foundations of the Documentum platform
- Over 200 practice questions and three practice tests
- Up-to-date information on version 6.5 SP2 including presets, aspects, new Webtop interface, lightweight types, Composer, and DFS
- Over 200 illustrations and many more examples from a real-life business scenario
-
- Easy-to-follow introduction to OGRE 3D
- Create exciting 3D applications using OGRE 3D
- Create your own scenes and monsters, play with the lights and shadows, and learn to use plugins
- Get challenged to be creative and make fun and addictive games on your own
- A hands-on do-it-yourself approach with over 100 examples
-
- Written in an accessible readable style, this practical book will help you to successfully master user authentication, authorization, and user management in Siebel CRM
- Set up the organization and position hierarchy as well as create user accounts in step-by-step examples
- Instructions valid for versions 8.0, 8.1, and 8.2
-
- Optimize time-consuming tasks efficiently using three Oracle database utilities
- Get to grips with user session management issues
- Boost database defences with Oracle Wallet Manager and Security
- A focused handbook with practical content and real-life scenarios
-
- The first book on the newly released Inkscape version 0.48, with an exclusive focus on web design
- Incorporate eye-catching designs, charts, and other visual elements to spice up your web pages
- Learn how to create your own Inkscape templates in addition to using the built-in ones
- Written in a simple illustrative manner, which will appeal to web designers and experienced Inkscape users alike
-
- Focusses on 3 key areas of development with Seam – testing, persistence and security
- Test your site to ensure efficiency
- Learn how to develop persistent applications
- Secure your web application with user authentication and OpenID.
-
- Covers the full spectrum of features offered by the NetBeans IDE
- Discover ready-to-implement solutions for developing desktop and web applications
- Learn how to deploy, debug, and test your software using NetBeans IDE
- Another title in Packt's Cookbook series giving clear, real-world solutions to common practical problems
-
New jQuery Book Released jQuery Tools UI Library will show you how to add useful functionality to your website, using the compact but powerful jQuery Tools library.Get inspiration for developing your own ideas with the book.
Learn More Download a free chapter - Quickly look up features of the jQuery library
- Step through each function, method, and selector expression in the jQuery library with an easy-to-follow approach
- Understand the anatomy of a jQuery script
- Write your own plug-ins using jQuery's powerful plug-in architecture
- Written by the creators of learningquery.com
- Check out the new Learning jQuery Third Edition here
-
- An introduction to jQuery that requires minimal programming experience
- Detailed solutions to specific client-side problems
- For web designers to create interactive elements for their designs
- For developers to create the best user interface for their web applications
- Packed with great examples, code, and clear explanations
- Revised and updated version of the first book to help you learn jQuery
![]() |
RSS Feed |
![]() |
Sign up to Packt's newsletter |
![]() |
Follow Packt at Twitter |
![]() |
Join our Facebook Group |
Customer service body text... insert content here.
Returns Centre body text... insert content here.
Packt Updates
To submit your images Click Here
Click here to view Packt's cookie policy. This explains the cookies on Packt's website, and why we use them. It also explains information on how to manage your cookies.
By closing this banner, you are consenting to our use of cookies on your device, unless you have disabled them in your browser.