Connecting to the CLI

There are three ways to manage your WildFly, that is, by editing the XML file, the Console and the CLI.

  • First of all, editing the XML directly can be error-prone, as it can waste you precious seconds; moreover, every change requires a server restart.
  • The Console gives you visual editing features, but it's not complete. The Web Console can perform just a subset of all the available actions that you can execute using the CLI.
  • CLI stands for Command Line Interface, and it is a tool that you are recommended to use to manage your WildFly application server.

Why the CLI? Most of the time, for security reasons, you connect to enterprise environments via SSH and are thus not able to see the Web Console at all. CLI WildFly comes in handy ...

Get WildFly Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.