Skip to main content

Java for command line tools

Posted by daniel on May 3, 2004 at 8:45 AM PDT

On a Windows box you could write command line utilities in Java - but you still need to be able to invoke them as simply as you could dir.

Thomas Kunneth demonstrates Using Java Classes in Windows Batch Files in his java.net featured article he writes the Java is "well-suited for the development of small console-based programs that, in turn, are predestined to be put together in shell scripts or batch files. In this article, [he shows] how to integrate Java classes and packages into Windows batch files."


What do you think of when you hear the word "legacy"? In today's Weblogs ,
John Reynolds writes about today's code being tomorrow's legacy in coding for your own legacy. He suggests "If you want to make a future programmer happy, explain what your code does and how to use it in clear and concise terms.[...]
Efficiency does less to assure a good legacy then interoperability. [ L]ife is easier when designers include command-line interfaces or programmatic APIs to access the core functionality.

Finally, my least-favorite legacy assets often do more then they need to."


In Forums today, the Tips to Technical Interviewing discussion looks at whether you are looking for Best now ,or good for a long time ? Reader ianmoss writes " I'd hope recruiters would try and establish not only that you are a capable developer / software engineer now, but that you will be in the future as well. [T]o me the ability to help others, and communicate, are very important skills to have. How people assertain that in an interview is a tricky one.

In the Mythical Man Month discussion John Mitchell longs for the good old days in Pair Management.
"I think one of the most interestingly bad unintended consequence of the technology revolution has been the huge decrease in the number of secretaries. [No, I don't mean that in a sexist way.] Ala the "surgical team" that Brooks' recommends, the old school setup of a "manager" and a secretary had a built-in distinction between the strategic tasks and the tactical tasks. "


In
Also in Java Today
, in Do As They Need, Not As They Say Jeff Lowery explains that when you are changing the user interface it is key to not "take an initial set of requirements at face value, but to work with the future users of the new system (in conjunction with their management) to make sure what's delivered is what's needed." He explains that " it's important that you see your end users as your customers, even though management is paying the bills. While it's true that you can't ignore requirements from the management side, you can at least convince your end users that any additional data they have to key in, or any change in methods pertaining to new business processes, are not due to your own capriciousness. You have to identify with the end user, and recognize his or her pain as your pain. When you've done that, you see to it that change occurs in the least painful way possible."

In At the network's edge, is software a service business? Frank Sommers writes that "small business software is mission-critical software. [...] Not only must small business software be inexpensive to buy, it must also be inexpensive to maintain." In a small business "All users typically run with full administrative privileges ". His core point is that "Lacking the notion of preventive maintenance, and lacking the sophistication in popular commercial operating system to perform that maintenance automatically, software vendors catering to small enterprises end up becoming service-based businesses, not product-based."


In today's Projects and Communities , Tim Bray has published the Sun Policy on Public Discourse, a collection of brief but important thoughts on posting your thoughts in public. Good advice for non-Sun employees too.

Martin Fowler blogs about the value of certification in general and the difficulties of implementing a meaningful test that would result in Agile Certification


In today's java.net News Headlines
:

Registered users can submit news items for the href="http://today.java.net/today/news/">java.net News Page using
our news submission
form
. All submissions go through an editorial review by news director
Steve Mallet before being posted to the site. You can also subscribe to
thejava.net
News RSS feed
.


Current and upcoming
Java Events
:

Current and upcoming
Java Events
:

Registered users can submit event listings for the href="http://www.java.net/events">java.net Events Page using our href="http://today.java.net/cs/user/create/e"> events submission
form. All submissions go through an editorial review before being
posted to the site.


Archives and Subscriptions: This blog is delivered weekdays as the
Java
Today RSS feed
. All java.net members can subscribe to the email
updates for the site at the href="https://java-net.dev.java.net/servlets/ProjectMailingListList">
java-net Mailing Lists page. You must be logged in to subscribe
to
the javanet_Daily and javanet_Weekly lists. Also, once this page
is no longer featured as the front page of
java.net
it will be archived along with other past issues in the href="http://today.java.net/today/archive/">java.net Archive.