O'Reilly logo

Apache Jakarta and Beyond: A Java Programmer’s Introduction by Larne Pekowsky

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12. Configuring Program Options

Modern Java applications are typically quite flexible. Much of this flexibility takes the form of options and parameters that can be given to a program when it first starts up. In a typical example, a program may need to be told which of several related tasks it should perform and will need to be given information relevant to that task. This in turn means that the program must be able to process this information in order to know what to do. Some options, such as the major task to perform, are internal switches. Other options require a value, such as the URL of a database. Still others may require multiple options, such as a list of files to be processed.

Closely related to this issue is that a well-written ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required