Programming for the WWW G22.3033-009

Programming for the WWW G22.3033-009

 


 


 
UPDATED Grades:

Overall comments: Many of you assumed that we have windows machines which  is not the case.  We do the grading on linux machines and since you have hardcoded the path name using "C:\\.." it gives an exception when I try to run it. You HAVE to use relative path names - absolute path names pose a danger always.   I just checked whether everything else was working fine so that you don't lost all points for just that small mistake. Please make sure you don't do that again.  

TA - Kranthi

Last four digits of your student ID
 
Grade points out of a total of 6
 
TA Comments
 
8976
 
6
 
Works fine.
 
5293
 
6.0
 
1. Interface could be improved a little bit - like after the customer clicks on "Submit"  button after placing the order, you could perhaps show the entire cost of the order or you could close the "CustomerOrderDialog" dialog completely.
 
1205
 
6.0
 
1. Nothing much but you can do better by conforming to the specifications - little things like storing "PO" data in "po.<customerID>.<POID>.txt" and not like you did!  These are little things but they help!
 
0175
 
3.0
 
1. Doesnt compile.
 
0331
 
6.0
 
1. In the inventory list, you need to maintain the count of copies of a book still on stock which you dont seem to do.  If suppose 10 copies of a book are available and a customer  takes away 5, you need to update your inventory to make the stock to 5.
 
7883
 
6.0
 
Very Good work!
 
5071
 
6.0
 
1. You generate a random number for a customer id, but if a new customer comes and the id that you generate already exists, then what?  You are supposed to do a check to see whether a particular id already exists, I am not sure if you are doing that - correct me if I am wrong.
2. Use a scrolling list for inventory items, I cant see the updates in the inventory once an order is placed and also the shopping cart completely.
 
3710
 
5.5
 
1. There is no increment for the "POID" i.e., all PO's for a particular customer
are stored in "po.<customerID>.1.txt".  You should increment the PO's and not overwrite
a single file.
2. Use a scrolling bar for the inventory list.
3. Make updates in the inventory after an order is placed which you dont seem to do at all.
 
6439
 
6.0
 
1. After clicking on the "add to cart" button, you could have decreased the number
of items on stock as well dynamically - looks good!
 
5679
 
6.0
 
1. You should update the items in inventory after an order has been placed - you dont seem to do that.
2.  Use scrolling boxes for inventory browsing, I cant see all the items in the inventory properly.
3959
 
6.0
 
Works fine.
 
6459
 
6.0
 
1.  The professor specifically told that you need to save customer data in files named
"customer.1.txt" files and not using the names of customers as you have done
"loganpoelman.1.txt" etc.  Also in the inventory list, you need to maintain the
count of copies of a book still on stock which you dont seem to do.  If suppose 10
copies of a book are available and a customer takes away 5, you need to update your
inventory to make the stock to 5.
 
2298
 
6
 
Nice work!
 
6171
 
6.0
 
1. You need to update the items in the inventory.  You are displaying that the quantity
on stock is decreasing but you need to UPDATE in the "inventory.txt" file.
 
2015
 
6.0
 
1. You need to update the items in the inventory.
2.  Also use scrolling bar for inventory list.
 
3127
 
6.0
 
1. Its perfectly fine but you need to take care in the future to adhere to the
specifications given by the professor.  Such things as naming a PO file to be
"po_1_1.txt" instead of "po.1.1.txt" may seem trivial but you might as well do that
without any extra effort right?
 
2049
 
5.5
 
1. There is no increment for the "POID" i.e., all PO's for a particular customer
are stored in "po.<customerID>.1.txt".  You should increment the PO's and not overwrite
a single file.
2.  Use a scrolling bar for the inventory list.
 
5222
 
6.0
 
1. Also use a scrolling bar for inventory listing.
 
0231
 
6.0
 
1. The directory "homework" where the datafiles reside should be in a top level directory.
 i.e., "homework" should be in the directory from where I do "java GVBooks.CustomerInfoDialog" and not INSIDE "GVBooks" dir.  I ran it for the first time and got an exception - then I removed the "homework" to one level up and it worked fine.
 
7102
 
6.0
 
1. Use a scrolling bar for inventory items.
2. Take care to see whether a book is on stock - if its not, give an error mesg.
3. Update the inventory items.
4. Also the load button doesnt work.
 
2927
 
