Oracle Forms Services Architecture
Oracle Forms Services Architecture
Contents
Forms Services Architecture
Summary
Oracle EBS Form架构 (Forms
Services Architecture) 是典型的三层, 所有客户端触发的 Trigger的处理都发生在 DB层和应用服务器层。 Forms
Services Architecture 主要包括四大组件: the Forms Servlet, the Java Applet(Forms Client),
the Forms Listener Servlet, and the Forms Runtime Engine


Forms Servlet
Form Servlet是一个 Java
Servlet,运行于 Oracle HTTP Server 中,用于为客户端创建动态 HTML
Form Applet
Form Applet是一个 Java
Applet, 提供界面来展示 (交互 )Form
Runtime Engine.
Applet采用 Java 创建的基于 HTML的程序。浏览器将其暂时下载到用户的硬盘上,并在 Web 页打开时在本地运行。含有 Applet 的网页的HTML 文件代码中部带有 <applet>和</applet> 这样一对标记,当支持 Java 的网络浏览器遇到这对标记时,就将下载相应的小应用程序代码并在本地计算机上执行该 Applet 。
查看EBS Applet 的初始页面的源代码

可以看到,确实是有 <applet> 和 </applet> 这样一对标记 ,
code="oracle.forms.engine.Main" 是要运行的 Java
Applet Class,
这个Java类在fndforms.jar中(fndforms.jar会在Applet启动前预加载)
codebase="/OA_JAVA/", 给出Class 所在的位置
archive="/OA_JAVA/oracle/apps/fnd/jar/fndforms.jar, /OA_JAVA/oracle/apps/fnd/jar/fndformsi18n.jar,….” 是指Applet 运行前,需要预加载的 jar 文件

<PARAM name=serverArgs value="module=/slot/ems2384/appmgr/apps/apps_st/appl/fnd/12.0.0/forms/US/FNDSCSGN….> 说明,Applet 打算加载的第一个 Form 文件是FNDSCSGN.fmb
打开FNDSCSGN.fmb 就可以看到,这个 form 实际上EBS 的 Navigator的主界面

Forms Listener Servlet
Form Listener Servlet也是一个 Java
Servlet ,它运行在支持 Servlet引擎的 Web
Server 中(例如OC4J )。 Form
Listener Servlet负责管理每一个 Forms Runtime
process ,通过Web Server 管理 Client和 Forms
Runtime Process 的交互。
Forms Runtime Engine
Form Runtime Engine是运行于 App
Server 上的一个进程,这个进程是有 Form Listener
Servlet 触发的。Forms Runtime Engine 是真正处理所有业务逻辑和 Form 功能的地方。 fmx,plx,mmx这些“可执行文件”就是被 Form
Runtime Engine 调用的。
It is important to understand that all of the Forms logic is executed by the Forms Runtime Engine
running on this middle tier. That is, the Forms Runtime Engine opens the appropriate FMX file, connects to the database and executes the Form. No
logic executes on the client. Only what Oracle classes as UI information is sent to the client. Each major action on the client, such as navigating between Form fields, choosing an item from a list, etc,
incurs a round trip to the Application server in order to be processed by the Forms Runtime Engine.
--Oracle Web Forms(http://doc.xmarc.net/xmarc6/es/Fire/fug/webforms.htm)
A Complete Process
大体过程:首先用户通过浏览器输入 Application 的网址(eg.
http://domain:port/forms/frmservlet),然后 HTTP
Server 中Form Servlet 接收请求之后,生成一个 HTML文件并传回到客户端 (生成的过程实际上是在静态网页的基础上加入和环境相关的变量 ),这个 HTML文件是包含 <Applet> 程序的,这个Applet 就是用来展示 Form的容器,同时应用程序的逻辑是执行在 Middle
Server 层上。
接下来是一个详细的运行时过程

1] 在浏览器中输入 URL ,准备访问 Form应用
http://domain:port/forms/frmservlet
2]中间层的 HTTP 服务器接收到用户请求之后, 再通知Form
Servlet 。
3] Forms Servlet 为客户端动态产生一个 HTML 页面, 这个页面包含启动 Form 的所有信息。
就像之前提到的,可以打开这个 HTML 页面源代码,就可以看到里面的细节。

4] 如果是第一次登陆的话,想要运行 HTML 中的Applet ,就必须先通过 HTTP
Server 下载相应的 jar文件 (HTML 页面的源代码中 archive部分 ) 。
5] Applet启动后 ( 一般会先运行 FNDSCSGN.fmb(Navigator
Form)), Applet 这是会通知 Forms
Listener Servlet, Forms Listener
Servlet 然后会在中间层启动一个 Forms Runtime
Engine Session。
6] Forms Listener Servlet建立一个 Form
Runtime Engine 的连接, Form Runtime
Engine 会连接数据库并且加载运行时文件 (fmb,plx,mmx 文件)

