Establishing a connection to the JUNOScript server on a routing platform is one of the more time- and resource-intensive functions performed by an application. If the application sends multiple requests to a routing platform, it makes sense to send all of them within the context of one connection. If your application sends the same requests to multiple routing platforms, you can structure the script to iterate through either the set of routing platforms or the set of requests. Keep in mind, however, that your application can effectively send only one request to one JUNOScript server at a time. This is because the JUNOS::Device object does not return control to the application until it receives the closing </rpc-reply> tag that represents the end of the JUNOScript server’s response to the current request.