Calling a java method from javascript

Hi, so i’m currently developing a project for college to which our teacher said that we had to use java for our controller side of the objects, and by that i mean the usual CRUD functions with SQL queries, and since it will be a web app we will be doing the server-side with javascript and front-end with html, now ill need to call the CRUD functions that were coded in java, from javascript, and im currently unable to do it. I’d appreciate it if someone had a suggestion or any example even if it was as simple as having a java function just doing a systemprint and calling that function from javascript, thanks in advance.

Investigate “Live Connect”.

1 Like