I have developed a stand-alone java application (java 8 + javafx) using the MVC pattern. Now I should start to develop the web app and , according to the MVC pattern, only the View should change. My problem is: I don't know how to link the Angular frontend with the Java backend of the stand-alone app. How do these parts communicate? How do the frontend invoke the controller's methods?