The objective of this project is to develop an intentionally web application using Java as a technology and popular libraries for Java web application development such as Struts2, Spring, Hibernate etc. This web application will be primarily used for the following purpose:
- An example to demonstrate OWASP Top 10 vulnerabilities
- Hands-on exercise on fixing OWASP Top 10 vulnerabilities
- Java 1.7+
- Maven 3.x
- IntelliJ Community Edition 2017
- MySQL Server
- MySQL Workbench (Optional: For DB administration)
git clone [email protected]:appsecco/dvja-webapp.git dvja
Configure MySQL database and set the credentials in:
./src/main/webapp/WEB-INF/applicationContext.xml
mysql -u root dvja < ./db/schema.sql
$ mvn clean package
This will create the deployable war file in targets directory. This war can be deployed using a application container such as Tomcat.
The DVJA application can be run using its embedded Jetty application server
$ mvn jetty:run