万本电子书0元读

万本电子书0元读

顶部广告

WildFly Cookbook电子书

售       价:¥

3人正在读 | 0人评论 9.8

作       者:Luigi Fugaro

出  版  社:Packt Publishing

出版时间:2015-07-24

字       数:416.2万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
This book is intended for middleware system administrators and Java developers, actually good Java developers, who care about architecture design and implementation. Whether you are new to WildFly, come from a previous version, such as JBoss AS 5, 6, and 7, or are an expert in it, you will be able to master both the basic and advanced features of WildFly. By the way, most of the core components of WildFly are totally new, such as its administration tool, that is, the CLI; its operational modes, which are, the standalone and domain modes; and its web server provided by Undertow, you can benefit from this book even if you have no experience in JBoss and WildFly at all.
目录展开

WildFly Cookbook

Table of Contents

WildFly Cookbook

Credits

About the Author

Acknowledgments

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

Sections

Getting ready

How to do it…

How it works…

There's more…

See also

Conventions

Reader feedback

Customer support

Errata

Piracy

Questions

1. Welcome to WildFly!

Introduction

Software prerequisites

Getting ready

How to do it…

There's more…

Downloading and installing WildFly

Getting ready

How to do it…

Understanding WildFly's directory overview

How to do it…

How it works…

Running WildFly in standalone mode

Getting ready

How to do it…

How it works…

See also

Running WildFly in domain mode

Getting ready

How to do it...

How it works...

See also

Running WildFly as a service

How to do it…

2. Running WildFly in Standalone Mode

Introduction

Running WildFly from a custom configuration folder

How to do it…

How it works…

There's more…

Binding WildFly onto a custom port

How to do it...

Using the Web Console

Using the CLI

There's more…

Binding WildFly onto a custom IP

How to do it…

How it works…

There's more...

Configuring multiple WildFly instances to run on the same machine with different ports

Getting ready

How to do it…

Using jboss.http.port

Using jboss.socket.binding.port-offset

There's more...

Configuring multiple WildFly instances to run on the same machine with different IPs

Getting ready

How to do it…

There's more…

Managing applications using the deployments folder

Getting ready

How to do it…

How it works…

Connecting to the CLI

Getting ready

How to do it…

There's more…

Checking the server-state via the CLI

Getting ready

How to do it…

How it works…

Deploying an application via the CLI

Getting ready

How to do it…

How it works…

There's more…

Undeploying an application via the CLI

Getting ready

How to do it…

There's more…

Executing commands in batch mode via the CLI

Getting ready

How to do it…

Reloading a server configuration via the CLI

Getting ready

How to do it…

How it works…

Shutting down and restarting an instance via the CLI

Getting ready

How to do it...

How it works...

There's more...

Suspending and resuming an instance via the CLI

Getting ready

How to do it…

How it works…

Backing up your configuration file via the CLI

Getting ready

How to do it…

3. Running WildFly in Domain Mode

Introduction

Running domain mode

Getting ready

How to do it…

How it works…

There's more...

Connecting the host controller to the domain controller

Getting ready

How to do it…

How it works…

Master

Slaves

Stopping and starting server groups via the Web Console

Getting ready

How to do it…

There's more...

Stopping and starting your server groups via the CLI

Getting ready

How to do it…

How it works...

Stopping and starting your servers via the CLI

Getting ready

How to do it…

How it works…

There's more…

Deploying and undeploying an application to a specific server group via Web Console

Getting ready

How to do it…

Deploying and undeploying an application to a specific server group via the CLI

Getting ready

How to do it…

There's more...

Checking server status via the CLI

Getting ready

How to do it…

4. Managing the Logging Subsystem with the CLI

Introduction

Domain mode

Standalone mode

Creating a file-handler logging

Getting ready

How to do it...

How it works...

There's more...

Creating a periodic-rotating file-handler

Getting ready

How to do it…

How it works…

Creating a size-rotating file-handler

Getting ready

How to do it…

How it works…

Defining asynchronous handlers

Getting ready

How to do it…

How it works…

There's more…

Creating a syslog-handler

Getting ready

How to do it…

How it works…

Listing and reading log files

Getting ready

How to do it...

There's more…

Using a different logging implementation

Getting ready

How to do it…

There is more…

See also

5. Managing the Datasource Subsystems with the CLI

Introduction

Preparing a non JDBC-4 compliant driver

Getting ready

How to do it…

Creating and removing a datasource

Getting ready

How to do it…

How it works…

There's more…

Checking the datasource connection

Getting ready

How to do it...

Reading the datasource's statistics

Getting ready

How to do it…

How it works…

There's more...

Setting a connection pool

Getting ready

How to do it…

How it works…

There's more…

Creating and removing XA-Datasource

Getting ready

How to do it…

How it works…

6. Clustering WildFly

Introduction

Creating a cluster in standalone mode

Getting ready

How to do it...

How it works...

There's more...

See also

Creating separate clusters in standalone mode

Getting ready

Node-A1

Node-A2

Node-B1

Node-B2

How to do it…

How it works...

Creating a cluster in domain mode

Getting ready

How to do it...

Master

Host-1

How it works...

There's more…

See also

Creating separate clusters in domain mode

Getting ready

How to do it…

Master

Host-1

Host-2

Testing the clusters

Master

Host-1

Host-2

Re-testing the clusters

