A method for integrating a resource in a network includes receiving at a
first adapter a command associated with a function to be performed by a
resource. The method also includes receiving a first script associated
with the command, and interpreting the first script to produce one or
more first byte codes. The method further includes causing a second
adapter to receive a second script. The second adapter is operable to
interpret the second script into one or more second byte codes. In
addition, the method includes executing the one or more first byte codes,
and invoking execution of the one or more second byte codes at the second
adapter. The execution of the byte codes at the first and second adapters
is operable to invoke the function in and facilitate communication with
the resource.