JBoss EAP Configuration, Deployment, and Administration

Detailed demonstrations to help you harness one of the world's top open source JEE projects
3.7 (24 ratings) Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
429 students enrolled
$85
Take This Course
  • Lectures 40
  • Contents Video: 2 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 12/2014 English

Course Description

JBoss EAP Configuration, Deployment, and Administration will teach you everything you need to know in a hands-on, interactive way. You'll follow step-by-step instructions that walk you through the key features of JBoss. Beyond that we will dive deep into the inner workings of Java, which will help you troubleshoot problems quickly and easily. Learn about the most popular ways to configure JBoss and ensure maximum uptime and scalability for your applications. Take a tour of the most popular Java Enterprise features, beginning with databases and JMS, and rounding off at logging. Along the way, we'll dive into troubleshooting common problems such as out of memory errors and performance optimization.

JBoss EAP Configuration, Deployment, and Administration will highlight the differences between standalone and domain mode, explaining why you would use domain mode and how it differs from the traditional standalone approach. We'll dive into configuring databases and message queues and also show you how to integrate them into your application when running on JBoss.

We continue our journey with setting up HTTP request load balancing, and setting up a cluster of highly available JBoss nodes, while demonstrating how easy it is to finely manage classloading dependencies for your applications. We cover some extra performance features and new security features such as the Vault, which you can use to encrypt plain-text passwords in configuration files. We talk about some development features new with JBoss EAP, such as Arquillian, a test harness for testing CDI and EJB beans without a full blown startup/shutdown container cycle. Lastly, we'll talk in depth about JBoss logging, how to use the logging framework provided by the container or roll your own logging in your application.

JBoss EAP Configuration, Deployment, and Administration will quickly turn you into a well-rounded JBoss administrator. We'll focus on key features of the JBoss Application Server that will make you a power user, quickly and easily.

About the Author

Jason Shepherd is a technical support engineer working for Red Hat in Australia. He's helped countless users with Jboss problems, and has experience with more types of problems with Jboss than you can imagine. Before working for Red Hat he worked as a Java developer writing web applications, and web service implementations for a major travel company. He has first hand experience with enterprise application development in real-life situations.

What are the requirements?

  • System administrators should have a basic knowledge of Java, but don't require in-depth knowledge about Java development or Java Enterprise Edition.
  • Java Application developers should be familiar with Linux, but not necessarily familiar with previous versions of JBoss.
  • Some exposure to other JEE containers would be useful, but not essential.

What am I going to get from this course?

  • Manage multiple servers centrally in domain mode.
  • Utilize the database and messaging features of JBoss. Harness the power of the application server to manage database connections, and connect to other services with JMS Messaging.
  • Create a farm of JBoss nodes that distribute loads amongst many Java Virtual Machines. Be ready for Java Virtual Machine failures, with High Availability.
  • Finely control the classloading hierarchy to provide exactly the right libraries to your application, and hide those that are not needed.
  • Increase the performance of asynchronous code, by calling asynchronous libraries and code using the async servlet.
  • Secure the server, with encrypted HTTP connections, encrypted passwords, and hidden management consoles.
  • Test application features quickly during development using Arquillian and unit tests
  • Master application server logging configuration to get exactly the right information about what's happening inside JBoss EAP

What is the target audience?

  • JBoss EAP Configuration, Deployment, and Administration is ideal for system administrators and Java application developers.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Standalone versus Domain Mode
01:32

If you're running a single instance of JBoss, standalone mode is the simplest way to run JBoss AS 7.

03:59

Need to share configuration between server instances? Now it's easy using domain mode. You can centralize your configuration and management of many server instances deployed across multiple hosts.

03:34

Got an application you need to deploy? The simplest way is to run standalone mode and deploy it as demonstrated in this video.

03:26

If you need to deploy the same application to multiple JBoss instances at the same time, you can utilize domain mode and server groups to deploy to all member of that group at once.

03:39

Got an application that you need to deploy on multiple server groups? You can do this quickly and easily using domain mode.

Section 2: Adding and Configuring Databases and Message Queues and Using Them from Your App
02:17

Utilize the application server's database connectivity for connection pooling and transaction management.

02:00

Need to deploy a datasource in domain mode? The easiest way is through the CLI.

02:37

Wondering why editing configuration files is not the most desirable option? Wondering whether to use a non-XADatasource or an XADatasource? We'll explain why in this section.

04:26

Utilize the application server's database connectivity for connection pooling and JEE features like the Java Persistence and Java Connectivity APIs.

01:50

Database connections are expensive to create. Learn how to optimize their use.

01:25

Need to send messages using the application server? You'll need to define a queue on which to listen and send messages.

06:29