6.0
 
1. Use a scrolling bar for inventory items.
2. Take care to see whether a book is on stock - if its not, give an error mesg.
 
7056
 
 
** not submitted **
 
1639
 
6.0
 
1. You need to make a scrolling list box for the inventory items - after I add something
 to my shopping cart, I cant even see the total cost and other updates that get printed.
 Also all the inventory items are not visible.
 
5618
 
6.0
 
1. You need to keep updating the inventory list when an order has been placed.  If suppose
10 copies of a book are available and a customer takes away 5, you need to update your
 inventory to make the stock to 5.  You dont seem to do that.
 
8598
 
6.0
 
Excellent work!
 
9164
 
6.0
 
Good interface.
 
1051
 
6.0
 
1. Good work but please make sure not to give those windows path names "C:\.."
I work on a linux m/c and I need to make all those changes.  For the first time,
its fine but please do not repeat it.
 
5845
 
6.0
 
1. One thing you might have added (which as such is not required for this assignment) is
 to store the next customer ID into the disc (in a file) and retrieve it.  What this does is
 that the next customer ID is not set to 1 everytime you start the customer info dialog.
 
6738
 
6.0
 
1. You should implement the "load" button too - the customer just "loads" his information from a file instead of entering it all over again when placing an order.  But you more than made it up with a beautiful interface, perhaps the best of all.
 
9974
 
6.0
 
1. You need to make a check whether the quantity on stock is available to satisfy a
 particular order.  You dont seem to make any such check, infact the quantity on stock
 goes negative sometimes.
2. Could have made a better interface - after I click the submit button its better if the dialog disappears.
 
5256
 
6.0
 
1.  Better if you update the inventory dynamically i.e., when the user clicks on
  "add to shopping cart", if u make the change in inventory - would look good.
 
4410
 
6.0
 
1. Very nice readme, perhaps the best I have read till now.
 
8396
 
6.0
 
1. Good but please do not give those absolute "Windows" pathnames, we use linux m/cs.
 
7779
 
6.0
 
1. As you told me, you are not updating the entries in the inventory after I press
"Add To shopping cart" but I saw that the entries in the inventory file were correctly
  updated - its just that you could not make the updates in the jlist properly.
2. And when I press "add to shopping cart", in the area below the inventory area, you should print the order that I currently made - will help the customer to remove an order.  In your
case, he cant do so.
3.  Package structure is not very good, I dont know how you could compile all the files.
 I was getting errors when I tried netbeans to compile the thing.
 


 

  TA - Prashant
 

Last four digits of your student ID
 
Grade points out of a total of 6
 
TA Comments
 
8063
 
6
 
Worked fine on his computer!
 
8893
 
4
 
File reading and saving problems
 
8949
 

 

** not submitted **
0902
 
4
 
File saving not working
 
0254
 
6.0
 
Not modifying inventory
 
9156
 

 
** not submitted **
 
4869
 
6
 
Not Calculating tax
 
6370
 

 

** not submitted **
6760
 
5
 
purchase order file save not working..

 
7896
 
6
 
Not Calculating tax
 
4821
 
6
 
Not Calculating tax
 
7790
 
6
 
Good
 
7342
 

 

** not submitted **
7728
 
6
 
Not Caluculating tax
 
7075
 

 

** not submitted **
6680
 
6
 
Good
 
1275
 
3
 
Compilation Errors
 
1934
 
6
 
Good
 
2627
 
5.5
 
Customer order not working properly
 
2825
 
4
 
Customer order not working
 
4396
 
6
 
Not Calculating tax
 
3559
 
6
 
Not Calculating tax
 
6467
 
4
 
Not loading/saving customer data correctly
 
3442
 
3
 
Not compiling
 
1827
 
4
 
Customer Order not working properly
 
4375
 
5
 
Customer order not working properly
 
8396
 
6
 
Good
 
4830
 
6
 
Not calculating tax
 
9156
 
6
 
Not calculating tax
 
6342
 
6
 
Good
 
8839
 

 

**not submitted**




 


 



 Copyright Poelman & Associates, Inc. (c) 2002 
For problems or questions regarding this web contact [ClassWebEmail].
Last updated: 11/05/02.




 



 Copyright Poelman & Associates, Inc. (c) 2002 
For problems or questions regarding this web contact [ClassWebEmail].
Last updated: 11/05/02.