URL:http://blogs.oracle.com/stevenChan/2009/06/which_is_better_forms_servlet_or_socket_mode.html

Many products within the Oracle E-Business Suite have screens that are built with Oracle Forms.  Oracle Forms can be run in either servlet mode or socket mode.  Apps 11i is based on Forms 6i and is configured to run in socket mode by default.  Apps 12 is
based on Forms 10g and is configured to run in servlet mode by default. What are these modes, and which is better?

在Oracle EBS系统中有多个产品需要通过Forms界面创建和操作.Oracle Forms可以在servlet 和socket 两种模式之间运行,对于EBS 11i 系统是基于Forms 6i 并且默认的运行在socket 模式下,而在EBS R12 中,Forms则升级到10g和默认的运行在servlet 模式下.对于这两种模式那种更好呢?

What is Forms Servlet Mode?

The Forms Listener Servlet is a Java servlet that delivers the ability to run Oracle Forms applications over HTTP and HTTPS connections. It manages the creation of a Forms Server Runtime process for each client, as well as network communications between
the client and its associated Forms Server Runtime process.

The desktop client sends HTTP requests and receives HTTP responses from the web server. The HTTP Listener on the web server acts as the network endpoint for the client, keeping other servers and ports from being exposed at the firewall.

The Forms Listennetservlet 是java 伺服程序转发运行在HTTP和HTTPS上Oracle
Forms applications.它为每个客户端创建一个Forms Server Runtime proces,在客户端和Forms Server Runtime process进行网络通讯.

桌面客户端用户通过web服务 发送和接收的HTTP请求或响应.HTTP 监听服务在web 服务上充当网络接收点对于客户端.其它的服务和端口可以穿越防火墙(个人这么理解)

What is Forms Socket Mode?

Initial releases of the Oracle Forms Server product used a simple method for connecting the client to the server. The connection from the desktop client to the Forms Listener process was accomplished using a direct socket connection. 
The direct socket connection mode was suitable for companies providing thin client access to Forms applications within their corporate local area networks. For the direct socket connection mode, the client had to be able to see the server and had to have permission
to establish a direct network connection.

最初的Oracle Forms 产品的客户端连接到服务端采用最简单的方法,通过使用直连socket方式,客户端连接到Forms 监听.直连socket方式适合在公司内部的局域网络环境下使用,服务端对于客户端必须是在网络上可见的和允许创建网络连接.

Although the direct socket connection mode is perfectly suited for deployments within a company’s internal network, it's not the best choice for application deployment via unsecured network paths via the Internet. A company
connected to the Internet typically employs a strict policy defining the types of network connections that can be made by Internet clients to secure corporate networks. Permitting a direct socket connection from an external client exposes the company to potential
risk because the true identity of the client can be hard to determine.

通过直连socket方式可以在公司内部网络很容易的部署和管理,但这不是最好的选择,对于通过无保证的网络访问在Internet上的系统, 公司通常被连接到英特网的采用了严格的策略定义类型的网络连接, 确保互联网客户在安全的网络的连接. 允许直接从外部客户端口连接会带来潜在的危险,因为对于来说公司客户端的真正身份可能很难确定

Servlet Mode Advantages

HTTP and HTTPS traffic is easily recognizable by routers, while socket mode communications is generally considered suspect and treated on an exception basis. Existing networking hardware can be used to support basic functions
such as load-balancing and packet encryption for network transit.More resilient to network and firewall reconfigurations.More robust: servlet connections can be reestablished if network connections drop unexpectedly for Forms, Framework, and JSP-based pages.Is
the only supported method for generic Oracle Forms customers, and therefore is more thoroughly tested by the Forms and E-Business Suite product groups.Performance traffic can be monitored via tools likeOracle
Real User Experience Insight
(RUEI).Socket mode is not supported on Windows-based server platforms.

HTTP和HTTPS协议的传说对于路由器很容易辨识,当直连socket模式通讯通常会被认为是不可信并处理{例外的基础},目前的网络硬件使用和支持一些例如负载均衡,数据包加密的数据传输.灵活扩展的网络和坚固的防火墙;

如果对于Forms/Framework/JSP的网络连接意外中断,servlet 模式可以重新自动连接,

Socket Mode Advantages

Uses up to 40% less bandwidth than Forms servlet mode.  This may be perceived by Wide Area Network (WAN) users as causing slower responsiveness, depending upon network latency.Uses fewer application-tier JVM resources than
servlet mode, due to fewer TCP turns and lack of overhead associated with HTTP POST handling.

Servlet 模式至少占用40%的网络带宽,WAN的用户可能感觉请求响应很慢,依赖于网络的延迟时间大小.消耗应用层较少的JVM资源对于servlet模式,HTTP
post 处理需要较少的TCP转换….

Switching Apps Deployments Between Modes

Due to its numerous advantages, Forms servlet mode is the preferred and recommended deployment model for Forms on the web.

综上描述servlet的许多优点,Forms servlet 模式优先推荐在网络中使用.

There may be circumstances where you need to switch between the default Forms modes.  You might wish to switch your Oracle E-Business Suite Release 12 environment to socket mode to improve performance or reduce network load. 
You might wish to switch your Apps 11i environment to servlet mode as part of your rollout to external web-based end-users outside of your organization.

