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 2.1 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. Make sure the "Into Folder" entry is set to "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.


Sample Java code: KWIC Modularizations, written by Nick Scerbakov and modified by Vibha Sazawal.

KWIC Modularization 1

  1. Download this zip file and unzip it in a convenient place that's not in your workspace (say c:\temp).
  2. Launch Eclipse 2.1 and create a new Java project by using File->New->Project->Java Project. Call the project "kwic-mod1". Create the project in your workspace.
  3. Import the files by using File->Import->File system. Click on Browse to find the kwic-modularization1 directory. (If you unzipped kwic-modularization1.zip in c:\temp, then browse and select c:\temp\kwic-modularization1) Check the checkbox for the entire kwic-modularization1 directory. Make sure the entry for "Into Folder" is "kwic-mod1". 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 dissertation.

KWIC Modularization 2

  1. Download this zip file and unzip it in a convenient place that's not in your workspace (say c:\temp).
  2. Launch Eclipse 2.1 and create a new Java project by using File->New->Project->Java Project. Call the project "kwic-mod2". Create the project in your workspace.
  3. Import the files by using File->Import->File system. Click on Browse to find the kwic-modularization2 directory. (If you unzipped kwic-modularization1.zip in c:\temp, then browse and select c:\temp\kwic-modularization2) Check the checkbox for the entire kwic-modularization2 directory. Make sure the entry for "Into Folder" is "kwic-mod2". 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 dissertation.