Franklin

WildFly Configuration, Deployment, and Administration.

Author/Creator:
Ritchie, Christopher.
Publication:
Olton Birmingham : Packt Publishing, Limited, 2014.
Format/Description:
Book
1 online resource (474 pages)
Edition:
2nd ed.
Status/Location:
Loading...

Options
Location Notes Your Loan Policy

Details

Subjects:
Computer software -- Handbooks, manuals, etc.
Java (Computer program language) -- Handbooks, manuals, etc.
Form/Genre:
Electronic books.
Summary:
This book is aimed at Java developers, system administrators, application testers using WildFly, and anyone who performs a DevOps role. Whether you are completely new to WildFly or just require an understanding of WildFly's new features, this book is for you.
Contents:
Intro
WildFly Configuration, Deployment, and Administration Second Edition
Table of Contents
WildFly Configuration, Deployment, and Administration Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Installing WildFly
What's new in WildFly 8?
Getting started with the application server
Installing the Java environment
Installing Java on Linux
Installing Java on Windows
Installing WildFly 8
Starting WildFly
Connecting to the server with the command-line interface
Stopping WildFly
Locating the shutdown script
Stopping WildFly on a remote machine
Restarting WildFly
Installing the Eclipse environment
Installing JBoss tools
Exploring the application server filesystem
The bin folder
The docs folder
The domain folder
The standalone folder
The welcome-content folder
The modules folder
Understanding WildFly's kernel
Loading application server modules
Summary
2. Configuring the Core WildFly Subsystems
Configuring our application server
Extensions
Paths
Management interfaces
Profiles and subsystems
Interfaces
The socket-binding groups
System properties
Deployments
Configuring core subsystems
Configuring the thread pool subsystem
Configuring the thread factory
The bounded-queue thread pool
The blocking bounded-queue thread pool
The unbounded-queue thread pool
The queueless thread pool
The blocking queueless thread pool
The scheduled thread pool.
Configuring application server logging
Choosing your logging implementation
Configuring the logging subsystem
The console-handler
The periodic-rotating-file-handler
The size-rotating-file-handler
The async-handler
The syslog-handler
Custom handlers
Configuring loggers
Per-deployment logging
Bypassing container logging
Summary
3. Configuring Enterprise Services
Connecting to a database
Installing the JDBC driver
Adding a local datasource
Configuring the connection pool
Configuring the statement cache
Adding an xa-datasource
Installing the driver as a deployment unit
Choosing the right driver deployment strategy
Configuring a datasource programmatically
Configuring the Enterprise JavaBeans container
Configuring the EJB components
Configuring the stateless session beans
Using CLI to configure the stateless pool size
Configuring the stateful session beans
Configuring the message-driven beans
Configuring the timer service
Configuring the messaging system
Configuring the transport
Configuring connection factories
Configuring JMS destinations
Customizing destinations with an address
HornetQ persistence configuration
Configuring the transactions service
Configuring concurrency
Configuring the context service
Configuring the managed thread factory
Configuring the managed executor service
Configuring the managed schedule executor service
Summary
4. The Undertow Web Server
An overview of Undertow
The Undertow architecture
Configuring Undertow
Configuring the server
Configuring the listener
Configuring the host
Serving static content
Configuring the servlet container
Configuring JSP
Configuring the session cookie
Saving the session state
Configuring the buffer cache.
Creating and deploying a web application
Creating a new Maven web project
Adding JSF components
Adding the EJB layer
Choosing the web context of the application
Deploying the web application
Deploying a web application to the root context
Adding a remote EJB client
Configuring the client using a properties file
Configuring the client programmatically
Configuring data persistence
Using a default datasource for the JPA subsystem
Configuring entities
Configuring persistence in other application archives
Switching to a different provider
Using Jipijapa
Summary
5. Configuring a WildFly Domain
Introducing the WildFly domain
Understanding the default domain configuration
Starting up and stopping a domain
Configuring the domain
Overriding the default configuration files
Configuring the domain.xml file
Configuring the host.xml file
Configuring the management interfaces
Configuring the network interfaces
Configuring the domain controller
Configuring the JVM
Adding JVM options to a server definition
Order of precedence between elements
Configuring server nodes
Applying domain configuration
Creating our very own domain configuration
Changing the domain configuration at runtime
Summary
6. Application Structure and Deployment
Deploying resources on the application server
The JAR file
The WAR file
The EAR file
Deploying applications on a standalone WildFly server
Automatic application deployment
Deploying applications to a custom folder
Changing the behavior of the deployment scanner
Deployment rollback
Deploying an application using the CLI
Deploying an application using the web admin console
Deploying an application using the WildFly Eclipse plugin
Configuring Eclipse deployments
Manual application deployment.
Deploying applications on a WildFly domain
Deploying to a domain using the CLI
Deploying to all server groups
Deploying to a single server group
Deploying to a domain using the Admin console
Explaining WildFly classloading
Getting to know module names
Finding the isolation level
Implicit dependencies
Explicit dependencies
Setting up global modules
Advanced deployment strategies
Setting up a single module dependency
Excluding the server's automatic dependencies
Isolating sub-deployments
Using the Class-Path declaration to solve dependencies
Summary
7. Using the Management Interfaces
The command-line interface (CLI)
Reloading the server configuration
Employing the CLI
Navigating through the resources and executing operations
Operations that can be issued on a resource
Executing commands with the CLI
Adding a JMS destination
Creating and modifying datasources
Creating and modifying XA datasources
Getting help from the CLI
Executing CLI scripts in batch
Advanced batch commands
Executing scripts in a file
Redirecting non-interactive output
Taking snapshots of the configuration
What the application server saves for you
Taking your own snapshots
History of CLI
The web admin console
Accessing the admin console
Configuring server profiles
Configuring datasources
Creating a new XA datasource
Configuring JMS destinations
Configuring socket-binding groups
The CLI or web console?
Summary
8. Clustering
Setting up a WildFly cluster
Setting up a cluster of standalone servers
A cluster of nodes running on different machines
A cluster of nodes running on the same machine
Setting up a cluster on the same machine using multiple IP addresses
Setting up a cluster on the same machine using port offset.
Setting up a cluster of domain servers
Troubleshooting the cluster
Configuring the WildFly cluster
Configuring the JGroups subsystem
Customizing the protocol stack
Configuring the Infinispan subsystem
Configuring session cache containers
Choosing between replication and distribution
Configuring the hibernate cache
Using replication for the hibernate cache
Advanced Infinispan configuration
Configuring the Infinispan transport
Configuring the Infinispan threads
Clustering the messaging subsystem
Configuring messaging credentials
Configuring clustering in your applications
Clustering session beans
Clustering entities
Caching entities
Using JPA annotations
Using Hibernate annotations
Caching queries
Clustering web applications
Summary
9. Load-balancing Web Applications
Benefits of using the Apache web server with WildFly
Using the mod_jk library
Installing Apache
Installing mod_jk
Configuring mod_proxy
Load-balancing with mod_cluster
Installing mod_cluster libraries
The mod_cluster configuration
Testing mod_cluster
Managing mod_cluster via the CLI
Managing your web contexts with the CLI
Adding native management capabilities
Managing web contexts using the configuration file
Troubleshooting mod_cluster
Load-balancing between nodes
Using load metrics
An example for setting dynamic metrics on a cluster
Summary
10. Securing WildFly
Approaching Java security API
The WildFly security subsystem
Using the UsersRoles login module
Using the Database login module
Encrypting passwords
Using an LDAP login module
Connecting LDAP to WildFly
Securing web applications
Securing EJBs
Securing web services
Securing the management interfaces
Role-based access control
Configuring groups.
Securing the transport layer.
Notes:
Description based on publisher supplied metadata and other sources.
Local notes:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2021. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Other format:
Print version: Ritchie, Christopher WildFly Configuration, Deployment, and Administration
ISBN:
9781783286249
9781783286232
OCLC:
899594745