As I started documenting the RMI binding SCDL at
http://cwiki.apache.org/confluence/display/TUSCANY/SCA+Java+binding.rmi  I
wondered if it could use a URI format instead of or as well as the separate
host, port, and servicename attributes? There may be some reason its
doesn't, has it ever been considered?

Along the lines of whats described at
http://java.sun.com/j2se/1.5.0/docs/guide/jndi/jndi-rmi.html#RMI, so:

<binding.rmi uri="rmi://localhost:1099/myservice"/>

and all those could have defaults so you could just have <binding.rmi/> on a
service and it would make it available using the component and service name
as described in 1.7.2 of  the assembly spec.

  ...ant

Reply via email to