caucho-servlet.xml 991 B

12345678910111213141516171819202122232425262728
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
  3. <!--
  4. - Contacts web application
  5. - $Id$
  6. -->
  7. <beans>
  8. <!-- Hessian exporter for the ContactManager -->
  9. <!-- Hessian is a slim binary HTTP remoting protocol -->
  10. <bean name="/ContactManager-hessian" class="org.springframework.remoting.caucho.HessianServiceExporter">
  11. <property name="service"><ref bean="contactManager"/></property>
  12. <property name="serviceInterface">
  13. <value>sample.contact.ContactManager</value>
  14. </property>
  15. </bean>
  16. <!-- Burlap exporter for the ContactManager -->
  17. <!-- Burlap is a slim XML-based HTTP remoting protocol -->
  18. <bean name="/ContactManager-burlap" class="org.springframework.remoting.caucho.BurlapServiceExporter">
  19. <property name="service"><ref bean="contactManager"/></property>
  20. <property name="serviceInterface">
  21. <value>sample.contact.ContactManager</value>
  22. </property>
  23. </bean>
  24. </beans>