boolean success = true;
ProductManager dataObjectManager = new ProductManager();
try {
success = dataObjectManager.deleteProduct(id);
if (success) {
//update caching
Hashtable<String, Product> productDataSet = DataSet.getProductDataSet();
if (productDataSet != null) {
Product dataObject = productDataSet.get(id);