[英]Spring Data in non-Spring Project
I want to use Spring Data Cassandra in a non-Spring Project for Object Mapping.我想在 Object 映射的非 Spring 项目中使用 Spring 数据 Cassandra。 The project is not using Spring Boot or any other Spring component.
该项目未使用 Spring 引导或任何其他 Spring 组件。 Is this a good practice or I am doing it the wrong way?
这是一个好习惯还是我做错了?
PS-Things are working fine but just wanna know If I'm on right track. PS-事情运行良好,但只想知道我是否走在正确的轨道上。
The usage of Spring Data in a non Spring project is frequent (mostly in old projects).在非 Spring 项目中经常使用 Spring 数据(主要在旧项目中)。 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.
这不是一个好或坏的做法,它是一种技术选择,必须充分满足您的功能和技术要求。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.