鉴于我必须使用 Oracle ADF 构建一个应用程序或一系列应用程序,我有多少灵活性?
- 我可以在另一个应用程序服务器(例如 IBM WebSphere)或简单的 Servlet 容器(例如 Tomcat)上运行我的应用程序吗?
- 我可以使用 Hibernate 代替 EclipseLink 吗?
- 我可以轻松访问其他数据库,例如 Microsoft SQL Server?
- 领域驱动设计适合这种情况吗?
- 使用 Spring 等 DI 容器可以配置多少 ADF 应用程序?
- 当我使用我最喜欢的 IDE(例如 Eclipse)而不是 JDeveloper 时,我会错过什么?
- 我可以将 Maven 用于 ADF 项目吗?
换句话说,民主同盟军境内的自由有哪些限制?请注意,它仍然必须是 ADF 应用程序,而不仅仅是使用 ADF Faces 的 Java EE 应用程序。
Given the fact that I have to build an application, or a series of applications using Oracle ADF, how much flexibility do I have?
- Can I run my application on another application server, like IBM WebSphere, or on a simple Servlet container, like Tomcat?
- Can I use Hibernate instead of EclipseLink?
- Can I easily access another database, like Microsoft SQL Server?
- Would Domain-Driven Design fit in the picture?
- How much of an ADF application can be configured using a DI container like Spring?
- What would I miss when I use my favorite IDE, say Eclipse, instead of JDeveloper?
- Can I use Maven for ADF projects?
In other words, what are the limits of freedom within ADF-land? Note that it still has to be an ADF application, not just a Java EE application that uses ADF Faces.
发布评论
评论(3)
归根结底,Oracle ADF 框架只是一些可以安装在 第三方应用程序服务器(或多或少支持,具体取决于工具)。
您可以使用 POJO(如带注释的 JPA 实体)提供 ADF,并且可以使用 Hibernate。
是的,提供适当的 JDBC 驱动程序。
我认为它是正交的。
您可以使用 Spring 作为服务和数据访问层。请参阅:
所有的拖拽和操作放下东西。
技术上是可行的。
我会让专家更详细地回答这个问题。
没收到那个。
At the end of the day, the Oracle ADF framework is just some JAR files that you can install on Third-Party Application Servers (with more or less support, depending on the tooling).
You can feed ADF with POJOs like annotated JPA entities and you could use Hibernate.
Yes, provide the appropriate JDBC driver.
I think it's orthogonal.
You can use Spring for the services and data access layer. See:
All the drag & drop stuff.
It's technically doable.
I'll let experts answer that with more details.
Didn't get that one.
如果您使用Weblogic,ADF是免费的,否则您需要购买第三方服务器的运行时许可证。我不知道在其他服务器上运行 adf 的经验,但从技术上讲,您似乎可以根据上述内容执行此操作。
我想建议使用Business Component而不是其他ORM框架,BC有很多拖放和绑定功能。但是,ADF 与 Spring、EJB、Hibernate 兼容。
虽然有时使用 JDeveloper 很痛苦,但使用其他 IDE 来实现 ADF 并不是一个好主意。 BC 功能与 IDE 相关,声明性组件功能可能相同。任务流定义可能无法在 Eclipse 中进行可视化编辑。
我不是ADF专家(所以我用了很多“可能”、“猜测”),这就是我所知道的。
ADF is free if you use Weblogic, otherwise you need to buy a runtime license for third-party servers. I dun hv experience in running adf in other servers but it seems technically you could do that according to the above.
I guess it's recommended to use Business Component instead of other ORM framework, BC has a lot of drag-and-drop and binding features. However, ADF is compatible with Spring, EJB, Hibernate.
Though sometimes it's painful to use JDeveloper, It's not a good idea to use other IDE for ADF. The BC feature is tied to the IDE, declarative component feature might be the same. The task flow definition may not be visually editable in Eclipse.
Not an ADF expert (so I used a lot "may","guess"), this is what I know.
我正在回答如何将 Maven 用于 ADF 应用程序。我在 Oracle ADF Faces 小组工作,我们的开发部门使用 Subversion 和 Maven2。我们编写了一个 Maven 插件,最后用于在父目录中创建一个
.jws
文件,并在下面的项目目录中创建一个.jpr
文件。这非常有效,如果我没记错的话,我很确定您可以在 Apache 开源中找到一个 Maven 2 插件来完成此操作。此外,JDeveloper 还可以选择从 EAR/WAR 文件创建应用程序。因此,让 Maven 创建一个 WAR 文件,然后在 JDeveloper 中为您的应用程序使用该 war 文件。这两种方法都效果很好。I am responding to how to use Maven for an ADF application. I worked for Oracle ADF Faces group and our development department used Subversion and Maven2. We wrote a Maven Plugin that was used at the end to create a
.jws
file in the parent dir and a.jpr
file in a project dir below. That worked quite well and I am pretty sure you can find a Maven 2 plugin to do exactly this in Apache Open source, if I remember correctly. Also, JDeveloper has an option to create an Application from an EAR/WAR file. So, have Maven create a WAR file for example, then use the war file for your application in JDeveloper. Both of these work well.