a very old java code sample for an e-commerce system