SpringSource 和以前的 Spring 是一样的吗? :)

发布于 2024-10-30 18:30:30 字数 202 浏览 1 评论 0原文

我上次安装 Spring 是在几年前,当时我只需要添加一些 jar。现在,当我在 google 上搜索 Spring 后,它把我带到了 SpringSource,VMWare 的一个部门。

它带我完成了 SpringSource Tool Suite 的整个安装过程,它看起来很酷,但也很笨重。

如今,人们正在为健壮且轻量级的 Java MVC 框架做什么?

I last installed Spring a few years ago and back then it was just some jars I had to add. Now after I googled for Spring, it brought me to SpringSource, a division of VMWare.

It took me through a whole installation process for the SpringSource Tool Suite and it looks cool, but is also bulky.

What are people doing for a robust and lightweight Java MVC framework these days?

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

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

发布评论

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

评论(3

紫竹語嫣☆ 2024-11-06 18:30:30

嗯,Spring MVC 如今是一个健壮且轻量级的 Java MVC 框架;-)

不过,有一个“问题”:它使用 Spring 本身(当然),而这些年来它已经变得越来越大。曾经只是一个依赖注入框架,如今几乎是一个完整的 Java EE 替代品。含义:如果您想要 Java EE 而没有真正的应用程序服务器,那么请使用 Spring。在大多数情况下,这归结为将 Tomcat 与 Spring 结合使用。

所以,真正的答案是:你仍然可以轻松地使用 Spring,但如果你确实需要的话,只使用你需要的东西。 Spring 起源于 2003 年,当时 Java EE 还很让人头疼,但现在 Java EE 已经变得越来越简单,几乎已经超过了 Spring,尤其是 EE 6。

使用 Spring 不需要 Springsource Tools ,但为了高效使用 Spring,建议使用它。如果您坚持使用 XML 配置,从长远来看,缺乏工具帮助将会阻碍您。

我的小抱怨已经结束了,所以我希望我至少对你有一点帮助。

Well, Spring MVC is a robust and lightweight Java MVC framework these days ;-)

One "problem", though: it uses Spring itself (of course), which has gotten much bigger over the years. What was once just a dependency injection framework, today is almost a complete Java EE replacement. Meaning: if you want Java EE without a true application server, then use Spring. And that boils down to using Tomcat with Spring in most cases.

So, the true answer is: you can still use Spring without much hassle, but use only what you need, if you really need it. Spring originates from 2003, when Java EE was a real pain in the neck, but nowadays Java EE has gotten more and more simple, almost to the point that it's preferred over Spring, especially EE 6.

Springsource Tools isn't needed for using Spring, but it is recommended for efficient Spring usage. If you stick with XML configuration, lack of tools assistance will hamper you in the long run.

My little rant is over, so I hope I helped you at least a bit.

他不在意 2024-11-06 18:30:30

Springsource Tool Suite 是他们定制的 Eclipse 发行版,不,您在技术上不需要它。您仍然只需要 jar 文件,可以在此处找到该文件。

Springsource Tool Suite is their customized distribution of Eclipse, and no you don't technically need it. You still only need the jar files, which can be found here.

橘亓 2024-11-06 18:30:30

您不需要 SpringSource 工具套件。

Spring 仍然是最流行的轻量级 Java MVC 框架。

Spring 被分成不同的模块(项目),以避免在不需要时出现大的依赖关系。

springsource spring-framework-3.1.0.M1.zip 中的 项目 列表为

25.6 MB,可以在这里

玩得开心!

You don't need SpringSource Tool Suite.

Spring is still the most popular lightweight Java MVC framework.

Spring is splitted into different modules (projects) to avoid big dependencies if you don't need them.

List of projects from springsource

spring-framework-3.1.0.M1.zip is 25.6 MB and can be found here

Have fun!

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