JBoss Introduction
Objectives
JBoss Family
JBoss Application Server
Hibernate
JBoss Portal
JBoss jBPM
JBoss Eclipse IDE
Summary
Reference
Installing JBoss
Objectives
Installation Prerequisites
Other Common Components
JBoss Installation
JBoss Installer
Starting JBoss
JBoss Admin Consoles
JBoss Configurations
Summary
Lab Summary
Reference
Managing JBoss Configurations
Objectives
JBoss Configurations
JBoss Eclipse IDE
Perspectives and Views
JBoss IDE Tips
XML in JBoss IDE
Controlling JBoss Servers
Managing JBoss Configuration
Updating JBoss Version
Summary
Lab Summary
Reference
J2EE Overview
Objectives
Goals of Enterprise Applications
What is Java?
What is J2EE?
Role of Application Server
The J2EE Specifications
J2EE Components
What is a Servlet?
What is a JSP?
What is an EJB?
Model-View-Controller Architecture
MVC – An Example
Web Client
Applet
Application Client
J2EE Vendor Specifications
Containers
J2EE Blueprint
Summary
Lab Summary
Reference
Building and Installing Applications
Objectives
EAR File
What are Modules?
J2EE Deployment Descriptors
Web Module
EJB Module
Client Module
JBoss Deployment Descriptors
JBoss Default EJB Deployment
Ant
Sample Ant buildfile
Ant Features in JBoss IDE
JBoss Application Deployment
Deployment from JBoss IDE
Testing an Application
Updating an Application
Applications in Web Console
Summary
Reference
Introduction to OnlineStore Application
Objectives
OnlineStore Functions
Application Homepage
New Customer Registration
Customer Login
Browse Products
View Cart – Place Order
Order Confirmation
Error Notification
OnlineStore Application Structure
OnlineStoreWeb.war Contents
OnlineEJB.jar Contents
Summary
Lab Summary
JBoss Logging
Objectives
Log4j
Log Output
Appender Example
Log Categories
Category Example
Appender References
Configuring Log4j in JBoss
Logging Code
Adjusting Logging from the Consoles
Common Tasks for Log4j
HTTP Access Logs
Summary
Lab Summary
Reference
JMX Microkernel
Objectives
JMX Intro
JBoss XMBeans
JBoss JMX Microkernel
MBean Services
Deployers
Invokers
Summary
Reference
Connecting JBoss to a Database
Objectives
Hypersonic Database
What is JDBC?
JDBC Driver
Typical JDBC Use
Problems to Address
Data Source Architecture
JDBC Data Sources
Typical Use of Data Source
Adding JDBC Drivers
Configure Data Source
Monitor Connection Pool
Summary
Lab Summary
Reference
JNDI & Naming Services
Objectives
Naming Service
Phone Number Example
Objects in Namespace
What is JNDI?
Using JNDI
JNDI Binding in JBoss
NameNotFoundException
JNDIView MBean
JNDI References
Binding JNDI References
Summary
Lab Summary
Reference
JBoss Security
Objectives
Authentication and Authorization
Challenge Mechanism
J2EE Security Roles
JBoss Security Domain
Login Modules
Using a Database for Authentication
Using an LDAP Server
Stacking Login Modules
Hashed Passwords
Testing Security
Digital Certificates
Creating Self-Signed Certificate
SSL (Secure Sockets Layer)
Enabling SSL on Tomcat
Summary
Lab Summary
Reference
JBoss JMS Messaging
Objectives
Messaging Intro
Messaging Example
Messaging Components
Messaging Types
JMS (Java Messaging Service)
JMS Resources
Message Driven Beans (MDB)
JBossMQ
Configuring JMS
MDB Destinations
JMS Security
JMS Security Configuration
Summary
Lab Summary
Reference
Monitoring JBoss
Objectives
Monitoring Tools
JBoss Web Console
MBean Attributes
Live Graphs and Snapshots
Monitors
Monitor Configuration
Command Line Queries
Summary
Lab Summary
Reference
Web Services
Objectives
Web Service Example
What are Web Services?
How do Web Services Communicate?
How are Web Services Described?
WSDL Example
How are Web Services Discovered?
Web Service Architecture
Web Service Security
Forms of J2EE Web Services
JAX-RPC Service Endpoints
EJB Endpoints
JBoss Configuration Files
Deploying Web Services
Web Service References
Summary
Reference
Overview of Clustered Architecture
Objectives
Clusters
Horizontal Scaling
Vertical Scaling
Clustering Terminology
Clustering in JBoss
Role of Web Server
Running Multiple Instances of JBoss on Single Machine
Adding JBoss Instances to a Cluster
Clusters on the Same Network
Viewing JBoss Cluster Information
Summary
Lab Summary
Reference
JGroups Network Communication
Objectives
Introduction to JGroups
Group Coordinator
Joining the Group
JGroups Layering
Sample JGroups Layers
Transport Protocols
Network Impact
Discovery Protocols
Merging Groups
Failure Detection Protocols
Group Membership Service
State Transfer
Summary
Lab Summary
Reference
Clustered Deployment
Objectives
Deployment Options
Regular Deployment
HA-Singleton Deployment
Farming Deployment
Issues of Farm Deployment
Summary
Lab Summary
Reference
Load Balancing with Apache and mod_jk
Objectives
Role of Web Server
Supported Web Servers
Using Apache with Tomcat
Configuring mod_jk
Adding mod_jk Module
Loading mod_jk Module
Configure mod_jk
Configure workers.properties
mod_jk Load Balancing
Configure uriworkermap.properties
Configure Tomcat
Apache mod_jk Status
Summary
Lab Summary
Reference
Distributed Applications
Objectives
Application State
Distributed Failover
HTTP Session State Replication
JBossCache
Configuring Tomcat for HTTP Session Replication
Utilizing Session Replication
Clustered Session EJBs
Clustering Stateless Session Beans (EJB 2.x)
Clustering Stateful Session Beans (EJB 2.x)
Clustering Entity Beans (EJB 2.x)
Problems Deploying to “default” Configuration
Summary
Lab Summary
Reference
Clustering Stateless Session Beans (EJB 3.x)
Clustering Stateful Session Beans (EJB 3.x)
Clustering Entity Beans (EJB 3.x)
Clustered Services
Objectives
Introduction
Clustering Services
Clustered JNDI Services
HA-JNDI Clients
Access HA-JNDI in Java Code
Access HA-JNDI by Modifying jndi.properties File
Properties in jndi.properties File
HA-JNDI With EJBs
Clustered JMS Services
Configure HA-JMS
HA-JMS and HA-JNDI
MDB EJBs and HA-JMS
HA-JMS Failover
Summary
Lab Summary
Reference
Rolling Out JBoss to Production
Objectives
Securing Management Functions
Removing Hypersonic
Configuring JBoss with Firewalls
Setting a Root Web Application
Summary
Appendix A. Managing CMP Persistence
Objectives
Entity EJB Types
Default CMP Settings
Managing CMP Schema
Controlling Table Changes
Mapping Objects
Mapping Relations
Audit Data
Generating Primary Keys
Summary
Reference
Appendix B. JBoss Operations Network
Objectives
JBoss Operations Network
JBoss ON Features
JBoss ON Architecture
JBoss ON Server
JBoss ON Agent
Supported Platforms
JBoss ON Console
Dashboard
Browse Resources
Resource Detail
Monitoring
Metric Summary
Metric Detail Chart
Inventory
Control
Configuration
Alerts
Console Users
Command Line
Summary
Reference