有数据驱动的开源 JEE5 EJB3+JSF 示例项目吗?

发布于 2024-07-04 04:57:45 字数 1560 浏览 8 评论 0原文

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

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

发布评论

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

评论(5

源来凯始玺欢你 2024-07-11 04:57:45

我不确定它是否 100% 符合您的要求,但请查看 NetBeans 6.1 附带的内置示例。 它使用 JSF/EJB3/ApacheDerby。 我玩了大约 20 分钟,认为作为一个简单/入门的 JavaEE 应用程序来学习,它非常酷。

I am not sure is it 100% what your looking for, but check out the built in example that comes packaged with NetBeans 6.1. It uses JSF/EJB3/ApacheDerby. I played around with it for like 20 minutes and thought it was pretty cool as a simple/starter JavaEE application to learn from.

困倦 2024-07-11 04:57:45

接缝示例非常好。 它们是独立的项目,您可以开箱即用地部署它们。

Seam examples are quite good. They are stand-alone projects, that you may deploy out of the box.

半仙 2024-07-11 04:57:45

我感受到你的痛苦,这不是一个答案,而是一个观察结果,即 Java 世界总体上缺乏超出教程范围的优秀应用程序。 一些示例 .NET 应用程序非常好,展示了有趣的技术,同时解决了足够小的问题,使新手可以了解整个应用程序并看到“真实代码”做“真实的事情”。

我没有看过 Seam 示例,所以它们很可能是一个例外,但是拥有示例应用程序,特别是您正在谈论的 CRUD、查询、报告样式后台应用程序,对人们有很大帮助,我希望有Java 社区中有更多内容。

I feel your pain, this is not an answer, as much as an observation that the Java World in general suffers from the lack of good applications that go beyond the tutorial. Some of the sample .NET applications are very good and show interesting techniques, while solving small enough problems that the novice can wrap their heads around the entire application and see "real code" doing "real things".

I have not looked at the Seam examples, so they may well be an exception, but having sample applications, particularly the CRUD, Query, Report style back office applications you're talking about, are a great help to folks and I wish there were more in the Java community.

柒夜笙歌凉 2024-07-11 04:57:45

您可能会浏览这些现实世界的 JSF 应用程序,看看其中是否有可用的源代码: RealWorldJsfLinks

You might poke around at these real world JSF apps and see if any of them have their source available: RealWorldJsfLinks

永言不败 2024-07-11 04:57:45

我必须赞同 jb 的评论:接缝示例很棒并且可以使用。 Seam 主页 使用示例中的 Seam Wiki(该应用程序本身就满足所有概述的标准)。 分发中的其他示例:酒店预订DVD 商店博客文档包含有关示例的特殊部分。

“问题”可能是 Seam 涵盖了您通常在传统 EJB3/JSF 应用程序中必须执行的许多细节。 您可能想查看 AppFuseAppFuse Light。 他们有一个应用程序,其中包含使用不同技术的示例,包括 EJB3(仅限 JPA)和 JSF。 这些示例并不复杂(并不能真正满足您的标准),但包含很多有用的内容。

I have to second jb's comment: The seam examples are great and can be put to use. The Seam Homepage uses the Seam Wiki from the examples (that application alone fulfills all the outlined criteria). Other examples in the distribution: Hotel Booking, DVD Store, and a Blog. The documentation contains quite some information on the special parts of the examples.

The "problem" might be that Seam covers a lot of the details you'd usually have to do in a traditional EJB3/JSF application. You might want to have a look at AppFuse or AppFuse Light. They have one application with examples using different technologies, including EJB3 (JPA only) and JSF. The examples are not as sophisticated (don't really fulfill your criteria), but contain a lot of useful stuff.

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