需要建议选择 JSF

发布于 2024-10-08 21:19:32 字数 262 浏览 0 评论 0原文

您好,

我们正在评估不同的技术来实施我们的应用程序。我们的应用程序就像论坛,每天都会吸引数百万用户。例如,这个 stackoverflow.com 可以毫无问题地处理如此庞大的用户群。

我的问题是 JSF 是否是开发此类应用程序的合适框架。我们将在 JSF 之上使用 RichFaces 等组件来设计前端。我很少看到关于 jsf 的评论,认为它比其他技术慢。

我期待您对我的工作提出建议和想法。我是 Java 开发人员,更愿意选择任何 Java 框架。请告诉我。

HI,

We are in the process of evaluating the different technologies to implement our application. Our application is like forums which will get the millions of users every day. For example, this stackoverflow.com handles such a heavy user base without any problem.

My question is whether JSF is suitable framework to develop such a application. We will be using components like RichFaces on top of JSF to design the front end. I have seen few comments about jsf that it is slow compare to other technologies.

I am anticipating your suggestions and ideas for my work. I am Java developer and would prefer to select any of the Java framework. Please advise me.

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

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

发布评论

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

评论(3

无言温柔 2024-10-15 21:19:32

我想说JSF确实是一个非常好的选择。如果您正在构建一个为“数百万用户”提供服务的应用程序,那么后端架构通常比前端 Web 框架重要得多。

根据经验,处理完整请求所需的时间只有一小部分花在 Web 框架上。大部分时间总是在DB和IO中。做对了,你基本上就完成了。

JSF 的优点有很多。它非常容易使用并且非常受欢迎。这意味着有很多书籍、文章、博客和论坛可以为您提供帮助。此外,与寻找具有较少使用的 Web 框架之一经验的人员相比,找到更多已经了解 JSF 的员工相对更容易。

JSF 如此流行的事实也意味着有大量的组件库和扩展可供使用。总体而言,这使您的生活变得更加轻松。使用某些现有组件总是比从头开始构建它更快。

I would say JSF is indeed a very good choice. If you're building an application that serves "millions of users", then more often than not the back-end architecture is much more important than the frond-end web framework.

As a rule of thumb, only a small percentage of the time that processing a complete requests takes is spent in the web framework. The majority of time is always in the DB and in IO. Get that right and you're basically there.

The advantages of JSF are many. It's very easy to work with and it's very popular. This means there are many books, articles, blogs and fora out there to help you. Additionally, it's relatively easier to find extra employees who already know JSF than it is to find people having experience with one of the less used web frameworks.

The fact that JSF is so popular also means there are lots of component libraries and extensions available for it. This overall makes your life a lot easier. It's always faster to use some existing component than building it from scratch.

梦在夏天 2024-10-15 21:19:32

如果您正在寻找像 SO 这样的网站,那么我建议 GWT。它很容易使用,速度更快(相对于 jsf),良好的 ajax 支持,可嵌入,并且没有陡峭的学习曲线,特别是当您来自像 struts 等基于动作的框架时。

查看它的演示展示案例以及现实世界的实现此处

If you are looking for a website like SO, then I'd suggest GWT. It is easy to work with, faster (relative to jsf), good ajax support, embeddable and doesn't have a steep learning curve especially when you are coming from an action based framework like struts etc.

Checkout its demo show case and also the real world implementations here.

ˉ厌 2024-10-15 21:19:32

如果您正在构建类似论坛的应用程序,为什么不使用现有的解决方案,例如构建 stackoverflow.com 的软件?

If you are building a forum-like application, why not use an existing solution such as the software on which stackoverflow.com is built-on?

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