Best practices of deploying Spring Extjs webapp -
i'm working on project involving spring boot creating rest webservice , extjs 5 front end, frontend , backend developped independentely, i've managed avoid cors problems, know best practices concerning deployment in case. keep backend independent of frontend packaging frontend in own .war , backend, there problems in following practice.
you can avoid cors problem if deploy front-end , back-end same domain different context (domain.com/front, domain.com/back). in other case need cors, please take @ last release spring boot 1.3.m1: https://spring.io/blog/2015/06/12/spring-boot-1-3-0-m1-available-now
the released spring framework 4.2 rc1 provides first class support cors out-of-the-box, giving easier , more powerful way configure typical filter based solutions.
source post: https://spring.io/blog/2015/06/08/cors-support-in-spring-framework
Comments
Post a Comment