7] Forms applet展示加载的 Form.
8] Forms Listener Servlet通过 OC4J 或者HTTP
Server 管理 Form Applet和 Form
Runtime Engine 的交互。
Reference
J2EE, Web Services, and Internet Applications
http://docs.oracle.com/cd/B10464_05/core.904/b10375/webstapp.htm
Oracle Web Forms
http://doc.xmarc.net/xmarc6/es/Fire/fug/webforms.htm
转载请注明出处:http://blog.csdn.net/pan_tian/article/details/7645710
Oracle Forms Services Architecture的更多相关文章
- Oracle Forms 10g Tutorial Ebook Download - Oracle Forms Blog
A step by step tutorial for Oracle Forms 10g development. This guide is helpful for freshers in Orac ...
- How To Install Oracle Forms 12c On Windows 7
Below is the step by step guide to install Oracle Forms 12c on Windows 7. To install Oracle Forms 12 ...
- Upload Files To FTP in Oracle Forms D2k
Upload Files To FTP in Oracle Forms D2k Use following procedure to upload files to Ftp. PROCEDURE ...
- Download Oracle Forms 6i
To download Oracle Forms Developer 6i from Oracle click this link http://download.oracle.com/otn/nt/ ...
- Number To Indian Rupee Words in Oracle Forms / Reports
Convert numbers to Indian Rupees format in Oracle Forms / Reports.Create the below mention function ...
- Creating Custom Login Screen In Oracle Forms 10g
Below is the example plsql unit to validate login credentials and after successful validation open a ...
- Writing Text Files On The Client in Oracle Forms 10g
Below is the example to write file on client in Oracle Forms 10g with webutil library package.Note: ...
- Displaying Window In Center In Oracle Forms 6i
Center window automatically in Oracle Forms 6i, use the following procedure by passing window name ...
- Adding List Item Element At Runtime In Oracle Forms
Add combo list / drop down list item element at runtime in Oracle forms.SyntaxPROCEDURE ADD_LIST_ELE ...
随机推荐
- Objective-C中的消息发送总结
关于OC中的消息发送的实现,在去年也看过一次,当时有点不太理解,但是今年再看却很容易理解. 我想这跟知识体系的构建有关,如果你不认识有砖.水泥等这些建筑的基本组成部分,那么我们应该很难理解建筑是怎么建 ...
- JFinal中使用QuartzPlugin报ClassCastException解决方法
JDK1.8中泛型反射修改对旧版本的影响 本文地址:http://blog.csdn.net/sushengmiyan 本文作者:苏生米沿 问题复现环境: JDK1.8 JFinal1.9 quart ...
- Java异常处理-----运行时异常(RuntimeException)
RuntimeException RunntimeException的子类: ClassCastException 多态中,可以使用Instanceof 判断,进行规避 ArithmeticExcep ...
- JQuery 网页选项卡制作
网页选项卡可以较好的利用有限的页面来展示更多的元素,而使用JQuery来制作网页选项卡也是一件非常简单的事情.今天就来分享一个网页选项卡的制作小技巧. 引入所需库 选项卡原理 业务核心 完整小例子 引 ...
- JAVA面向对象-----final关键字
JAVA面向对象-–final关键字 1:定义静态方法求圆的面积 2:定义静态方法求圆的周长 3:发现方法中有重复的代码,就是PI,圆周率. 1:如果需要提高计算精度,就需要修改每个方法中圆周率. 4 ...
- Linux--FTP和MAIL服务器
1) FTP协议 FTP(FileTransfer Protocol,文件传输协议)用于管理计算机之间的文件传送.FTP 是Internet 上使用非常广泛的一种通讯协议,它是由支持Intern ...
- GC真正的垃圾:强、软、弱、和虚 对象
垃圾回收的基本思想就是判断一个对象是否可触及性,说白了就是判断一个对象是否可以访问,如果对象对引用了,说明对象正在被使用,如果发现对象没有被引用,说明对象已经不再使用了,不再使用的对象可以被回收,但是 ...
- 14 Fragment的V4包的使用
activity_main.xml: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android ...
- 1089. Insert or Merge (25)
题目如下: According to Wikipedia: Insertion sort iterates, consuming one input element each repetition, ...
- Android初级教程初谈自定义view自定义属性
有些时候,自己要在布局文件中重复书写大量的代码来定义一个布局.这是最基本的使用,当然要掌握:但是有些场景都去对应的布局里面写对应的属性,就显得很无力.会发现,系统自带的控件无法满足我们的要求,这个时候 ...