Year: 2019

Last Updated on May 30, 2019 by jt 1. RestTemplate Introduction In today’s blog post we will have a look at Springs well-known rest client – the RestTemplate. The RestTemplate is the central class within the Spring framework for executing synchronous HTTP requests on the client side. Like Spring JdbcTemplate, RestTemplate is also a high-level […]Continue reading

Last Updated on May 29, 2019 by jt In this post, I’ll explain how to work with resources in Spring using ResourceLoader. We’ll begin with a brief introduction about resources. Next, we’ll look at the Resource interface and some of its important methods. Finally, we’ll go through its implementations. Introduction: Working With Resources In Spring via […]Continue reading

Last Updated on May 26, 2019 by jt Spring Aware Interfaces allow you to hook into the inner workings of the Spring Framework. Though Spring Aware interfaces, you can access the Spring context, or Spring Bean life cycle events. Your Spring beans might require access to framework objects, such as ApplicationContext, BeanFactory, and ResourceLoader . […]Continue reading

Last Updated on July 1, 2019 by Simanta 1. JdbcTemplate Introduction If we want to perform CRUD operations on a relational database the Spring ecosystem provides Spring Data JPA and Spring Support for JDBC. Spring Support for JDBC focuses on the JdbcTemplate class, which is internally based on the JDBC API of the Java SDK. […]Continue reading

Last Updated on June 14, 2019 by Simanta Lists are common data structures in Java. Elements in a List have a specific order and can include duplicate elements. List have different implementations based on different use cases. The two key ones are ArrayList and LinkedList. Novice programmers often tend to use both the implementations interchangeably. […]Continue reading

Last Updated on June 30, 2019 by Simanta Timer is a utility class as a facility for Threads to schedule tasks for future execution as a background thread. You can use this class to schedule tasks for one-time execution or for repeated execution at a regular interval. In this post, I’ll explain how to schedule […]Continue reading