Opsgility Official Training

Red Hat Jboss Fuse Rapid Track (Ad439)

Students in a classroom-min

Course Description

This advanced course focuses on the high availability services of the JBoss Enterprise Middleware System (JEMS), including JGroups, JBoss Cache, load balancing, and more. You will spend 60% of your time on theory and 40% on hands-on lab exercises. 

This course fills a 4-day specialty training credit for Red Hat's Middleware Track, and it may be applied to the required number of training days for Certified JEMS Middleware Expert and Certified JEMS Master Architect levels. 

About this course

What You'll Learn

  • How JBoss Application Server (AS) leverages JGroups and JBoss Cache for replication and failover 
  • Configure, tune, and implement JGroups protocol stacks 
  • Leverage JBoss Cache in your own middleware application implementation 
  • Use and configure mod_jk for HTTP load balancing 
  • JBoss AS high availability services such as HA-JNDI, HA-JMS, and HA-singleton 

Who Needs to Attend

Experts and those who wish to become experts on JEMS high availability technologies. 

Course Outline

  1. JBoss State of the Union 

Introduction to Professional Open Source methodology and to JBoss Inc.'s role in leading the innovation of Open Source middleware development. Short introduction to JBoss Inc. service offerings, current product roadmaps, JBoss Enterprise Middleware System (JEMS), and the road ahead. 

  1. Overview of JEMS High Availability Services 

Explore the JBoss AS platform, how it integrates different JEMS products, and where high availability features should be considered for mission-critical deployments. Get an architectural overview to which services benefit from replication, load balancing, and failover and where JBoss AS utilizes JEMS products such as JBoss Cache, JGroups and mod_jk. 

  1. Reliable Multicasting with JGroups 

Introduction to JGroups group communication protocol. JGroups is the underlying network level library utilized by most JEMS product to achieve high availability. Learn what JGroups is and how to use the JGroups API. Explore the concepts of JGroups channels, groups, views, events, and messages. 

  1. JGroups Protocols 

Discover different protocol implementations for reliable network transport, discovery, group membership, failure detection, message ordering, security, and state transfer. 

  1. Protocol Stacks and Implementation 

Explore the JGroups protocol stack architecture, how different protocols may be assembled together, how they are implemented, and finally, how to add your own protocol implementation into JGroups protocol stack. 

  1. JGroups Building Blocks and Troubleshooting 

JGroups building blocks are higher-level implementations on top of JGroups protocol stack that help you implement common tasks using JGroups library. Learn the available default implementations, e.g. an RPC invocation implementation across replicated objects using JGroups, and explore common issues to troubleshoot when configuring and setting up your network for JGroups. 

  1. JBoss Cache Overview and API 

Discover JBoss Cache architecture overview, features, and API. Learn how to manage the tree structure of JBoss Cache, creating and removing nodes and modifying data in the cache. JBoss Cache builds on the JGroups library and is a key technology in implementing high availability services in JBoss AS. 

  1. Cache Loaders and Eviction Policies 

Critically important to understanding how to manage the life cycle of cached data with JBoss Cache. Learn how cache loaders mandate under what policies data is moved from persistent stores into memory cache and how eviction policies allow you to configure and manage the data while in the cache and decide under what conditions data should be evicted back to your datastore. 

  1. Cache Replication, Transactions, and Isolation Levels 

Get details on different usage scenarios with JBoss Cache and learn the different replication modes with JBoss Cache - asynchronous and synchronous replication and the implication of replication mode to application performance. Learn how to use transactional access to the JBoss Cache, how to set different isolation levels for the cached data, and how the transaction and isolation levels affect the locking performed by JBoss Cache. 

  1. JBoss Cache AOP Overview and API 

Explore an advanced version of JBoss Cache that uses the JBoss AOP framework for efficient implementation of data replication. See how the AOP version of JBoss Cache differs in architecture, the changes in the cache API, and how JBoss Cache AOP manages Java objects inserted into cache differently from JBoss Cache. 

  1. JBoss Cache AOP Implementation 

Go into deeper detail on JBoss Cache implementation. See how JBoss AOP is leveraged to dynamically introduce interceptors to cache objects, how we can transparently keep track of the exact data changes in AOP Cache, how complex Java objects are automatically mapped into AOP cache, the use of collections in cached data sets, and more. 

  1. Web Tier Load Balancing and Failover 

Move up one abstraction level and start looking at how high availability features are implemented at the JBoss Middleware and J2EE component level. Start with HTTP session replication and see how JBoss Cache is used to implement it. Continue by looking at mod_jk features and how to implement load balancing, hot standby, and domain clustering when combining Tomcat servlet container with native web servers. 

  1. EJB Load Balancing and Failover 

Explore EJB components, get a recap on the proxy architecture, and learn how we can leverage services on top of JGroups to implement load balancing and failover. Learn to customize and implement your own load balancing policies with EJBs, and further explore the naming implementation used with EJBs and how it implements high availability. 

  1. JEMS Clustered Services 

Discover how to easily replicate service implementations (singletons) in a clustered JBoss AS environment. Explore master-slave scenarios and how failover works with clustered MBeans. Learn how to enable datasource failover with JBoss AS and discover the implementation details behind HA-JNDI and HA-RMI. 

  1. JMS Failover and Load Balanced MDB 

In this final section, build upon the HA singleton implementation and see how the current JMS implementation in JBoss AS leverages the HA singleton framework to build failover capabilities for JBoss MQ. Get a brief introduction to the upcoming JBoss Messaging core and how it uses JGroups to build a peer network of messaging servers. 

Ready to get started?