Sample Java code: the "Money" banking application

  1. Download this zip file and unzip it in a convenient place that's not in your workspace (say c:\temp).
  2. Launch Eclipse and create a new Java project by using File->New->Project->Java Project. Call the project "money". Create the project in your workspace.
  3. Import the Money files by using File->Import->File system. Then click on Browse to find the edu.washington.cs.money directory. (If you unzipped edu.washington.cs.money.zip in c:\temp, then browse and select c:\temp\edu.washington.cs.money) Check the checkbox for the entire edu.washington.cs.ds directory. If "Into Folder" is blank, click on Browse to select "money". Then click on Finish.
  4. Let Eclipse replace existing files, such as .classpath and .project.
  5. Commentary on design snippet views for this application can be found in my OOPSLA talk.