A while back, I wrote a cookbook to deploy the Wildfly Java Application Server. Wildfly is the successor of JBoss AS. This Chef cookbook handles the entire deployment process, and also contains LWRP’s to set system attributes, datasources, and deploy code. If you are looking to automate the installation and configuration of Wildfly, I am confident that this Chef cookbook will be a big help. Check it out on my GitHub. Feel free to contribute as well!