Spring Data 在非Spring项目中

huangapple go评论45阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2020年7月31日 02:32:27
  • 转载请务必保留本文链接:https://go.coder-hub.com/63179291.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定