Arch Project was a basic Java EE application that could be used as an entry point to develop a web application that fits to your specific needs.
Some of the Arch Project's aspects are the following:
- Developed under Java 8 and Java EE 7 spec;
- Uses Gradle for building and dependency management;
- Deployable on Wildfly 10.1.0.Final;
- Multi-layered architecture;
- Clean code, Sun's code conventions, some of Object Calisthenics, S.O.L.I.D. and best practices are the main goal.
This project was created for studying purposes. Being said that, feel free to fork and/or use it as a basis to your own application, but you may find some bugs and improvement points.
- Run
docker-compose up -d --build
- Download the version 10.1.0.Final from this link and extract in your machine.
- Create an environment variable
JBOSS_HOME
pointing to the path where you extracted it.
- Copy this file and place it inside the
bin
folder of your Wildfly. Edit it replacing--resources=/opt/drivers/postgresql-9.4-1200-jdbc41.jar
with the location where you placed the jar file. - Finally, replace the e-mail configuration fields
yourmail
andyourpassword
with a valid Gmail account. Save and close. - Start Wildfly and run:
<JBOSS_HOME>/bin: jboss-cli.sh --file=archproject.cli
Stop Wildfly.
Go to the project root folder where the build.gradle
resides and run:
./gradlew build
If you are going to use Eclipse to import this project, import just the archproject
folder in the root of this repo, then right click on your project -> Properties -> Deployment Assembly and select just the following folders besides the external dependencies:
src/main/java -> WEB-INF/classes
src/main/resources -> WEB-INF/classes
src/main/webapp -> /
Happy coding!