0

I am developing a project(Spring+Hibernate+Maven+Intellij Idea for develop) without any application server such as tomcat. Now I don't know how create Web Service from my project to use it in other projcets ?! My Question is how to create Web Service from jar file that created by maven?

4

1 回答 1

0

您可以在您的应用程序中嵌入 Jetty或使用提供嵌入式服务器的Restlet 。

只需将它们添加为依赖项并将所有已解析的 jars 放在您的类路径中(maven 程序集插件可能会帮助您打包您的应用程序)

于 2013-07-02T11:41:03.273 回答