Jetty Server Configuration for spring boot Spring Boot web starters include default embedded containers as tomcat but you can use spring-boot-starter-jetty or...
Author - Mathan Lal
SLF4J instead of Spring boot default logging Spring Boot uses Commons Logging for all internal logging but leaves the underlying log implementation open. By...
Spring Boot using XML response instead of JSON If your application need to send XML response instead of JSON, Just add Jackson XML extension (jackson...
Spring boot allows the developer to integrate hibernate classic way of implementation by adding hibernate configuration to spring boot application, If you are...
Integrating Spring boot with RabbitMQ RabbitMQ is a lightweight, reliable, scalable, and portable message broker based on the AMQP protocol.Spring boot uses...
Spring boot with Quartz integration Spring Boot offers several conveniences for working with the Quartz scheduler, including the spring-boot-starter-quartz...
How to add Profile-specific Properties? In addition to application.properties files, profile-specific properties can also be defined by using the following...
PropertySourcesPlaceholderConfigurer Spring boot Spring boot allows application.properties to be loaded from an external location or from system path using...
Spring boot GSON Integration Spring Boot provides integration with: JacksonGSONJSON-B Spring support Jackson, Gson and JSON-B all at the same time, you can...
Spring boot Mongodb curd using MongoRepository MongoDB is an open-source NoSQL document database that uses a JSON-like schema instead of traditional table...
Spring boot JPA CurdRepository implementation example The Java Persistence API is a standard technology that lets you “map” objects to relational databases...
Spring boot Cache using @EnableCaching and @Cachable Spring Boot auto-configures the cache infrastructure as long as caching support is enabled via the...
Creating a CURD restfull webservices using spring boot Now creating a restfull web services is much easier using Spring boot. Configuring pom.xml To add the...
This post shows you how to convert nanoseconds and seconds to days hours minutes using java 8 LocalTime API. LocalTime API contains public static LocalTime...
This post shows how to convert hh mm, hh mm ss, etc to LocalTime, LocalTime in java 8 stores time in the ISO-8601 calendar system without a time-zone LocalTime...
This post shows you how to get system current date time in java using its java 8 LocalTime API. Also, LocalTime API comes with few overloaded methods to gets...
This post shows you how to convert string to localdate with default timezone and customized timezone. LocalDate.parse contains two overloaded methods public...
Epoch day uses the local time-line, ignoring offset and time-zone and strictly defined to have the same meaning in all calendar systems. The epoch-day, based...
This returns a LocalDate with the specified year, month and day-of-month, You can use this method if your application get DOB or any date from user in int...
LocalDate API has an improved way of working with date, many developers struggle to get a current date without time, java 8 made it simple with its factory...