Forgot your password?    
+ Reply to Thread
Results 1 to 1 of 1

Thread: Forms Servlet or Socket Mode? Which is Better ?

  1. #1
    Oracle Administrator
    Join Date
    Oct 2011
    Location
    Venice
    Posts
    40

    Forms Servlet or Socket Mode? Which is Better ?

    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?

    Forms Servlet Mode

    1) The Forms Listener Servlet is a Java servlet that delivers the ability to run Oracle Forms applications over HTTP and HTTPS connections.
    2) 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.

    How
    1) The desktop client sends HTTP requests and receives HTTP responses from the web server.
    2) 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.

    Forms listener servlet diagram showing firewalls desktop client and oc4j container on application tier
    Forms-servlet-diagram.jpg


    Forms Socket Mode

    Initial releases of the Oracle Forms Server product used a simple method for connecting the client to the server.
    1) The connection from the desktop client to the Forms Listener process was accomplished using a direct socket connection.
    2) The direct socket connection mode was suitable for companies providing thin client access to Forms applications within their corporate
    local area networks (INTRANETS).
    3) 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.
    4) Although the direct socket connection mode is perfectly suited for deployments within a company’s internal network but it's not the best
    choice for application deployment via unsecured network paths via the Internet
    .
    5) 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.(Necessary for SOAX compliance as well).
    6) 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.

    Servlet Mode Advantages

    1) HTTP and HTTPS traffic is easily recognizable by routers, while socket mode communications is generally considered suspect and treated
    on an exception basis.

    2) Existing networking hardware can be used to support basic functions such as load-balancing and packet encryption for network transit.

    3) More resilient to network and firewall reconfigurations.

    4) More robust: servlet connections can be reestablished if network connections drop unexpectedly for Forms, Framework,
    and JSP-based pages.

    5) 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.

    6) Performance traffic can be monitored via tools like Oracle Real User Experience Insight (RUEI).

    7) Socket mode is not supported on Windows-based server platforms.

    Socket Mode Advantages

    1) 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.

    2) Uses fewer application-tier JVM resources than servlet mode, due to fewer TCP turns and lack of overhead associated with HTTP POST
    handling.
    Last edited by pkumar; 02-21-2012 at 07:46 AM.
    Cheers !
    pk.ora

+ Reply to Thread

Similar Threads

  1. The cloning of the database in noarchivelog mode
    By shoaibansari in forum Database Installation,Upgrades,Migration,Patching and Cloning
    Replies: 1
    Last Post: 07-20-2012, 01:03 PM
  2. Archivelog Mode On RAC
    By devesh_ocp in forum RAC Installation, ASM Install , ASM Administration
    Replies: 0
    Last Post: 04-25-2012, 03:28 PM
  3. Oracle Applications 11i Forms from Socket to Servlet or vice versa without autoconfig
    By Hemant in forum Concepts,Service Management,Apache,OC4J,OPMN,JServ,Forms, Issues,Troubleshooting,
    Replies: 0
    Last Post: 10-30-2011, 01:20 AM
  4. Maintenance Mode
    By Hemant in forum AD Utilities , Autoconfig , FND Utilities
    Replies: 0
    Last Post: 10-30-2011, 12:37 AM
  5. Oracle Applications R12 Changing Forms from Servlet to Socket and vice versa
    By Hemant in forum Concepts,Service Management,Apache,OC4J,OPMN,JServ,Forms, Issues,Troubleshooting,
    Replies: 0
    Last Post: 10-29-2011, 10:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

DBA Lounge (P) Ltd. deals in Oracle Technologies on Consulting, Resourcing, Corporate Training


Online and corporate training available on Oracle Database 11g, Oracle 11g Real Application Cluster (RAC), Oracle Applications 11i/R12, Oracle Fusion Middleware 11g, Oracle Identity Management-OIM, Oracle Internet Directory 11g-OID, Oracle Business Intelligence Enterprise Edition-OBIEE, Oracle Golden Gate, Oracle Access Management-OAM, Oracle Internet Directory-ODS, Oracle Identity Analytics Architecture-OIA Statistics