框架推荐请求:Spring、Struts、Java EE?

发布于 2024-08-05 07:52:46 字数 259 浏览 3 评论 0原文

上次我查看 Web 应用程序时,共识似乎是 Struts/Java EE。现在看来,Spring MVC/Java EE 或 Struts/Java EE 都是可行的解决方案。

这通常是正确的吗?或者 Spring MVC 现在是相对于 Struts 的共识选择吗?我们至少有一个人以前曾使用过 Struts,并且希望继续使用它。我对 Struts 也比较熟悉,过去曾对其进行过回顾。

另外,Java EE 是否仍然被认为是处理远程组件的可行解决方案?或者还有其他选择吗?

The last time I looked at web applications, the consensus seemed to be Struts/Java EE. Now, it looks like Spring MVC/Java EE or Struts/Java EE are both viable solutions.

Is this generally correct? Or is Spring MVC now the consensus choice over Struts? We have at least one guy who has worked with Struts before and wants to go with that. I'm more familiar with Struts as well, having reviewed it in the past.

Also, is Java EE still considered the viable solution for handling remote components? Or are there alternatives?

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

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

发布评论

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

评论(2

叹倦 2024-08-12 07:52:46

对于表示层还没有真正的共识,对我来说,表示层仍然是 Java EE 应用程序的“一次性”部分。上述解决方案没有太大的缺点或设计问题,并且可以完成工作。我只想添加 Stripes 这是一个非常优雅的框架,基于约定优于配置,简单易学,如果您对基于行动的框架有一些经验。还有 Wicket,尽管 Wick 是一个基于组件的框架,这是一个不同的范例。

只需选择其中之一即可(您最熟悉的那个似乎是一个不错的选择)。

仅供参考,Matt Raible 对 Web 演示框架做了一些很好的比较,并没有完全过时,而且仍然很有趣。一探究竟。

There is no real consensus for the presentation layer which is to me still a "throwaway" part of a Java EE application. The mentioned solutions don't suffer from big drawbacks or design problems and will do the job. I would just add Stripes which is a very elegant framework based on Convention over Configuration, simple and easy to learn if you have some experience with an action-based framework. And there is also Wicket, although Wick is a component-based framework which is a different paradigm.

Just pick one of them (the one you know the most seems to be a decent choice).

FYI, Matt Raible has done some nice comparisons of Web Presentation Frameworks that are not totally outdated and still interesting. Check it out.

怀里藏娇 2024-08-12 07:52:46

所有这些解决方案都是完全可行的。除非您只是想学习一项新技术,否则请使用 struts,因为这是您所知道的。

All those solutions are perfectly viable. Unless you are just looking to pick up a new technology, go with struts since it's what you know.

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