英文:
Spring Data in non-Spring Project
问题
我想在非Spring项目中使用Spring Data Cassandra进行对象映射。该项目未使用Spring Boot或任何其他Spring组件。这是一种良好的做法还是我做错了?
P.S-一切都运行正常,只是想知道我是否走在正确的道路上。
英文:
I want to use Spring Data Cassandra in a non-Spring Project for Object Mapping. The project is not using Spring Boot or any other Spring component. Is this a good practice or I am doing it the wrong way?
P.S-Things are working fine but just wanna know If I'm on right track.
答案1
得分: 1
Spring Data在非Spring项目中的使用是频繁的(主要在旧项目中)。真正的问题是如何在当前架构中正确集成它。
这不是好与坏的做法,而是一项技术选择,必须与您的功能和技术要求相适应。
英文:
The usage of Spring Data in a non Spring project is frequent (mostly in old projects). The real question is, how to integrate it properly in your current architecture.
It's not a good or bad practice, it's a technical chose which must be in adequacy with your functional and technical requirements.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论