Enable batch mode by running the batch command, then enter all of the commands in the batch. You can run the batch using the run-batch command or save it for later use using the holdback-batch command. For example:
This is a quick reference for JBoss EAP open source technologies, including web server, messaging, clustering and high availability, and caching.
data-source add --name=DATASOURCE_NAME --jndi-name=JNDI_NAME --driver-name=DRIVER_ NAME --connection-url=CONNECTION_URL --profile=PROFILE_NAME