How it works…

See also

Creating a cluster via TCP

Getting ready

How to do it...

Node-1

Node-2

Testing the TCP cluster

How it works…

Testing the UDP protocol with the JGroups tool

How to do it...

Graphical test

Shell test

7. Load Balancing WildFly

Introduction

Installing and configuring Apache HTTPD

Getting ready

How to do it...

See also

Installing and configuring mod_cluster for Apache

Getting ready

How to do it…

How it works…

Balancing WildFly using auto advertising – UDP

Getting ready

How to do it…

How it works…

Dissecting processes

Dissecting communications

There's more…

See also

Balancing WildFly using a list of available balancers – TCP

Getting ready

How to do it...

How it works…

Balancing using the HTTP connector instead of AJP

Getting ready

How to do it…

How it works…

Preserve WildFly workers while restarting Apache

Getting ready

How to do it…

Balancing the same context for different applications

Getting ready

How to do it…

How it works...

See also

Rolling updates

Getting ready

How to do it…

How it works…

There's more…

See also

8. Commanding the CLI

Introduction

Invoking CLI commands

Getting ready

How to do it…

How it works…

There's more…

curl

Checking the WildFly version

Getting ready

How to do it…

How it works…

There's more…

curl

Checking WildFly operational mode

Getting ready

How to do it…

How it works...

There's more…

curl

Getting the OS version

Getting ready

How to do it…

How it works…

There's more…

curl

Getting the JVM version

Getting ready

How to do it…

How it works…

There's more…

curl

More about the runtime type

Checking the JVM options

Getting ready

How to do it…

How it works…

There's more…

curl

Checking JVM memories – heap-size and all

Getting ready

How to do it…

Heap

Non-heap

Metaspace or PermGen

Eden

Old

Survivor

How it works…

There's more…

Curl

Checking the server status

Getting ready

How to do it…

How it works…

There's more…

curl

Checking the JNDI tree view

Getting ready

How to do it…

How it works…

Invoking CLI commands declared in an external file

Getting ready

How to do it…

How it works…

9. Conquering the CLI

Introduction

Invoking server stop, start, and reload

Getting ready

How to do it…

Stop

Start

Restart

Reload

How it works…

There's more…

Curl

Invoking server group stop, start, restart, and reload

Getting ready

How to do it…

Stop

Start

Restart

Reload

How it works…

There's more…

Curl

Creating a server group

Getting ready

How to do it…

How it works…

There's more…

Creating a server

Getting ready

How to do it…

How it works…

There's more…

Curl

Managing an application – deploy, undeploy

Getting ready

How to do it…

Deploy

Status

Undeploy

How it works…

Deploy

Status

Undeploy

There's more…

Curl deployment

Status

Curl undeployment

10. Hardening the WildFly Communication

Introduction

Securing WildFly using HTTPS

Getting ready

How to do it…

Standalone

Domain

How it works…

There's more…

See also…

Securing a specific application using HTTPS

Getting ready

How to do it…

Standalone

Testing

Domain

Testing

How it works…

There's more…

See also…

Securing the WildFly console using HTTPS

Getting ready

How to do it…

Standalone

Testing

Domain

Testing

How it works…

There's more…

See also

Securing domain and host controller communication using HTTPS

Getting ready

How to do it…

How it works…

See also…

11. Hardening the WildFly Configuration

Introduction

Delivering your configuration using property files

Getting ready

How to do it…

How it works…

There's more…

Securing your configuration hashing passwords

Getting ready

How to do it…

How it works…

There's more...

Securing and protecting passwords using a vault

Getting ready

How to do it…

How it works…

There's more…

See also

12. Role-based Access Control with WildFly

Introduction

Switching between simple and RBAC providers

Getting ready

How to do it…

How it works…

There's more…

Managing users, groups, and their role mapping

Getting ready

How to do it…

Users

Groups

How it works…

Setting a predefined role to all authenticated users

Getting ready

How to do it…

How it works…

Granting user access by server group or host – scoped roles

Getting ready

How to do it…

How it works…

Integrating with OpenLDAP

Getting ready

How to do it…

How it works…

13. Messaging with WildFly

Introduction

Running the messaging system using HornetQ

Getting ready

How to do it…

How it works…

See also

Sending and receiving messages to/from a JMS queue destination

Getting ready

How to do it…

How it works…

There's more…

See also

Clustering HornetQ using a shared store

Getting ready

How to do it…

Testing

How it works…

See also

Clustering HornetQ using message replication

Getting ready

How to do it…

How it works…

See also

14. WildFly into the Cloud with OpenShift

Introduction

Registering to OpenShift Online

Getting ready

How to do it…

How it works…

See also

Installing the WildFly cartridge for our first deployment

Getting ready

How to do it…

How it works…

There's more…

See also

Taking control of your WildFly server via SSH

Getting ready

How to do it…

How it works…

See also

Deploying your code to OpenShift Online

Getting ready

How to do it…

How it works…

See also

15. Using WildFly with Docker

Introduction

Setting up the Docker environment

Getting ready

How to do it…

How it works…

Running WildFly in Docker

Getting ready

How to do it…

How it works…

See also

Logging WildFly outside Docker

Getting ready

How to do it…

How it works…

Running WildFly in domain mode in Docker using different Docker containers

Getting ready

How to do it…

How it works…

There is more…

See also

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部