Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
JBoss: Developer's Guide
JBoss: Developer's Guide

JBoss: Developer's Guide: A complete guide to the JBoss ecosystem

eBook
€20.98 €29.99
Paperback
€36.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

JBoss: Developer's Guide

Developing and Hosting Scalable Web Applications

The JBoss Application Server is the oldest and the most popular product of the JBoss family. The community version was renamed to WildFly in 2013, and Red Hat began making the binaries for the Enterprise Application Platform (EAP) available for download for the developers.

This table shows the relation links between the community and commercial editions for the last three releases:

Community edition Enterprise edition
JBoss AS 7.4.0.Final JBoss EAP 6.3
JBoss AS 7.5.0.Final JBoss EAP 6.4
WildFly 10 JBoss EAP 7.0.0

JBoss EAP 7.0 is a certified Java EE 7 application server and supports both Java SE8 and Java EE7 specifications. After installing JBoss EAP, we will discover its features and architecture through practical samples. The reader will get familiar with simple administration and configuration tips to leverage...

Installation and configuration

For the next steps, we will work with JBoss EAP 7.0. We will also assume that you have a working JDK 8 installed. In the following section, we will interchangeably use WildFly, the JBoss Application Server (JBoss AS), and JBoss EAP to refer to the same notion. JBoss AS can be started in the standalone or domain modes.
The simplest way to install EAP 7.0 is to pick the ZIP archive on Red Hat customer portal and unzip it on your computer in a specific location. Here's the command to do that:

$ unzip jboss-eap-7.0.0.zip -d $HOME/books/jbossdev/installs

Start the server using the following commands:

$ export EAP_HOME=$HOME/books/jbossdev/installs/jboss-eap-7.0
$ cd $EAP_HOME/bin
$ ./standalone.sh

The JBoss Application Server can start services concurrently, only when needed, or on demand; making the initial boot process faster, non-critical services...

Architecture and features

According to an IDC study on the business value of Red Hat JBoss EAP in 2014, it appears that JBoss EAP:

  • Increased the number of business applications developed per year by 70%
  • Reduced the time per application developed by 35% per week
  • Reduced the instances of unplanned downtime per Year by 80%
  • Reduced the time to resolve planned downtime incidents (hours)

This is certainly due to the JBoss architecture which seems to be mostly acclaimed because of the following characteristics:

  • JBoss EAP is a modular and lightweight application server
  • An EAP server is a collection of modules or extensions
  • An extension defines one or more subsystems
  • A subsystem is a set of capabilities added to the server by an extension
  • A server is started with one profile
  • A profile is a collection of subsystems available to the server running the profile

In configuration files,...

Practical JBoss

In the following section, we will start the BeOSBank digitalization. Let me introduce you to the client who is responsible for maintaining BeOSBank's development environments: Doctor JBoss. You have a business meeting with the client; listen and improve the way he and his team are managing their environments today:

Doctor JBoss: Hi Mr, nice to meet you.

Client: How are you today? Nice to meet you too.

Doctor JBoss: Let me introduce my assistant (you). We are working in the same team and are glad to have this meeting with you.

You: Nice to meet you.

Client: We have a lot of problems with our development environments; we are running many release cycles, and since we are migrating to the new web portal in the next few months, we are still maintaining the old portal bug fix branch concurrently. We have the same issue when a configuration parameter is changing...

Summary

The JBoss EAP is a certified Java EE application server. In this chapter, we gave the reader a large overview in terms of administration, configuration, application development, and security features. We progressively learned how to set up a JBoss EAP installation, both in the standalone and domain modes. We have been able to verify the facilities offered by a centralized administration in the domain mode for a large installation. We also saw how to reuse JBoss EAP installation binaries for many installations and therefore optimize your migrations and patch installation. We covered how to create and manage JBoss resources and objects--through server groups, server instances, datasources, security domains, and using the JBoss CLI or the administration console.

In terms of application development, we created and deployed a clustered application. We have been able to implement...

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • 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 projects

Description

Have 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.

Who is this book for?

If 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.

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Aug 31, 2017
Length: 328 pages
Edition : 1st
Language : English
ISBN-13 : 9781788296199
Vendor :
Red Hat
Category :
Languages :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Aug 31, 2017
Length: 328 pages
Edition : 1st
Language : English
ISBN-13 : 9781788296199
Vendor :
Red Hat
Category :
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 124.97
Mastering JBoss Enterprise Application Platform 7
€45.99
Architecting Modern Java EE Applications
€41.99
JBoss: Developer's Guide
€36.99
Total 124.97 Stars icon

Table of Contents

9 Chapters
Introduction to the JBoss Ecosystem Chevron down icon Chevron up icon
Developing and Hosting Scalable Web Applications Chevron down icon Chevron up icon
Custom Web Deployment using Undertow and Swarm Chevron down icon Chevron up icon
Storing and Accessing Distributed Data Chevron down icon Chevron up icon
Exposing Data as a Service Chevron down icon Chevron up icon
Integrating Applications with JBoss Fuse Chevron down icon Chevron up icon
Delivers Information Safely and Connects IoT Chevron down icon Chevron up icon
Making Better Decisions in Your Applications Chevron down icon Chevron up icon
Developing Workflows Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
(2 Ratings)
5 star 50%
4 star 0%
3 star 50%
2 star 0%
1 star 0%
ignacio oliver Oct 28, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Me sirvió para entender varios puntos de los diferentes componentes que ofrece JBOSS.Me gustó el caso práctico y como se fue adaptando la idea al pasar por los difernetes capítulos.Aprovecho esta reseña para agradecerle al autor por el libro.
Amazon Verified review Amazon
Leo360 Apr 23, 2019
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
I was looking for a book that explains how to do JBoss development from ground up. How to build up a project from ground up.This book kinda assumes you're already quite familiar with jboss application development and talks about setting up a complicated clustered application and then talks about more advanced topics.I don't even understand how to write a normal standalone application yet and it already jumps into clusters.I haven't found the book to be very useful. It's by no means 'complete', but more like "Advanced clustered applications on JBoss" kinda book.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.