Posted In: Java Script, React, Spring, Spring REST

React 15 + Spring 5 + JDBC + REST + Maven – Complexity level 2

Technologies used Maven 4.0.0 Spring 5.0.0.M4 React 15 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. Then we will create simple UI grid using React, jQuery and Bootstrap. Let us create […]

Read More

Tags: , , , , ,

by , on February 6th, 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

Posted In: Spring, Spring REST

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

Technologies used Maven 4.0.0 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

Posted In: CRUD, JDBC, JEE

Create Registration form Servlet3 + MySQL + Tomcat

Steps 1. Create USER_MASTER table in MySQL DB. 2. MySQL do not require sequence. Column can be made AUTO_INCREMENT 3. Add Datasource Setup in Tomcat. Refer Datasource Setup 4. Create Eclipse web project 5. Create User value object with attributes. 6. Create Servlet. 7. Add javax.servlet.annotation.WebServlet annotation to access Servlet 8. Add javax.annotation.Resource annotation to […]

Read More

Tags: , , , ,

by , on January 24th, 2017

Posted In: JDBC

How to configure MySQL DataSource in Tomcat 9

1. MySQL datasource setup 1. Download MySQL JDBC driver Location to download MYSQL JDBC CONNECTOR (mysql-connector-java-5.1.40.zip->mysql-connector-java-5.1.40-bin.jar) Copy connector jar to either TOMCAT/LIB or application’s WEB-INF/lib Note In an enterprise application avoid adding it in application’s WEB-INF/lib. Mostly this connector will be configured at server level so that same version will be shared among multiple applications. […]

Read More

Tags: , , , , , ,

by , on January 21st, 2017

  • Categories