JBoss: Developer's Guide
eBook - ePub

JBoss: Developer's Guide

  1. 328 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

JBoss: Developer's Guide

Book details
Book preview
Table of contents
Citations

About This Book

Build your own enterprise applications and integration flows with JBoss and its productsAbout This Bookā€¢ Build fast, smart, and flexible applications using JBossā€¢ Couple one or more JBoss products to effectively solve various business problemsā€¢ Explore the JBoss product ecosystem for improving the performance of your projectsWho This Book Is ForIf you are a Java developer who wants to have a complete view of the JBoss ecosystem or quickly explore a specific JBoss Product, then this is the book you want. Integrators and consultants, familiar with JBoss, who want integrate several JBoss products within their ongoing project will also find this book useful.What You Will Learnā€¢ Create new applications or integrate existing systems with JBoss productsā€¢ Setup and manage a JBoss domainā€¢ Setup and manage a JBoss Fuse cluster with Fabric and Apache Karafā€¢ Create and deploy OSGi applications on JBoss Fuse containersā€¢ Manage enterprise data with JBoss Datagridā€¢ Aggregate various data sources with JBoss Data virtualization to offer data as a serviceā€¢ Optimize your business and workflows with both JBoss Business RulesManagement System and JBoss Business Process Management platforms.In DetailHave you often wondered what is the best JBoss product to solve a specific problem? Do you want to get started with a specific JBoss product and know how to integrate different JBoss products in your IT Systems? Then this is the book for you.Through hands-on examples from the business world, this guide presents details on the major products and how you can build your own Enterprise services around the JBoss ecosystem.Starting with an introduction to the JBoss ecosystem, you will gradually move on to developing and deploying clustered application on JBoss Application Server, and setting up high availability using undertow or HA proxy loadbalancers.As you are moving to a micro service archicture, you will be taught how to package existing Java EE applications as micro service using Swarm or create your new micro services from scratch by coupling most popular Java EE frameworks like JPA, CDI with Undertow handlers.Next, you will install and configure JBoss Data grid in development and production environments, develop cache based applications and aggregate various data source in JBoss data virtualization.You will learn to build, deploy, and monitor integration scenarios using JBoss Fuse and run both producers/consumers applications relying on JBoss AMQ.Finally, you will learn to develop and run business workflows and make better decisions in your applications using Drools and Jboss BPM Suite Platform.Style and ApproachThe book works through the major JBoss products, with examples and instructions to help you understand each product and how they work together.

Frequently asked questions

Simply head over to the account section in settings and click on ā€œCancel Subscriptionā€ - itā€™s as simple as that. After you cancel, your membership will stay active for the remainder of the time youā€™ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlegoā€™s features. The only differences are the price and subscription period: With the annual plan youā€™ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, weā€™ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access JBoss: Developer's Guide by Elvadas Nono Woguia in PDF and/or ePUB format, as well as other popular books in Computer Science & Entreprise Applications. We have over one million books available in our catalogue for you to explore.

Information

Year
2017
ISBN
9781788292924
Edition
1

Integrating Applications with JBoss Fuse

In Chapter 5, Exposing Data as a Service, we covered enterprise data integration in the data center through virtualization. Data virtualization is centered on data views and works on the principle of providing data on demand and covers both internal and external data sources. Most integration use cases with data beyond the data center are currently governed by some operational constraints that are not completely fulfilled or met by data virtualization. Among them we can list
  • Complex event processing
  • Messaging and interoperability
  • Routing and service orchestration
To covers all these constraints and more, computer science invented the Enterprise Services Bus (ESB) to provide a reliable communication layer between two or more enterprise components. ESB defines a set of rules and principles for integrating numerous applications together over a bus-like infrastructure. The JBoss ecosystem provides a lightweight and modular service bus, called JBoss Fuse. This chapter is organized around application and system integration with JBoss Fuse. After a brief presentation of the JBoss fuse architecture, the chapter will progressively teach you how to develop, deploy, and monitor various OSGi integration scenarios on the JBoss Fuse Platform. The chapter also explores some integration patterns with Apache Camel through illustrated samples from the global integration project.

JBoss Fuse architecture

JBoss Fuse is a combination of several open source technologies, including Apache Camel, Apache CXF, Apache ActiveMQ, Apache Karaf, and Fabric8 in a single integrated distribution:
Apache Camel provides a powerful routing engine, on top of which developers can build integration scenarios.
Apache CXF provides both REST and SOAP web services support, while Apache AMQ brings an integrated and robust messaging system to the platform. While working with JBoss Fuse, you can choose either Apache Karaf or JBoss EAP distribution. With the Karaf distribution, you can also opt for a standalone installation or a clustered environment with a container managed by Fabric8.
The JBoss Fuse-based integration applications can also be run on a fully certified Java EE platform, such as JBoss EAP.
Fuse Integration Services (FIS) extends the Fuse integration capabilities to the OpenShift Platform-as-a-Service (PaaS) solution. With FIS, users may also choose to run their fuse scenarios on Camel Boot.
The core integration scenario development process is basically the same--it is independent of your target deployment options (Fuse on the standalone Karaf, Fuse on the Karaf Fabric8 cluster, Fuse on the JBoss EAP, or Fuse Integration Services with Openshift). The configuration and deployment processes, on the other hand, are very specific to the target platform, including:
  • Properties, placeholders, and configuration files for applications deployed on theFuseOnEAP/Fuse standalone Karaf installation
  • Profiles and JVM containers for Fabric8 deployments
  • Config maps, secrets, templates, and image deployments on pods for Openshift/Kubernetes installation
In the subsequent chapters, we will be working with the main Fuse distribution based on Apache Karaf.

Installing JBoss Fuse

While using Apache Karaf, Fuse can be installed as a standalone container or clustered platform using Fuse Fabric. The fabric cluster configuration comes on top of the basic standalone installation.

Basic Fuse installation

Download the Red Hat JBoss Fuse ZIP file from Redhat Developper Portal. While writing this book, the latest version is jboss-fuse-karaf-6.3.0.redhat-187.zip.
Unzip the downloaded ZIP file and use the cd command to move to the extracted directory:
$ unzip jboss-fuse-karaf-6.3.0.redhat-187.zip
$ cd jboss-fuse-6.3.0.redhat-187/
To enable remote access to the container, you must create at least one user in the ./etc/users.properties file. It is recommended that you create at least one user with...

Table of contents

  1. Title Page
  2. Copyright
  3. Credits
  4. About the Author
  5. About the Reviewer
  6. www.PacktPub.com
  7. Customer Feedback
  8. Preface
  9. Introduction to the JBoss Ecosystem
  10. Developing and Hosting Scalable Web Applications
  11. Custom Web Deployment using Undertow and Swarm
  12. Storing and Accessing Distributed Data
  13. Exposing Data as a Service
  14. Integrating Applications with JBoss Fuse
  15. Delivers Information Safely and Connects IoT
  16. Making Better Decisions in Your Applications
  17. Developing Workflows