Spring

Migrating Spring to Spring Boot

How to migrate from Spring to Spring Boot.

Chirag S P
As more and more applications move towards platform-as-a-service(PAAS), many companies are looking to migrate from Spring MVC to Spring Boot. Migrating from Spring MVC to Spring Boot involves quite a few changes affecting the entire application. In this article I will explain my experience on migrating Spring MVC to Spring Boot in my current company and the issues I faced doing the same. 1. POM Changes First thing to do, is the POM changes.

How to Fix CORS Error in Spring boot JWT Security

Solution for CORS error in Sprint Boot Security deployed in Heroku

Chirag S P
CORS error is one of the most annoying errors which one can encounter while developing web applications. CORS is a mechanism that allows Server to indicate to Browser to allow connections from origins other than its own. Browser will send a pre-flight connection request(an Options request) to server to check if server will allow the request. If server allows the request from this origin it will respond with Access-Control-Allow-Origin. I encountered this error while developing an Angular application.