How should I build a modularized enterprise application which must use Spring and JPA?

杀马特。学长 韩版系。学妹 提交于 2019-12-04 15:58:49

that's why we developed osgi-less modularity for Spring https://github.com/griddynamics/banshun Your feedback is appreciated!

Why do you need OSGi? Why not use a Web Server like Tomcat, and deploy your application as a war? You can deploy it on multiple servers in a cluster, and your application can scale on and on.

Why do you need Spring? It has become incredibly coupled. And it has a complexity that find quite useless since OSGi applications tend to be built from small components communicating through services; voiding most of the advantages of the Spring wiring model which assumes it is central.

And hard to configure is a strange remark, OSGi is excellent configuration support. It is just different than what you're used to.

Instead of using spring, why not using OSGi Blueprint it'll give you an "easy" transition from Spring to OSGi.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!