Tag Archives: Spring

Managing Multiple Databases in a Monolithic Spring Boot App Using JPA: A Beginner’s Guide

Managing Multiple Databases in a Monolithic Spring Boot App Using JPA: A Beginner’s Guide

In a typical monolithic architecture, applications often interact with a single database. However, there are scenarios where you might need to integrate multiple databases, such as when handling legacy systems or optimizing for performance. With Spring Boot, this is not only possible but can be managed efficiently using DataSource, EntityManager, and TransactionManager. In this blog, Continue Reading »

Spring Hibernate With EhCache

Ehcache is an open-source, standards-based cache for boosting performance, simplifying scalability and offloading your database. EhCache is used to improve performance by reducing the load on underlying resources.  It can also be used for RESTful server caching, application persistence, and distributed caching. In simple words, cache means a store of things that will be required Continue Reading »

Spring Data JPA

  Spring Data JPA is not a JPA provider but is a specification. It is a library / framework that adds an extra layer of abstraction on the top of our JPA provider. It simply “hides” the Java Persistence API (and the JPA provider) behind its repository abstraction. JPA is the sun specification for persisting Continue Reading »

Job Scheduling with Spring Batch

 Spring Batch Spring Batch is a processing framework designed for robust and parallel execution of multiple job. It follows the standard batch architecture in which a job repository takes care of scheduling and interacting with the job.  Spring Batch Job Spring batch job reads input data, processes the input data, and writes the processed data Continue Reading »