Skip to content

Instantly share code, notes, and snippets.

@ketola
Created March 2, 2012 19:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ketola/1960529 to your computer and use it in GitHub Desktop.
Save ketola/1960529 to your computer and use it in GitHub Desktop.
Export service with Spring Framework's http invoker.
<bean id="customerService" class="com.codereanimator.spring.httpinvoke.app1.service.CustomerServiceImpl"/>
<bean name="customerServiceExporter" class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
<property name="service" ref="customerService"/>
<property name="serviceInterface" value="com.codereanimator.spring.httpinvoke.serviceinterface.CustomerService"/>
</bean>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment