Posted In: Build Tools, Gradle

Gradle + Gretty advance configuration

Technologies used Gradle 2.14.1 Gretty Eclipse Neon JDK 1.8 For basic configuration add to build.gradle apply plugin: ‘war’ apply from: ‘https://raw.github.com/akhikhl/gretty/master/pluginScripts/gretty.plugin’ To change port and context gretty { httpPort = 8081 contextPath = ‘/MyWebApp’ } To change servlet container. Options are ‘jetty7’, ‘jetty8’, ‘jetty9’, ‘tomcat7’, ‘tomcat8’ gretty { servletContainer = ‘tomcat8’ } Note When you […]

Read More

Tags: ,

by , on February 1st, 2017

Posted In: Spring, Spring REST

Spring 5 + JDBC + REST + Gradle – Complexity level 1

Technologies used Gradle 2.14.1 Spring 5.0.0.M4 Eclipse Neon JDK 1.8 Log4j 2.7 jackson-core 2.8.6 jackson-databind 2.8.6 Firefox rest add-on for testing In this example we will create simple Spring Rest services. This services will do simple CRUD operations. Let us create services to do CRUD operations for employee. Employee has following attributes Employee ID First […]

Read More

Tags: , , , , ,

by , on January 31st, 2017

  • Categories