本文介绍了我应该选择Apache Click还是Tapestry 5?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将决定是使用Apache Click还是Apache Tapestry 5框架。我应该选择哪一个?我正在寻找一个可以用来构建未来几年Java EE Web应用程序的框架。接下来的几天我将测试它们运行样本和自定义项目,但我想提前知道其中一个是否不稳定或大到足以用于大规模企业应用程序。我需要它与Maven,各种AJAX和Eclipse一起工作。

I am to decide whether to use Apache Click or Apache Tapestry 5 framework. Which one I should choose? I'm looking for a framwork that I could use for building Java EE web applications for the next few years. The next few days I'll be testing them both running sample and custom projects, but I'd like to know in advance if one of them is not stable or big enough for large scale enterprise applications. I need it to work without any difficulties with Maven, various AJAX and Eclipse.

提前谢谢你,StackOverflow社区:)

Thank you in advance, StackOverflow comunity :)

推荐答案

好吧,谢谢Dragan。我认为关键问题是您是否熟悉面向组件的框架(Tapestry)与面向行动的框架(Click)。组件的本质,至少是Tapestry的方式,是框架可以接管你的大量工作;类似于如何形成URL,命名查询参数的内容或会话属性名称。此外,Tapestry还有很多元编程空间,而通用编程模型(以丰富的数据和操作为中心的可变对象)比处理典型的servlet更有趣。我不太了解点击说如何或如果它解决这些问题,但我很乐意推荐Tapestry超过我所知道的任何其他框架。

Well, thanks Dragan. I think the essential question is are you comfortable with a component oriented framework (Tapestry) vs. an action-oriented framework (Click). The nature of components, as least the Tapestry way, is that the framework can take over lots and lots of work from you; thing like how to form URLs, what to name query parameters, or session attribute names. In addition, Tapestry has a lot of room for meta-programming, and the general programming model, which centers on mutable objects rich with data and operations, is a lot more fun than dealing with typical servlets. I don't know enough about Click to say how or if it addresses these issues, but I'm very comfortable recommending Tapestry over any other framework I'm aware of.

这篇关于我应该选择Apache Click还是Tapestry 5?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-25 20:07