Clone the branch matching your target environment into a new project. There are currently three branches available.
Note: For usage on JBoss EAP 7 alpha/beta or WildFly 10rc4 and below, JASPIC needs to be activated before the application can be deployed. See also http://arjan-tijms.omnifaces.org/2015/08/activating-jaspic-in-jboss-wildfly.html
The default app uses H2 with
drop-and-create. In other words, the default app uses an embedded database and is configured to drop and create all tables on startup. If you want to stop dropping all tables on startup, edit
javax.persistence.schema-generation.database.action property of
create. If you want to change the database, install the desired JDBC driver in your target server and edit the JDBC driver configuration in
/META-INF/conf/datasource-settings.xml. It's not necessary to manually create a data source in the target server as that's already done via