适用于大型 Java EE 应用程序的 MVC 框架
对于每周访问量超过 200 万次的 Web 应用程序来说,哪种 MVC 框架是最佳选择(性能/易于开发)。
基本上该网站是一个搜索引擎,但也会有大量的XML解析,以及高数据库流量。
我们使用 Java,基于 Jboss 4.2.3x,使用 PG 作为数据库,使用 Solr 进行搜索。
我们正在考虑使用 taglib 和 Servlet 编写 JSP 代码,但我们感觉会有更好的替代方案,但目前还不知道,因为我们正开始进入 Java Web 应用程序世界。
任何意见以及您的经验分享将不胜感激!
提前致谢!
Which MVC-framework is the best option (performance/ease of development) for a web application, that will have + 2 million visits per week.
Basically the site is a search engine,but also there will be large amounts of XML parsing, and high db traffic.
We are using Java, over Jboss 4.2.3x, with PG as DB, and Solr for the searches.
We were thinking on code JSPs with taglibs, and Servlets, but we were feeling like there would be a better alternative, which don't know yet, as we are starting on the Java Web applications world.
Any opinions, and shares of your experience will be appreciated!
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Spring MVC 可能是您的最佳选择。 虽然它易于使用并与 Java EE 堆栈的其余部分集成,但它允许大量的自定义,最后但并非最不重要的一点是,它非常快,因为开销很小。 我强烈推荐它。
Spring MVC may be your best choice. While it is easy to use and integrate with the rest of the Java EE stack, it allows a huge level of customization, and last but not the least, it is really fast because there's little overhead. I highly recommend it.
我认为你真的需要坐下来考虑这些选项,并评估每一个(或它们的组合)。
您可能会使用的一些可能的框架词(除了带有 Servlet 的普通旧 JSP 之外)有:
以及更多我确定...
你想重新发明轮子吗?
您还想使用哪些客户端框架?
I think you really need to sit down with the options, and assess each one (or combination thereof).
Some possible framewords that you might use (that come to mind, beyond plain old JSPs with Servlets) are:
and many more I'm sure...
Do you want to reinvent the wheel?
What client-side frameworks will you also want to use?