Chapter 1. JBoss Introduction
|
|
- Goals of Enterprise Applications
- What is Java?
- What is Java EE?
- The Java EE Specifications
- Role of Application Server
- What is a Servlet?
- Servlet Execution
- What is a JSP?
- JSP Code Sample
- What is an EJB?
- EJB Types
- EJB Examples
- Model-View-Controller Architecture
- MVC – An Example
- JBoss Family
- JBoss Application Server
- Relation to JBoss Enterprise Application Platform
- Differences Between JBoss AS and JBoss EAP
- JBoss Support and Documentation
- Summary
- Reference
|
|
Chapter 2. What's New in JBoss Application Server v5.x
|
|
- JBoss History (or "What Took So Long?")
- Project Structure
- Microcontainer
- Deployers
- Changes You Will Notice
- JBoss Enterprise Application Platform
- Java EE 5 Certification
- New Administration Console
- Using Java 6
- Directory Structure Changes
- New Configurations
- JBoss Messaging
- ServiceBindingManager
- Using JBoss 5.x With Eclipse
- JBoss Seam
- Alternatives to JBoss
- Summary
|
|
Chapter 3. Installing JBoss
|
|
- Installation Prerequisites
- Java Version
- JBoss Installation
- JBoss Installer
- Starting and Stopping JBoss
- Network Binding Behavior
- JBoss Admin Consoles - JMX
- JBoss Admin Consoles - Web Console
- JBoss Admin Consoles - Administration Console
- JBoss Configurations
- Variables in Configuration Files
- Issues in Managing JBoss Configurations
- Updating JBoss Version
- Other Common Components
- Summary
- Reference
|
|
Chapter 4. Java EE Overview for Administrators
|
|
- Java EE Components
- Java EE Vendor Specifications
- Containers
- Java EE Blueprint
- Services
- JDBC
- Data Sources
- Java Naming and Directory Interface
- Java Message Service
- JavaMail
- Java EE Connector Architecture
- Java Transaction API
- Security
- Lifecycle Management
- Application Server Architecture
- Java EE Application Structure
- EAR File
- What are Modules?
- Java EE Deployment Descriptors
- Web Module
- EJB Module
- Client Module
- JBoss Deployment Descriptors
- Code Annotations
- JBoss Default EJB Deployment
- JBoss Application Deployment
- Updating an Application
- Applications in Administration Console
- Summary
|
|
Chapter 5. Using Ant and Eclipse to Simplify JBoss Administration
|
|
- Ant
- Sample Ant buildfile
- Common Ant Tasks
- Eclipse
- Eclipse
- Managing JBoss Configuration Files with Eclipse
- XML in Eclipse
- Ant Features in Eclipse
- Exporting JBoss Configurations
- File Versioning with Eclipse
- Perspectives and Views
- Eclipse Tips
- Using Ant and Eclipse to Simplify JBoss Configuration
- Summary
- Reference
|
|
Chapter 6. Connecting to a Database
|
|
- What is JDBC?
- JDBC Driver
- Typical JDBC Use
- Problems to Address
- Data Source Architecture
- JDBC Data Sources
- Typical Use of Data Source
- JPA and Data Source
- Hypersonic Database
- Examining the Hypersonic Database
- Types of JBoss Data Sources
- Adding JDBC Drivers
- Configure Data Source
- Common Data Source Properties
- Connection Pool Properties
- Monitor Connection Pool
- Data Source Failover
- Managing Datasources in the Administration Console
- Summary
- Reference
|
|
Chapter 7. Hibernate JPA Caching
|
|
- Need for Caching
- Factors Involved in Caching
- Using Hibernate to Cache JPA Entities
- Types of Hibernate JPA Cached Data
- Steps to Configure Hibernate Second Level Cache
- Decide JBoss Cache Configuration
- Standard JBoss Cache Configurations
- Configure JPA Persistence Caching Properties
- Sample persistence.xml with Hibernate Caching
- Configure JPA Entities to Allow Caching
- Configure JPA Queries to Allow Caching
- Tuning Cache Eviction
- JBoss Cache EvictionRegionConfig
- Summary
|
|
Chapter 8. JBoss Logging
|
|
- Log4j
- Configuring Log4j in JBoss
- Log Output
- Standard Appenders
- Appender Example
- Log Categories
- Log Categories
- Category Example
- Appender References
- Logging Code
- Adjusting Log Threshold
- Adjusting Log Threshold from the Consoles
- Common Tasks for Log4j
- Logging in JBoss EAP Production Configuration
- HTTP Access Logs
- JBoss HTTP Access Log
- Summary
- Reference
|
|
Chapter 9. JNDI & Naming Services
|
|
- Naming Service
- Phone Number Example
- Objects in Namespace
- What is JNDI?
- Using JNDI
- NameNotFoundException
- JNDI References
- JNDI Binding in JBoss
- JNDIView MBean
- Binding JNDI References
- Summary
|
|
Chapter 10. JBoss Internal Architecture
|
|
- JMX Intro
- JBoss Microcontainer
- POJO Services
- Defining Custom JBoss Services
- JBoss "Bootstrapping"
- Deployers
- Invokers and Remoting
- Summary
- Reference
|
|
Chapter 11. JMS Messaging
|
|
- Messaging Intro
- Messaging Example
- Messaging Components
- Messaging Types
- JMS (Java Messaging Service)
- JMS Resources
- Message Driven Beans (MDB)
- JBoss Messaging
- Differences with JBossMQ
- Configuring JMS
- MDB Destinations
- Sucker Password
- Summary
|
|
Chapter 12. Monitoring and Tuning JBoss
|
|
- Monitoring Tools
- JBoss Consoles
- MBean Attributes
- Live Graphs and Snapshots
- Monitors
- Monitor Configuration
- Email Monitor Configuration
- Command Line Queries
- Common Performance Tuning
- JBoss Web Thread Pools
- JBoss "Slimming"
- Summary
|
|
Chapter 13. Java Memory Management
|
|
- Java Heap Space
- Heap Size Limits
- Default Size Limits
- Garbage Collection Basics
- Allocation Failure (AF)
- OutOfMemoryError
- Memory Leak
- Free Space Threshold
- Garbage Collection Mechanism
- GC Performance Improvements
- Generational Garbage Collection
- Thread Local Heap (TLH)
- Memory Tuning Goals
- Steady State Heap Size
- Analyzing Steady State Behavior
- Effect of Initial Heap Size on GC
- Optimizing GC Duration
- Summary
|
|
Chapter 14. Sun HotSpot 6.0 JDK Memory Management
|
|
- Generational GC
- Sizing the Generations
- Heap Growth and Shrinkage
- Client and Server JVM Modes
- GC Collector Option
- GC Ergonomics
- Summary
|
|
Chapter 15. Java EE Security in JBoss
|
|
- Authentication and Authorization
- Challenge Mechanism
- Java EE Security Roles
- JBoss Security Domain
- Login Modules
- Using a Database for Authentication
- Using an LDAP Server
- Chaining Multiple Login Modules
- Chaining Multiple Login Modules - Example
- Stacking Login Modules
- Stacking Login Modules - Example
- Hashed Passwords
- Testing Security
- Summary
- Reference
|
|
Chapter 16. JBoss Security
|
|
- Securing JBoss Configurations
- Security of Administrative Applications
- Securing the JMX Console
- Securing the Administration Console
- Securing the Web Console
- Securing the JBoss Web Service Management Application
- Securing JBoss Invokers
- Security Differences with JBoss EAP
- Providing Security for Binary Commands
- Encrypting Data Source Passwords
- Digital Certificates
- Creating Self-Signed Certificate
- SSL (Secure Sockets Layer)
- Enabling SSL on JBoss Web Container
- Summary
|
|
Chapter 17. Introduction to Web Services
|
|
- A Conceptual Look at Services
- Defining Services
- Service Communication Analogy
- Three Key Service Questions
- Connecting the Dots
- SOA – Runtime Implementation
- What is a Web Service?
- Enterprise Assets as Services
- Advantages of Web Services
- Web Service Business Models
- Binding via SOAP
- SOAP in Protocol Stack
- SOAP Structure
- Interface via WSDL
- WSDL Structure
- Locating a Service
- UDDI Overview
- UDDI Terminology
- UDDI Structure
- WS-I Overview
- WS-I Deliverables
- JBoss Web Service Deployment
- Routing Web Service Requests
- Writing Portable Web Service Clients for JBoss
- JBoss @WebServiceRef Customization
- JBoss Web Service Tools
- Running JBoss Web Services in Eclipse
- Reference
|
|
Chapter 18. Overview of Clustered Architecture
|
|
- Clusters
- Horizontal Scaling
- Vertical Scaling
- Clustering Terminology
- Clustering in JBoss
- Running Multiple Instances of JBoss on Single Machine
- Adding JBoss Instances to a Cluster
- Clusters on the Same Network
- Viewing JBoss Cluster Information
- Summary
|
|
Chapter 19. JGroups Network Communication
|
|
- 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
- Reference
|
|
Chapter 20. Clustered Deployment
|
|
- Deployment Options
- Regular Deployment
- HA-Singleton Deployment
- Farming Deployment
- Issues of Farm Deployment
- Summary
- Reference
|
|
Chapter 21. Load Balancing with Apache and mod_jk
|
|
- Role of Web Server
- Supported Web Servers
- Using Apache with JBoss
- Configuring mod_jk
- Adding mod_jk Module
- Configure mod_jk
- Configure workers.properties
- mod_jk Load Balancing
- Example workers.properties
- Configure uriworkermap.properties
- Configure JBoss
- Apache mod_jk Status
- Enabling Apache mod_jk Status
- Summary
- Reference
|
|
Chapter 22. Distributed Applications
|
|
- Application State
- Distributed Failover
- HTTP Session State Replication
- JBossCache
- Utilizing Session Replication
- Tuning Session Replication
- FIELD Level Session Replication
- Session Timeout
- Session Passivation
- Clustered Session EJBs
- Clustering Stateless Session Beans (EJB 3.x)
- Clustering Stateful Session Beans (EJB 3.x)
- Changing EJB Load Balancing Policy
- Clustering Session Beans (EJB 2.x)
- Problems Deploying to “default” Configuration
- JBoss Cache Configuration
- Buddy Replication
- Tuning Stateful Session EJB Cache
- Summary
- Reference
|
|
Chapter 23. Clustered Services
|
|
- Introduction
- Clustered Services
- Clustered JBoss Messaging
- Assign a Unique ServerPeerID
- Configure Clustered JBoss Messaging
- Clustered JBoss Messaging Destinations
- 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
- Summary
|
|
Chapter 24. Rolling Out JBoss to Production
|
|
- Securing Management Functions
- Removing Hypersonic
- Configuring JBoss with Firewalls
- Setting a Root Web Application
- Summary
|
|
Chapter 25. JBoss Operations Network
|
|
- JBoss Operations Network
- Jopr
- 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
- Alerts
- Console Users
- Command Line
- Summary
- Reference
|