什么是“无代码生成”?在 Spring Boot 中意味着

发布于 2025-01-17 06:53:29 字数 70 浏览 1 评论 0 原文

Spring Boot 文档指出“绝对没有代码生成,也不需要 XML 配置”。

在这种情况下什么是“代码生成”?

Spring Boot doc states "Absolutely no code generation and no requirement for XML configuration."

What is "code generation" in that context?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

深居我梦 2025-01-24 06:53:29

它指出 Spring Boot 不会生成或编辑代码

Spring Boot 不会生成代码或对文件进行编辑。相反,当您启动应用程序时,Spring Boot 会动态连接 bean 和设置并将它们应用到您的应用程序上下文。

这意味着除了您添加的代码和 Spring Boot 依赖项之外,不会生成和执行任何额外的代码

It states that Spring Boot doesn't generate or edit code

Spring Boot does not generate code or make edits to your files. Instead, when you start your application, Spring Boot dynamically wires up beans and settings and applies them to your application context.

It means no extra code is generated and executed except your code and spring boot dependencies you added

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文