在 Tapestry 中构建 Web 应用程序的良好资源

发布于 2024-08-27 15:23:27 字数 804 浏览 3 评论 0原文

我目前正在为我的公司研究 Tapestry,并试图决定是否可以将我们现有的专有 Web 应用程序移植到更好的东西上。目前,我们正在运行 Tomcat 并使用 JSP 作为前端,并由我们自己的框架支持,最终使用 JDBC 连接到 Oracle 数据库。

我已经完成了 Tapestry 教程,它非常简洁,让我很感兴趣,但现在我面临着似乎是文档的常见问题。在准备完全投入之前,我需要确保可以使用 Tapestry 完成很多事情。有没有人有任何好的资源,无论是书籍、网络文章还是其他任何东西,都比 Tapestry 教程解释的更详细?

我也在考虑与 Hibernate 集成,并且也阅读了一些有关 Spring 的内容。我仍然很难理解 Spring 与 Tapestry 结合起来如何更有用而不是更麻烦,因为它们似乎有很多重叠的功能。我读到的一个例子似乎是使用 Spring 与 Hibernate 交互,然后使用 Tapestry 与 Spring 交互,但我的印象是 Tapestry 与 Hibernate 的集成程度相同。我所说的资源是
http://wiki.apache.org/tapestry/Tapstry5First_project_with_Tapestry5,_Spring_and_Hibernate 。我很感兴趣,因为我之前没有在其他任何地方找到有关如何通过 Tapestry 应用程序维护用户级别和会话的信息,但对示例中使用 Spring 的需要并没有留下深刻的印象。

I'm currently researching into Tapestry for my company and trying to decide if I think we can port our pre-existing proprietary web applications to something better. Currently we are running Tomcat and using JSP for our front end backed by our own framework that eventually uses JDBC to connect to an Oracle database.

I've gone through the Tapestry tutorial, which was really neat and got me interested, but now I'm faced with what seems to be a common issue of documentation. There are a lot of things I'd need to be sure that I could accomplish with Tapestry before I'd be ready to commit fully to it. Does anyone have any good resources, be it a book or web article or anything else, that go into more detail beyond what the Tapestry tutorial explains?

I am also considering integrating with Hibernate, and have read a little bit about Spring too. I'm still having a hard time understanding how Spring would be more useful than cumbersome in tandem with Tapestry,as they seem to have a lot of overlapping features. An example I read seemed to use Spring to interface with Hibernate, and then Tapestry to Spring, but I was under the impression Tapestry integrates to the same degree with Hibernate. The resource I'm speaking of is
http://wiki.apache.org/tapestry/Tapstry5First_project_with_Tapestry5,_Spring_and_Hibernate . I was interested because I hadn't found information anywhere else on how to maintain user levels and sessions through a Tapestry application before, but wasn't exactly impressed by the need to use Spring in the example.

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

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

发布评论

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

评论(2

沫尐诺 2024-09-03 15:23:27

我使用的来源是:

我个人而言,我发现 Tapestry 5 可以在没有 Spring 的情况下完成基本 Web 应用程序所需的一切。您可能想要引入一些特定的 Spring 实用程序,但 Tapestry/Hibernate 集成非常可靠且易于使用。尽管如此,维基百科还是有一些整合两者的例子。

我不确定你指的有关会议的内容。使用 T5 非常简单。请参阅

The sources I use are:

Personally, I've found that Tapestry 5 does everything a basic web app needs without Spring. There might be some specific Spring utilities you would want to pull in, but the Tapestry/Hibernate integration is very solid and easy to use. Still, the wiki has some examples of integrating the two.

I'm not sure of what you're referring to regarding sessions. It's extremely simple with T5. See this.

浪荡不羁 2024-09-03 15:23:27

不要忘记查看 http://tapestry.apache.org 上经过改进的新文档。

Don't forget to check the new, improved documentation at http://tapestry.apache.org.

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