Photo of a Point-of-Sale Terminal

Last modified:  Thu Apr 29 10:20:04 EDT 2010

Project:  Point-of-Sale System

Phase I

Due Date

Friday, February 26, 2010 (worth zero after March 5)

Marks

worth 15% of your final mark

Documents

Skeleton

File Size in bytes Extract with ...
phase1.zip 8,459 unzip -a phase1.zip
phase1.tar 30,720 tar xf phase1.tar
phase1.tar.gz 5,613 gzip -d -c phase1.tar.gz | tar xf -
phase1.tar.bz2 5,480 bzip2 -d -c phase1.tar.bz2 | tar xf -
phase1.jar 8,532 jar xf phase1.jar

Phase I Skeleton for Netbeans 6.1

Phase I Solution

Phase I Solution Code

added Fri Mar 19 2010

Phase II

Due Date

Friday, April 23, 2010
Project

Marks

worth 60% of your final mark

Documents

Starter Kit

Includes the following:

Download it in one of the following formats:

Updates

com.boldin DBFile class

Added a dump method to the com.boldin.db.DBFile class.  Created a program, DBD.java that calls this method and can be used to view the store.dat and depot.dat files.

NetBeans Projects

Each download includes three separate NetBeans projects.  Please read the notes below.

Important Notes regarding the NetBeans Projects:

  1. Because NetBeans supports only one main class per project, the applications were split into three projects.

  2. Source code files are copied (not shared) between the three projects.  As a result, any changes made to a file in one project must be copied to any other project that contains that file.

  3. NetBeans is not able to run the RMI compiler (rmic) easily (i.e., requires hacking build.xml files!)  You must, therefore, run rmic from a command prompt in the build/classes folder for the Store project.  Then, you must copy the StoreServer_stub.class file to the src folder of the Terminal project.

  4. You must run the RMI registry (rmiregistry) manually from a command prompt.  Be sure to set up the CLASSPATH correctly — to the build/classes folders for both the Store and Depot projects.

Links

Software

Back to CTEC1641