Added passing table of products to Java to get the product prices