Sorry for the newbie question so please go easy on me. I am a bit new to Java but have web development experience working with a MERN stack (MongoDB, Express, Angular, Node) to connect front end to back end.
Could anyone point me in the right direction to a tutorial I could reference to integrate Java into my web app as Google is of little help? Are you able to for example use Java methods inside of Javascript functions for event handlers?
Say I wanted to add a Java object to an arraylist when an onClick event triggers. Would I be able to call the Java method to add inside of the onClick event handler?