Assignment for the 2018 edition of the "Web Development and the Semantic Web" course, by Gabriel Nogueira and Nicolas Aguiar
Instructions on how to deploy from scratch are listed below. If you need detailed instructions on how to set up Eclipse, WildFly and MySQL, please refer to this tutorial at JButler's wiki.
-
Install Eclipse Photon (version 4.6.x);
-
Install WildFly 13.x and create a Server configuration within Eclipse;
-
Install MySQL and create a schema called
pooptime
and a user calleddwws
with passworddwws
and full access to the homonymous database; -
Configure the MySQL JDBC driver in WildFly;
-
Configure the datasource in WildFly's
standalone.xml
file:
<datasource jta="true" jndi-name="java:/jboss/datasources/PoopTime" pool-name="PoopTimePool" enabled="true" use-java-context="true">
<connection-url>jdbc:mysql://localhost:3306/pooptime</connection-url>
<driver>mysql</driver>
<security>
<user-name>dwws</user-name>
<password>dwws</password>
</security>
</datasource>
-
In Eclipse, use File > Import > Git > Projects from Git to import the Eclipse project existing in this repository;
-
You might have to adjust the server settings in the imported project: right-click the PoopTime project and select Properties. In the Server section, select the WildFly 13.x server. In the Targeted Runtimes section, select the WildFly 13.x Runtime;
- Gabriel Nogueira
- Nicolas Aguiar