| 
                    
                    
                      | Oracle Apps R12 Forms : Servlet or Socket |  
                      | Thursday, June 28, 2007 |   |   |  
 We have moved to http://onlineAppsDBA.com kindly check http://onlineAppsDBA.comin future
 
 
                      | Default Forms connection mode in Oracle Applications R12 is "SERVLET" where as in Oracle Apps 11i default form connect mode is "SOCKET" So 
 
 What is difference between socket and servlet mode in Forms ?
 What are advantages and disadvantages of each ?
 Can we change default R12 forms mode from servlet to Socket ?
 
 
 Oracle Form Servlet Overview in apps R12
 ------------------------------------------
 
 i) In this mode, Java servlet handles communication between forms client(java based) and Oracle Forms Service (10g).
 
 ii) All connection is via HTTP Server so there is no need to start form server and no need to open form server port on firewall between client machine and application tier.
 
 iii) More secure as compared to Forms Socket Mode.
 
 iv) Network traffic is more as HTTP protocol is more chatty so little bit network bandwidth hungry when compared with SOCKET mode
 
 v) No additional certificate requirement during SSL implementation for application tier, single certificate will handle both forms & web connection.
 
 
 How to change from default Servlet mode (in apps R12) to Socket mode ?
 ---------------------------------------------------------------------
 
 Refer to Oracle Metalink Note # 384241.1 Using Forms Socket Mode with Oracle E-Business Suite Release 12
 
 
 Are there any network overheads of using Forms in Servlet Mode ?
 ----------------------------------------------------------------
 
 Metalink Note # 311091.1 Understanding the Network Overhead Of Forms Servlet Listener Architecture Compared to Forms Server, covers some interesting points w.r.t. network traffic
 
 
 Advantage & Disadvantages of Forms Servlet Mode
 
 ----------------------------------------------------------
 -- Simple SSL Configuration (as no separate ssl configuration is required for Forms as connections are via web/http server)
 
 -- No port need to open to access forms in firewall
 
 -- More secure method of deployment over Internet
 
 -- Result in more network traffic because of HTTP is more chatty than socket (dedicated) so not preferred in WAN implementation.
 
 
 Related Doc
 ----------------
 http://www.oracle.com/technology//products/forms/pdf/p7listenerservlet.pdf (Oracle Forms Listener Servlet for deployment of Forms on Internet)
 
 
 Question to readers ....
 
 How will you identify if you are using Forms in Socket or Servlet mode in Oracle Applications 11i or R12 ? (leave your comments )
 Labels: forms, r12 |  
    | We have moved to  kindly check onLineAppsDBA.com in future
 
 |  
|  |  
|  del.icio.us 
 ¦  Digg This
 ¦  My Yahoo
 ¦  Reddit
 ¦  BlinkList 
 ¦  Furl It
 ¦  Email This
 ¦ 
  
Leave Your Comments |  
                      | posted by Atul Kumar @ 11:47 AM   |  
                      | 
                            
                              |  |  
                              | 11 Comments: |  
                              | 
                                  
                                  
                                      
                                      
                                        From Java Console,we can able to identify while we are logging in EBS Applications.Regards, Velu
                                      
                                      
                                        Thanks Velu, Still want to hear from other users, which files can confirm that forms are in Socket or Servlet mode
                                      
                                      
                                        In the context file, unde OA variable, 'frmConnectMode'? - Thanks, Vanitha.
                                      
                                      
                                        In the context file, unde OA variable, 'frmConnectMode'? - Thanks, Vanitha.
                                      
                                      
                                  
                                      
                                      
                                        Atul, Would be helpful, if you confirm if the reply was correct. -Thanks, Vanitha Sivakumar.
                                      
                                      
                                        Vanitha,
 In xml file parameter is
 
 s_forms_servlet_serverurl   If value is blank that means this is not servlet else if value is "/forms/formservlet" this indicates forms servlet.
                                      
                                      
                                        cd $ADMIN_SCRIPTS_HOMEadformsrvctl.sh status
 
 
 Thanks.
 -Manish
                                      
                                      
                                        Isn't servlet significantly slower than socket (unusably so) ?  It certainly used to be ?  Any experiences ?
                                      
                                      
                                        We have implemented Froms Servelet. In case forms server and Mitric client and servers, we used have an option to shutdown the metric clients to stop the incoming form sessions to a server. Once all existing forms sessions (ps -ef|grep f60webmx) r gone, we can do maitenance on that server.
 Do we have that flexibility in case for forms servlet? i.e can we stop the incoming connections with out distrubing the existing connections?
 
 It is important for us to find out the way..otherwise we may still going to use forms server instead of servelet.
                                      
                                      
                                        You should check your appsweb.cfg under OA_HTML/bin file(related context based file) for serverURL parameter, if it has /forms/servlet then it uses servlet mode. If this is comented then it will go ahead and attempt the formserver port in the following section.
 Regards
 Suresh Talasila
 |  
                              |  |  
                              | << Home |  
                              |  |  |  | 
            
From Java Console,we can able to identify while we are logging in EBS Applications.
Regards, Velu