
2008 JavaOne
SM
Conference | java.sun.com/javaone |
29
<service id="remoting-service"
class="flex.messaging.services.RemotingService"
messageTypes="flex.messaging.messages.RemotingMessage">
<adapters>
<adapter-definition id="java-object"
class="flex.messaging.services.remoting.adapters.JavaAdapter"
default="true"/>
</adapters>
<default-channels>
<channel ref="flex-amf3"/>
</default-channels>
<destination id="CustomerServiceRO">
<properties>
<!-- Actual Java class name on the server under /WEB_INF/Classes -->
<source>com.samples.javaon2008.CustomerService</source>
<scope>application</scope>
</properties>
<adapter ref=”java-object”/>
</destination>
</service
Sample remote-config.xml
Comentarios a estos manuales