The use of J2ME for a mobile device to communicate with a router it needs a platform. A J2ME application can be used in a mobile device that is Wi-Fi enabled to communicate with a router. This is a very useful tool because by communicating with the router directly, many processes of networking can be simplified. J2ME provides a robust, flexible environment for applications running on mobile. It includes flexible user interfaces, robust security, built-in network protocols, and support for networked and offline applications that can be downloaded dynamically.