Features of the CLI
The CLI offers you some neat features such as executing operations as an atomic operation - which is called batch mode - scripting all the commands into a file (commonly named .cli
files), and also the opportunity to do configuration tasks offline, which means without a running JBoss EAP instance... or better, there is one, but it's embedded into the CLI and it's not invisible outside.
Let's start gradually.
Batch mode
Batch mode allows you to run multiple CLI commands and operations in sequence, and commit the whole set of statements as one. The all-or-nothing commit pattern is applied, which means that all tasks must run successfully in order to complete correctly, otherwise if just one task goes in error, the whole batch sequence ...
Get Mastering JBoss Enterprise Application Platform 7 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.