arquillian/arquillian-container-glassfish — pull request #27 by BrentDouglas (2014-12-08 13:57:04+00:00)
Title: Allow executing asadmin commands post-start and pre-stop

AFAIK This is the only way to create jdbc-connection-pool's and datasources. I tried adding a glassfish-web.xml to my deployment but it doesn't seem to work with arquillian managed. This PR allows reading scripts of these commands after the server starts and before it stops. The scripts are tokenized using a customizable delimiter that defaults to \s.