Patent ID: 7237012

Claim:
A method for classifying a remote method invocation (RMI) from a client system that initiates connections to a remote server object via a classifying router using a client and underlying remote method invocation transport code, the method comprising: detecting when a connection to the classifying router for the remote method invocation is to be created on a communication channel, detecting includes providing a stub to calling applications, detecting when applications call the stub, and executing an RMI routine based on a call by an application; using a custom socket factory to obtain flow information associated with the detected connection to the classifying router, and to generate a socket therefore, the socket having a socket number associated therewith; using a side channel, different from the communication channel, to communicate flow information to the classifying router for assigning to the flow a quality of service level, the flow information including the socket number, associated with the detected connection to the classifying router prior to remote method invocation; and incorporating this flow information into a differentiated services classification subsystem of the classifying router by mapping the socket number to the quality of service level associated with the remote invocation to enable proper classification of the remote method invocation when it is later received.