1. A method comprising: compiling source code to generate the program code executable on an application server, the program code containing the stubs and/or skeletons; analyzing the program code to identify stubs and/or skeletons generated for objects which are located within the same virtual machine and/or the same physical machine; causing the stubs and/or skeletons to invoke method calls directly on the objects located within the same virtual machine and/or the same physical machine.