Good day! Here's the situation. We are trying to connect our mySQL database using javascript. We already have the java codes to access the database, but the thing is, they are java files and I cannot find ways how to transform them to javascripts. How can these different classes (e.g. DatabaseClass.java, DBConnectionFactory.java, DBConnectionFactoryImpl.java) work together in an HTML file? Can someone provide a link which could help us with this?
P.S. We're just beginners. I hope you guys can understand what we are trying to do. Cheers!