Implemented the JoinTables XQuery programs into the existing Java program