什么是 SEAM FrameWork?我为什么要使用它?

发布于 2024-11-05 16:59:03 字数 51 浏览 0 评论 0原文

我是一名 JSF 开发人员,最近听说了 SEAM 框架,但我不知道它以及它的好处是什么。

I am a JSF developer and recently heard about the SEAM Framework but I don't know about it and what its benefits are.

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

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

发布评论

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

评论(2

孤独患者 2024-11-12 16:59:03

SEAM 试图弥合 JSF 和 EJB 之间的一些差距。部分目标似乎是通过在代码中使用注释和某些约定来减少设置应用程序时必须编辑的 XML 量,以避免需要尽可能多的注释或 XML。

另外,如果您阅读了 Seam in Action 或 Seam 介绍,您会开始感觉到 Ruby on Rails 存在一定的竞争关系。两者都试图涵盖 Web 开发人员所需的大部分工具(某种 ORM 解决方案,如 Rails 的 ActiveRecord 或 Java 的 Hibernate/JPA、rails 与 seam-gen、测试、ActionView 与 JSF 等)

。它在某些领域更进一步,而 Rails 在其他领域更进一步。对我来说,我真的看不到任何竞争。他们非常不同,我并不真正认为他们是竞争者。对我来说,如果您希望看到一套更完整的 Java 技术并尝试集成它们,并且您又不想自己动手,那么 Seam 可能会为您提供一些帮助。然而,这假设您恰好喜欢他们选择尝试在 Seam 中组合在一起的特定集合。因此,如果您已经了解并喜欢 JSF,并且了解并喜欢 Hibernate 和/或 JPA,那么我想说您非常适合喜欢 Seam 所提供的功能。如果你不喜欢这些东西,我会跳过它。

SEAM tries to bridge some of the gaps between JSF and EJB. Part of the goal appears to be to reduce the amount of XML you have to edit to setup your application by using both annotations within the code and certain conventions to avoid needing as many annotations or XML.

Also, if you read Seam in Action or the Seam introduction you start to get a feeling that there's a certain rivalry felt with Ruby on Rails. Both try to cover a most of the tools needed for a web developer (some kind of ORM solution like ActiveRecord for Rails or Hibernate/JPA for Java, rails vs. seam-gen, testing, ActionView vs. JSF, etc.)

Seam takes it further in certain areas and Rails further in others. To me, I don't really see any rivalry. They're very different and I don't really see them as competing. To me, Seam might offer something to you if you'd like to see a more complete set of Java technologies with some attempt made to integrate them and you'd rather not do it yourself. That assumes however that you happen to like they particular set that they've chosen to try and bring together in Seam. So if you already know and like JSF and know and like either Hibernate and/or JPA, then I'd say you're off on a good fit to like what Seam has to offer. If you don't like those things, I'd give it a skip.

苏大泽ㄣ 2024-11-12 16:59:03

SEAM 是一个 JBOSS 框架,它将 JSF 与其 Hibernate ORM 持久性技术联系起来。

我自己没有使用它,但它声称可以使访问关系数据库的基于 Web 的应用程序的开发变得更容易、更快等。

您没有任何义务了解它。但如果您已经了解 JSF,也许值得快速浏览一下,看看您是否喜欢它。

SEAM is a JBOSS framework that links JSF to their Hibernate ORM persistence technology.

I don't use it myself, but it claims to make development of web-based applications that access a relational database easier, faster, etc.

You are under no obligation whatsoever to know anything about it. But if you already know JSF perhaps it would be worth a quick look to see if you like it.

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