Java Web Project referencing another Java project

后端 未结 5 1050
故里飘歌
故里飘歌 2020-12-13 22:37

I have a Java Project, for which I\'m now creating a Web interface, using a Dynamic Web Project from Eclipse. The Web project consists of a single

5条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-13 22:42

    Typically you would create an API interface using remote service beans from the Java application that expose the methods that you want to invoke in the web application. You would include a proxy of the API interface with your web application that calls the remote service bean in the Java application. Remember that you will need to register the remote bean in the web.xml file.

提交回复
热议问题