<composite xmlns="http:
xmlns:rmi="http:
name="HelloWorldRmiComposite">
<service name="HelloWorldRmiService" promote="HelloWorldServiceComponent">
<interface.java interface="helloworld.HelloWorldService"/>
<binding.rmi host="localhost" port="8099" serviceName="HelloWorldRemoteService" />
<reference target="HelloWorldServiceComponent">HelloWorldServiceComponent</reference>
</service>
<component name="HelloWorldServiceComponent">
<implementation.java class="helloworld.HelloWorldImpl"/>
</component>
</composite>