Panos Kougiouris

Subscribe to Panos Kougiouris: eMailAlertsEmail Alerts
Get Panos Kougiouris: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Panos Kougiouris

One of Java's great appeals is that the language provides out-of-the-box GUI development capabilities. Still, a lot of us use Java to write command line tools. Such tools are great to automate batch and offline processes. This article presents a framework that jump-starts the development of such tools. Command line tools are usually invoked from a shell (e.g., DOS prompt, sh, ksh, etc.) and perform a certain task. The task can be customized based on the command line arguments. For instance: telnet foo.bar.com attempts to open a telnet connection to host foo.bar.com. It uses the default telnet port. The next example: telnet -p 3434 foo.bar.com attempts a similar connection using port 3434. Command line tools can be as simple or as complicated as the developer desires. An example of a simple command line tool is the echo command found in most shells. On the other hand,... (more)