I am a big fan of spring frame work.When i started working with spring long ago it is very difficult to configure a web application using it.In order to run a simple web application spring framework needs a Lot of xml configuration .I personally hate xml configuration any way the spring evaluation brings the concept of annotation that makes our life more easy and smooth . Time gone spring boot came to picture it makes life little more easier. using a single run command we can up a web application. I recently came across a grate another opensource spring generator called JHipster.The official website says "JHipster is a development platform to generate, develop and deploy Spring Boot + Angular/React Web applications and Spring microservices." Yes it is supper easy to generate spring project using JHipster it could be a standalone web service or a Web application. using this tool we can configure any kind of application in less than couple of minutes.
spring boot CORS filter along with spring security and OAuth2 (@EnableOAuth2Sso) import org.springframework.stereotype.Component; import javax.servlet.*; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException;
Comments
Post a Comment