There is no predefined infrastructure in mobile ad hoc network where a large number of nodes communicate with each other. They transfer messages by forwarding packets to their successive neighbors which falls in the route of intended destination node. Due to decentralized structure, it is very challenging to design ad-hoc network routing protocols. This kind of Infrastructure makes performance and security more challenging for ad-hoc networks. The Dynamic Source Routing (DSR) protocol is a popular routing protocol designed for use in wireless ad-hoc networks. Now-a-days, mobile agent is a Remote Method Invocation (RMI) based technology; it is very commonly used in diverse fields of network applications.