Book description
Over 90 hands-on recipes to configure, deploy, and manage Java-based applications using WildFly
In Detail
With the increasing demand for distributed systems for Java applications, WildFly offers a robust platform on which to deploy and manage your services. As a matter of fact, WildFly 9 is a fully certified Java EE 7 platform and provides remote management tools, such as the redesigned Admin Console and the new and powerful Command Line Interface (CLI).
With practical and accessible material, you will begin by learning to set up your WildFly runtime environment, and progress to selecting appropriate operational models, managing subsystems, and conquering the CLI. You will then walk through the different balancing and clustering techniques, simultaneously learning about role-based access control and then developing applications targeting WildFly and Docker.
What You Will Learn
Run WildFly in both standalone and domain operational modes
Adopt the right profile for your applications
Configure and manage your WildFly instances with the Admin Console
Utilize the CLI to deploy, configure, stop, and start services
Develop HA systems with Apache HTTPD, WildFly, and ModCluster
Assemble TCP or UDP WildFly clusters
Deploy your application to the cloud with OpenShift Online
Use Linux containers with Docker to ship your clean, tested, and ready-to-use WildFly environment
Table of contents
-
WildFly Cookbook
- Table of Contents
- WildFly Cookbook
- Credits
- About the Author
- Acknowledgments
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. Welcome to WildFly!
-
2. Running WildFly in Standalone Mode
- Introduction
- Running WildFly from a custom configuration folder
- Binding WildFly onto a custom port
- Binding WildFly onto a custom IP
- Configuring multiple WildFly instances to run on the same machine with different ports
- Configuring multiple WildFly instances to run on the same machine with different IPs
- Managing applications using the deployments folder
- Connecting to the CLI
- Checking the server-state via the CLI
- Deploying an application via the CLI
- Undeploying an application via the CLI
- Executing commands in batch mode via the CLI
- Reloading a server configuration via the CLI
- Shutting down and restarting an instance via the CLI
- Suspending and resuming an instance via the CLI
- Backing up your configuration file via the CLI
-
3. Running WildFly in Domain Mode
- Introduction
- Running domain mode
- Connecting the host controller to the domain controller
- Stopping and starting server groups via the Web Console
- Stopping and starting your server groups via the CLI
- Stopping and starting your servers via the CLI
- Deploying and undeploying an application to a specific server group via Web Console
- Deploying and undeploying an application to a specific server group via the CLI
- Checking server status via the CLI
- 4. Managing the Logging Subsystem with the CLI
- 5. Managing the Datasource Subsystems with the CLI
- 6. Clustering WildFly
-
7. Load Balancing WildFly
- Introduction
- Installing and configuring Apache HTTPD
- Installing and configuring mod_cluster for Apache
- Balancing WildFly using auto advertising â UDP
- Balancing WildFly using a list of available balancers â TCP
- Balancing using the HTTP connector instead of AJP
- Preserve WildFly workers while restarting Apache
- Balancing the same context for different applications
- Rolling updates
-
8. Commanding the CLI
- Introduction
- Invoking CLI commands
- Checking the WildFly version
- Checking WildFly operational mode
- Getting the OS version
- Getting the JVM version
- Checking the JVM options
- Checking JVM memories â heap-size and all
- Checking the server status
- Checking the JNDI tree view
- Invoking CLI commands declared in an external file
- 9. Conquering the CLI
- 10. Hardening the WildFly Communication
- 11. Hardening the WildFly Configuration
- 12. Role-based Access Control with WildFly
- 13. Messaging with WildFly
- 14. WildFly into the Cloud with OpenShift
- 15. Using WildFly with Docker
- Index
Product information
- Title: WildFly Cookbook
- Author(s):
- Release date: July 2015
- Publisher(s): Packt Publishing
- ISBN: 9781784392413
You might also like
book
JBoss in Action
JBoss in Action teaches readers how to use the JBoss application server, digging into the things …
book
Kubernetes Best Practices
In this practical guide, four Kubernetes professionals with deep experience in distributed systems, enterprise application development, …
book
Mastering JBoss Enterprise Application Platform 7
Create modular scalable enterprise-grade applications with JBoss Enterprise Application Platform 7 About This Book Leverage the …
video
Kubernetes Microservices
See it. Learn it. Do it! Microservices designs require you to change how you build and …