Docsity

Iterative Development - Java and the Web - Lecture Slides, Slides of Java Programming

Partial preview of the text

Download Iterative Development - Java and the Web - Lecture Slides and more Slides Java Programming in PDF only on Docsity!

Iterative Development

  • This chapter of the text is an introduction to iterative development with a case study to illustrate it.
  • Grady Booch of Rational Software has stated that the critical idea in the Rational Unified Process is Iterative Development.

A Working Product

  • The output of every iteration is working code. The first iteration may not do much, but it is complete, testable, executable, and deliverable.

Timeboxing

  • Timeboxing is a best practice in which the deadline is not flexible. If the team cannot finish within the scheduled time, features are eliminated in order to produce some working code by the deadline.
  • There are several good reasons for timeboxing.

Motivation for Timeboxing an

Iteration

  • Parkinson’s Law

“Work expands so as to fill the time available for its completion.” The team has to focus, make decisions to make available executable and tested system on a given date. Otherwise resources are wasted and little is accomplished.

Happy Teams

  • Team Satisfaction

The team should finish a set target everyday which gives a psychological advantage for individual and team satisfaction. This is better than lingering on things for months.

Maintaining Support

  • Stakeholder Confidence

Completing the system in a set time span which gives confidence to the stakeholder of the system for future projects. Projects that lose the support of the stakeholders are frequently cancelled.

The Greatest Risk

  • The greatest risk in any software is almost always that it will not fulfill its main purpose. For example, most people use an ATM to withdraw money. Since that is the main function, if it does not work, the whole system must be considered a failure.
  • Therefore, to develop an ATM, work on cash withdrawal first. (The highest risk) After that, worry about less used functionality such as making deposits and balance inquiries.

Critical Tasks

  • Since the greatest risk is always a quality risk, that the system will not accomplish its main purpose or critical task , it is important for team members to know what aspect of the delivered product is critical for customer satisfaction.
  • For example, most people only pay attention to a bridge when it is washed away or closed for repairs. They are usually more interested getting across the river than admiring the bridge.

The Critical Task

  • For the critical task, we should consider the main reason that someone would want to use an Internet library catalog. That task would be to request a book. While there are enough flaws in this program to be analyzed for a full semester course, we will look only at the process of requesting a book.

Case Study

  • The case study is the automated on-line catalog of the Morris County, New Jersey library system, called the Morris Automated Information Network, and available at http://catalog.mainlib.org/.
  • Actually, the search screen, the main entry point for the system, is quite good, suffering mainly from being too busy, as shown on the next page.

Example

  • To illustrate a search, imagine that you are looking for a book by Tom Clancy, but do not remember the name of the book. So you do an “author” search on Tom Clancy.
  • The next screen shows the result. Note that the results are listed by publication date ( which is neither announced nor selectable by the program ) and there are 233 entries, or 12 pages of material to look through at 20 items per page.

Partial results from search

Kept List

Dead End

  • Now what do you do?
  • The answer is “ Start Over .” There is absolutely no way to reserve a book on your kept list! The best you can do is print out the list and take it to the library and ask the librarian to reserve it for you.