What is the best way to share common code (such as domain classes) between two or more projects?

后端 未结 7 1858
野的像风
野的像风 2021-02-02 11:33

We are developing a Web application consisting of two Eclipse projects. One project is an HTTP-based RESTful Web service; the other project is a Web site. Both

7条回答
  •  遇见更好的自我
    2021-02-02 12:05

    You need to create another project (i.e. shared). All of my SERVER-CLIENT app i do like that.

    Here is a sample of an EJB app

    Basicaly, shared module has the EJB interfaces that are used by client and implemented by ejbModule

提交回复
热议问题