Giter Site home page Giter Site logo

bgasparotto / archproject Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 3.0 420 KB

Basic Java EE application that can be used as an entry point to develop a web app that fits to your specific needs.

Java 90.32% HTML 7.12% CSS 1.39% TSQL 1.11% Dockerfile 0.06%

archproject's Introduction

Arch Project

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.

Important!

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.

Installation

1. PostgreSQL
  • Run docker-compose up -d --build
2. Wildfly
  • 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.

Configuration

  • 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 and yourpassword with a valid Gmail account. Save and close.
  • Start Wildfly and run:
<JBOSS_HOME>/bin: jboss-cli.sh --file=archproject.cli

Stop Wildfly.

Build

Go to the project root folder where the build.gradle resides and run:

./gradlew build

Eclipse

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!

archproject's People

Contributors

bgasparotto avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.