Skip to main content
docker-logo

Spring Boot with Docker

Overview We already discussed how to develop REST web service using the Spring Boot. There are a couple of tutorials that related to Spring Boot. Building a simple REST Service with Spring Boot Spring Boot REST web service – Spring Data and MySQL In this tutorial, we are going to walk through how to containerize […]

Read More

Java Object to/from JSON – Jackson 2

1.) Overview In this tutorial, we discuss how to serialize Java Object into JSON and deserialize JSON String into Java Object using Jackson 2. 2) Dependencies Add these dependencies to pom.xml.

3) Serialize and Deserialize using ObjectMapper We are using User.java class to serialize and deserialize throughout this tutorial.

3) JSON to Java […]

Read More

spring-boot logo

Spring Boot REST web service – Part 3 – Exception Handling and Validation using @ControllerAdvice, @Valid and Custom Annotations

This is the 4th tutorial in the Spring Boot REST web service tutorial series. Building a simple REST Service with Spring Boot Part 1 – Spring Data and MySQL Part 2 – CRUD, Service Layers, Assemblers and Utility classes 1)  Overview In this tutorial, we will discuss how to handle exceptions. For an example, we […]

Read More

spring-boot logo

Spring Boot REST web service – Part 2 – CRUD operations, Service Layers, Assemblers and Utility classes

We already implemented simple REST web service in the previous tutorial. Building a simple REST Service with Spring Boot Spring Boot REST web service – Part 1 – Spring Data and MySQL In this tutorial, I am going to implement new functionalities on top of the previous tutorial. Mainly, focusing on these following areas. CRUD Operations Service […]

Read More

ArrayList Sorting :- Part 1 – using Comparable and Comparator

In this tutorial, we’ve shared few examples of sorting ArrayList. String ArrayList Collections.sort() and Collections.reverseOrder() can be used for sorting and reverse sorting.

Read More

RSS
Follow by Email
Facebook
Facebook
Google+
http://mydevgeek.com/2017/03
Twitter