You are previewing WildFly: New Features.
O'Reilly logo
WildFly: New Features

Book Description

Get acquainted with the exciting new features that WildFly has to offer

In Detail

WildFly, formerly known as JBoss Application Server, is a flexible, lightweight, managed application runtime that helps you build amazing applications. Applications made in WildFly are Java J2EE applications, developed entirely in Java, and thus they can be run on any operating system. The new WildFly release has a highly optimized boot process and implements the latest JEE7 patterns, which provide great performance to developers.

This book explores all the new features that WildFly has to offer, and will provide you with the skills you need to successfully install, customize, and configure the WildFly server properly. Starting from the basics, this book will cover how to set up your WildFly server step by step—from Java installation to the final configuration of the server. It also delves deep into the nuances of WildFly configuration and how to set up your WildFly server to improve security and performance. This book is an easy-to-follow guide full of hands-on examples of administration tasks and valuable information about security.

What You Will Learn

  • Install and set up your very own WildFly server
  • Deploy applications using the CLI, the Management Console, and the deployment scanner
  • Configure the WildFly Log
  • Manage data sources and encrypt their passwords
  • Manage WildFly through the CLI and the Management Console
  • Migrate to WildFly from JBoss 7
  • Install new modules
  • Tune the JVM and garbage collector
  • Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

    Table of Contents

    1. WildFly: New Features
      1. Table of Contents
      2. WildFly: New Features
      3. Credits
      4. About the Author
      5. About the Reviewers
      6. www.PacktPub.com
        1. Support files, eBooks, discount offers, and more
          1. Why subscribe?
          2. Free access for Packt account holders
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Downloading the example code
          2. Errata
          3. Piracy
          4. Questions
      8. 1. Starting with WildFly
        1. What is WildFly?
          1. Downloading WildFly
            1. Installing Java
        2. The installation guide and basic configuration
          1. Content of WildFly standalone and domain modes
          2. Overview of the configuration files
            1. The standalone mode
            2. The domain mode
          3. Starting WildFly
            1. Starting the standalone mode
            2. Starting the domain mode
        3. Other basic configurations
        4. Summary
      9. 2. Unified Configuration
        1. Running our first web application
        2. Changing the application context root
        3. Configuring a virtual host
        4. WildFly logging
        5. Installing MySQL modules
        6. Creating the directory to create the module
        7. Datasources
        8. Crypt datasource passwords
        9. Other configurations
          1. Accessing the management console for the first time
        10. Configuring e-mail
        11. Summary
      10. 3. WildFly CLI and Management Console
        1. Connecting to the CLI
        2. Creating a datasource with the CLI and management console
          1. Creating a datasource using the CLI
          2. Creating a datasource using the management console
        3. Deployment with the CLI and management console
          1. Deployment with the CLI
          2. Deployment with the management console
        4. The domain mode deployment
          1. The domain mode deployment using the CLI
          2. The domain mode deployment using the management console
        5. Configuring e-mail via the CLI and management console
          1. E-mail setup via the CLI
          2. E-mail setup via the management console
        6. Summary
      11. 4. Modular Services and Class Loading
        1. Class loading precedence
        2. WAR and EAR class loading
          1. WAR class loading
          2. EAR class loading
        3. Defining a dependency through WAR
        4. Global modules
        5. Summary
      12. 5. Memory and Thread Pool Management
        1. Learning about the JVM memory – Oracle JDK
          1. Heap memory
          2. Nonheap memory
        2. Configuring WildFly
        3. Garbage Collector and tuning
        4. The undertow HTTP pool
        5. Summary
      13. A. What You Need to Know – Migrating from AS 7 to WildFly 8
        1. Updated components
        2. Major changes
          1. The modules directory structure
          2. The cargo container
          3. Code changes
            1. Singleton services
          4. Using Hibernate 3
            1. Configuring your application
            2. Configuring WildFly
          5. Dependencies
        3. Deploying the same application on two servers
      14. Index