Skip to content

Latest commit

 

History

History
87 lines (66 loc) · 2.77 KB

README.md

File metadata and controls

87 lines (66 loc) · 2.77 KB

Shalahuddin Maven Archetype Project Template

Summary

The project is a source to create Shalahuddin Database based on web application.

Generated project characteristics

Prerequisites

  • JDK 8
  • Tomcat v8.0
  • Maven 3
  • PostgreSQL DB (optional, you can use other DB)

Tools

  • Eclipse IDE
  • Browser (Recomendation : Chrome)

Features

  • Support various database connection (oracle, mysql, postgresql, sqlserver, derby, hsqldb, h2). Default: postgresql
  • Audit trail already implemented
  • Support Active Directory authentication
  • User Management already implemented
  • Access Role

Create maven archetype and install it locally

Open Eclipse IDE :

  • Click menu File > Import
  • Select 'General' folder and choose 'Existing Projects into Workspace
  • Browse the project folder you just have download
  • Then, clik 'Finish'

Navigate to the project, then:

  • Righ click > Run As > Maven clean
  • Make sure that the project is cleaned up succesfully. Find out in 'Console'
  • Then, Righ click > Run As > Maven install
  • Make sure that the project is installed succesfully, generating war file automatically by system. Find out in 'Console'
Run the project
----------------

Navigate to the project directory and then:
- Righ click > Run As > Run on server
- Choose Tomcat v8.0 then 'Finish'

Test in the browser
-------------------

	http://localhost:8080/shalahuddin

*8080 is the default port of Tomcat server. You may have modified it. Check it out in Tomcat properties
	
Signin using this:

    userId : admin
    password: admin


Note: No additional services are required in order to start the application. Mongo DB configuration is in place but it is not used in the code.


Reference

  1. Rafal Borowiec blog codeleak.pl
  2. Spring Data JPA Tutorial: Auditing petrikainulainen.net
  3. Spring Data JPA Tutorial: Introduction to Query Methods petrikainulainen.net
  4. Source template project :dbudi