QI4J 替代品
我目前正在评估QI4J,因为它在连接某些应用程序的上下文中提供了有关属性处理的有趣概念本体一起创建部分语义应用程序。
因此,我希望找到一些有关 Java EE 环境中的属性处理、组合和集成的替代方案。
I'm currently evaluating QI4J, as it provides interesting concepts regarding properties handling, in the context of an application connecting some ontologies together to create a partially semantic application.
As a consequence, I would like to find some alternatives regarding properties handling, composition, and integration in Java EE environment.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我认为与 Qi4j 最明显相似的是 Scala。然而,它是一种新的语言,随之而来的有好有坏。
对于 Qi4j,我们的目标是提供强大的 Scala 支持,以便 Scala 特征可以在 Qi4j 组合中使用。
The most obvious similar thing to Qi4j, I think, is Scala. However, it is a new language and all the good and bad things that comes with that.
For Qi4j, we are aiming for strong Scala support, so that for instance Scala traits can be used in Qi4j composites.
根据 QI4J 的 Ohloh 页面,可能的替代方案是
According to Ohloh page of QI4J, possible alternatives are
我认为您可以使用 AspectJ ITD(该语言而不是 @AspectJ Java 替代语言)完成 Qi4j 所做的大部分工作(以及更多)。
Jordao 在对 @Ischin。
这是我在另一篇文章中提到的类似特征的功能的示例:https://stackoverflow.com/a/7403617/318174。只需向类添加接口,您就可以神奇地添加方法。
I think you can do most of what Qi4j does (and way way more) with AspectJ ITDs (the language not the @AspectJ Java alternative).
Jordao mentions it in his answer to the similar post mentiond by @Ischin.
Here is an example of trait-like functionality I mentioned in another post: https://stackoverflow.com/a/7403617/318174 . Just by adding an interface to a class you can magically add methods.