troubleshooting Question

RDSDispatchServlet ?

Avatar of royjayd
royjayd asked on
Apache Flex
2 Comments2 Solutions885 ViewsLast Modified:
hi guys
I am using flex with spring blazeds. In my web.xml i have
------------------------------------------------------------------------------------
<servlet>
        <servlet-name>MessageBrokerServlet</servlet-name>
        <display-name>MessageBrokerServlet</display-name>
        <servlet-class>flex.messaging.MessageBrokerServlet</servlet-class>
        <init-param>
            <param-name>services.configuration.file</param-name>
            <param-value>/WEB-INF/flex/services-config.xml</param-value>
       </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>
   
    <servlet>
        <servlet-name>RDSDispatchServlet</servlet-name>
      <display-name>RDSDispatchServlet</display-name>
        <servlet-class>flex.rds.server.servlet.FrontEndServlet</servlet-class>
         <init-param>
         <param-name>useAppserverSecurity</param-name>
         <param-value>false</param-value>
         </init-param>        
        <load-on-startup>10</load-on-startup>
    </servlet>

    <servlet-mapping id="RDS_DISPATCH_MAPPING">
        <servlet-name>RDSDispatchServlet</servlet-name>
       <url-pattern>/CFIDE/main/ide.cfm</url-pattern>
     </servlet-mapping>

    <servlet-mapping>
        <servlet-name>MessageBrokerServlet</servlet-name>
        <url-pattern>/messagebroker/*</url-pattern>
    </servlet-mapping>
----------------------------------------------------------------------
I understand <servlet-name>MessageBrokerServlet</servlet-name>  which references the services-config.xml

But What exactly does this below code represent?
 <servlet>
        <servlet-name>RDSDispatchServlet</servlet-name>   -- why do we use this servlet ?      
        <display-name>RDSDispatchServlet</display-name>
        <servlet-class>flex.rds.server.servlet.FrontEndServlet</servlet-class>
            <init-param>
      <param-name>useAppserverSecurity</param-name>
      <param-value>false</param-value>
            </init-param>        
        <load-on-startup>10</load-on-startup>
    </servlet>

    <servlet-mapping id="RDS_DISPATCH_MAPPING">
        <servlet-name>RDSDispatchServlet</servlet-name>
        <url-pattern>/CFIDE/main/ide.cfm</url-pattern>   -- what is this  ?  
        </servlet-mapping>

Also, flex communicates using AMF over http. why exaclty is amf over http faster than http ?

thanks
ASKER CERTIFIED SOLUTION
Fuzzy_Logic_

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros