I'm just looking at web services (seriously) for the first time. Is there a way, like the spring jmx support, that you could expose a bean in spring as a webservice without any extra work?
For example, this is how I expose some beans currently,
<pre>
<bean id="jmxAdapter"
class="org.springframework.jmx.JmxMBeanAdapter">
<property name="beans">
<map>
<entry key="myDomain:Name=myBean">
<ref bean="myBeanRef" />
</entry>
</map>
</property>
</bean>
</pre>
Could something similar be written to expose that bean as a service? Am I barking up the wrong tree completely?


Reply With Quote