Sample project on more or less modern Java 8+X stack see http://o-softe.blogspot.ru for details