This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
RMI would only work if the router is running Java. I suspect you want a simple socket connection. My router gets configured by a Telnet conversation so if this was my problem I would do a Google search for "Java telnet" - when I just did this it turned up several useful links. Bill