在两种模式之间切换有多种情况,你可以在R12环境中使用socket方式提高性能或减少带宽的占用,你也可以希望在11i环境中使用servlet 模式作为你的rollout
to external web-based end-users outside of your organization.

If you're running Apps 11i and would like to switch to servlet mode, see:

If you're running Apps 12 and would like to switch to socket mode, see:

Related Articles

如果使用socket 方式,对于IE9.0 的浏览器无法登陆到Forms, Firefox 可以完美支持.<add by 2011-02-24>

<EOF>

Which is Better: Forms Servlet or Socket Mode?的更多相关文章

  1. tomcat1(servlet,http,socket)

    1.servlet容器是如何工作的? a.创建一个request对象,用可能会在调用的Servlet中使用到的信息填充该request对象(参数,头,cookies,查询字符串,URI等).reque ...

  2. Symmetrical Network Acceleration with EBS 12

    Andy Tremayne, my esteemed colleague and fellow blogger, has published a new whitepaper that discuss ...

  3. 更改EBS R12中forms的模式Servlet/Socket

    EBS R12中forms的模式有:Servlet mode 和 Forms Socket mode 当我们完成Oracle EBS R12套件的快速安装后,forms的默认配置是Servlet mo ...

  4. Oracle Forms Services Architecture

    Oracle Forms Services Architecture Author:                         PTIAN(tianpan@gmail.com) Creation ...

  5. SSM配置Socket多线程编程(RFID签到实例)

    1.SocketServiceLoader.java package cn.xydata.pharmacy.api.app.test; import javax.servlet.ServletCont ...

  6. 关于javaweb 项目 ssm框架 启动tomcat服务器同时启动一个socket服务

    1.创建监听类 import javax.servlet.ServletContext; import javax.servlet.ServletContextEvent; import javax. ...

  7. socket 原理

    socket 原理 什么是socket 我们知道进程通信的方法有管道.命名管道.信号.消息队列.共享内存.信号量,这些方法都要求通信的两个进程位于同一个主机.但是如果通信双方不在同一个主机又该如何进行 ...

  8. adformsctl.sh 与 adformsrvctl.sh, 10.1.2 及10.1.3

    参考 http://blog.csdn.net/cai_xingyun/article/details/40393885 ,  adformsctl.sh 是开启forms oc4j ,  根据之后的 ...

  9. Random Javascript code snippets

    MollyPages.org"You were wrong case.To live here is to live." Home Pages / Database / Forms ...

随机推荐

  1. 《读书报告 -- Elasticsearch入门 》-- 安装以及简单使用(1)

    <读书报告 – Elasticsearch入门 > 第一章 Elasticsearch入门 Elasticsearch是一个实时的分布式搜索和分析引擎,使得人们可以在一定规模上和一定速度上 ...

  2. dimens.xml详解

    本文联合两篇博文和自身理解写下 其中一篇:http://blog.csdn.net/hnzcdy/article/details/50628993 另一篇:暂不知原作者 Android中官方建议的屏幕 ...

  3. MyEclipse的Debug模式启动缓慢

    打开breakpoints veiw,右键-> Remove all,重启下服务器就OK了 -–下面有个"顶"字,你懂得O(∩_∩)O哈哈~ -–乐于分享,共同进步! -–更 ...

  4. linux:关于Linux系统中 CPU Memory IO Network的性能监测

    我们知道:系统优化是一项复杂.繁琐.长期的工作.通常监测的子系统有以下这些:CPUMemoryIO Network 下面是常用的监测工具 Linux 系统包括很多子系统(包括刚刚介绍的CPU,Memo ...

  5. J2EE进阶(十五)MyEclipse反向工程实现从数据库反向生成实体类之Hibernate方式

    J2EE进阶(十五)MyEclipse反向工程实现从数据库反向生成实体类之Hibernate方式   反向工程又称逆向工程.   开发项目涉及到的表太多,一个一个的写JAVA实体类很是费事.MyEcl ...

  6. 用Python递归解决阿拉伯数字转为中文财务数字格式的问题(2)--打开思路的一种方法

    几天前自己写了个将阿拉伯数字转为中文财务数字的程序.用的递归,不幸的是它是树形递归. 虽然实际过程中不太可能出现金额数字大到让Python递归栈溢出,但是始终是一块心病,这玩意终究在理论上是受限制的. ...

  7. Android Multimedia框架总结(六)C++中MediaPlayer的C/S架构

    转载请把头部出处链接和尾部二维码一起转载,本文出自: http://blog.csdn.net/hejjunlin/article/details/52435789 前面几节中,都是通过java层调用 ...

  8. 微软Telnet的回显功能开启

    win7和XP系统默认telnet的回显功能是关闭的.启用telnet回显功能:(1)首先进入命令行界面:输入telnet(2)进入Microsoft Telnet>命令提示符下,输入:set ...

  9. 学习TensorFlow,打印输出tensor的值

    在学习TensorFlow的过程中,我们需要知道某个tensor的值是什么,这个很重要,尤其是在debug的时候.也许你会说,这个很容易啊,直接print就可以了.其实不然,print只能打印输出sh ...

  10. Django使用forms来实现评论功能

    貌似Django从版本1.6开始就放弃了对自带的comments的使用,具体原因未查,但是现在使用Django的内部的模块也可以实现评论功能,那就是借助于forms模块,下面是我的一个小例子. 环境准 ...