The JMS specification defines a standard way to execute messaging in Java. JBoss AS 7 implements JMS 1.1 and we'll discover how to utilize it.

Section 3: Configuring the Java Virtual Machine (JVM) for Troubleshooting and Diagnostics
04:43

Improve the performance of your application running on JBoss by choosing an appropriate garbage collection strategy.

02:13

Get insights into your Java virtual machine to diagnose garbage collection problems.

04:11

Get insights into your Java virtual machine to diagnose the cause of high CPU or a locked up JVM.

02:30

Get insight into the garbage collection happening in your JVM to help diagnose memory leaks and poor performance.

03:01

Narrow down the cause of high CPU in a Java application in order to prevent it.

06:42

Prevent the JVM from crashing with OutOfMemory errors.

Section 4: Clustering and Load Balancing for Web Applications
03:26

Load balance a web request and reduce the impact of an outage by joining two or more JBoss instances in a cluster.

05:17

Using domain mode will allow you to keep all the server instances in the cluster configured the same and deploy an application to the entire cluster easily.

03:14

Have high load on your website? Need to add more JBoss instances to handle the load? Lean how to set up mod_cluster to load-balance requests between many JBoss instances running in domain mode.

04:14

Load balancing of JMS messaging allows JBoss to handle a higher load of messages than would be possible on a single node.

Section 5: Classloading with JBoss Modules
03:20

In previous versions, classes needed by JBoss were also available on your application. While it is necessary for JBoss to provide some classes that provide the features of the Java Enterprise Edition specification, some classes are just implementation details and should not interfere with your application.

02:31

JBoss is a Java Enterprise Edition 6 implementation, and therefore provides the functionality defined by that specification. However, it only loads the modules required to implement that functionality when certain trigger conditions are met.

02:28

If JBoss is implicitly loading a module that you do not want to be part of your application, you can explicitly exclude it so it doesn't interfere with the application.

05:08

You'll learn how to package your application as a .ear file, as well as about the precedence of classloading within the .ear in this section.

Section 6: Deploying Applications
04:56

The web connector in JBoss works by allocating a thread for the lifetime of a client request. You can relax this requirement by utilizing asynchronous servlets.

04:09

If you want to prevent third parties from intercepting communication between the browser and the server, one of the best ways is to encrypt it with SSL. This will make it very hard to decipher the content of the requests.

03:30

Writing custom security components for your application is error prone and time consuming. You can use JAAS to have JBoss manage security for you.

03:01

Storing passwords in plain text in configuration files is risky. If a malicious user is able to read the file, they could compromise the security of your application or its data. Learn how to encrypt passwords in configuration files so that they are not readable.

Section 7: Building and Testing Application with Maven and JBoss Tools
00:42

Building and deploying an application for JBoss is difficult. JBoss tools and Eclipse makes it easier by allowing you to deploy your application to JBoss directly from Eclipse.

02:53

JEE applications are complex, with many parts that must be assembled correctly. Maven provides a standard way to layout and build an application.

01:43

Developing an application is a time-consuming process. Streamline the process by utilizing the JBoss Tools plugin.

02:03

Testing application code is difficult and time consuming. Streamline testing using Arquillian and Shrinkwrap to build and deploy a subset of your application code to JBoss to test directly in the container.

01:30

Test cases are usually written in JUnit or TestNG, which is the industry standard for writing test cases for Java. It's now easy to run those test cases in JBoss using Arquillian.

Section 8: Configuring the Application Server Logging
04:33

If you have a problem that cannot be diagnosed using the standard logging configuration, you can increase the logging verbosity to view all the logs for the server. This will aid in debugging.

02:37

Sometimes you need to get information from a particular part of JBoss or your application without increasing the verbosity of all the logging categories. Doing this allows targeted debugging and avoiding the need to look for a needle in a haystack.

02:34

If JBoss is performing a lot of logging, it can slow down the performance of the server. Using the async handler will improve the performance, with the side-effect of there being a delay while the buffer fills up before the messages appear in the logs.

01:54

Your JBoss instance might do a lot of logging, and rolling the logfile once a day might cause it to get too large to work with. In this case, you can set the logfile to roll at a specified size.

02:12

Sometimes you would rather have logging configurations per application deployment or use a separate logfile for your application logging. It's possible to do this by loading the logging framework from your application instead of from JBoss.

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Packt Publishing, Tech Knowledge in Motion

Over the past ten years Packt Publishing has developed an extensive catalogue of over 2000 books, e-books and video courses aimed at keeping IT professionals ahead of the technology curve. From new takes on established technologies through to the latest guides on emerging platforms, topics and trends – Packt's focus has always been on giving our customers the working knowledge they need to get the job done. Our Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.

Ready to start learning?
Take This Course