I'v succesfully gotten to run the EJS and the 2D collision simulation can run but it's in XML so could you provide me with the Java source code like the one provided for the 1D collision coz I don know how to generate the Java source code from the EJS.