I've been working a bit in getting a "Zero project" with some usual java frameworks that works out out of the box with minimal configuration. Is not aimed to profesional or production environments, but can get you working in a prototype fast without the cumberstone work of putting all the pieces to work. It's open source of course and can be downloaded/cloned at github
. Any idea will be welcome.
Spring 5, Primefaces 6.2 + PF Extension,s Spring Data + Hibernate 5, Spring Security, Junit, H2, MySQL 8, Liquibase, MapStruct
What does includes?
A backend project for the data access and service layers, with all Database related stuff in it.
An api layer with interfaces and DTOS.
A frontend project for the view and its managedbeans, security, i18n and jetty for runing.
A basic model for user login, register and update user info.
DTOs and entity mapping with MapStruct
Facebook login example and register
User with login and register using email
Jetty ready for fast development
Forgot password email
Cluster markes for Primefaces map (see http://ggefaell.blogspot.cl/2015/07/marker-clusterer-in-primefaces-gmap.html
Image resize using Scalr library (great open source library that uses Java 2D functions for scaling https://github.com/thebuzzmedia/imgscalr
Fileupload ready for PF uploadfile
Liquibase for database changes.
Use of Maven SQL plugin for cleaning and loading the local database.
Junit with inmemory H2 database ready to run.
Integration Junits to the local database.
Async mail sending
Cron jobs using Spring @Scheduled
Prettyfaces for permanent URL links and URl rewriting
Font awsome icons
Ehcache for Hibernate second level cache
File service for writing to disk files uploaded by the users.
Nice js lightbox library included
Not really a production ready archetype. More like a fast prototype and to play around with java fw. Poor documentation right now on the goodies and how to make them work.
No pretty default template or pretty layout to start working. Just a basic template with a Mainlayout an ui:composition. Some examples are still missing like the lightbox or the cluster marker for gmaps.
Hope you like it.