FUDAN-adweb MyEclipse开发基于 Restful的 Web Service教程 whh 32 Framwork为REST,同时选择通过新建 java class生成 service New Web Service rice framework creation scenario Create a new web service proiect. Java EE 6 Web proje Framewor Strategy: Create we from WSDL document(Top-down scenario o Create web service from Java clas(Bottom-up scenario v Create new Java bean Back Next> FinishCancel 33接下来的配置如下 a New Web Service New REST Web Service-Bottom-up A Class contains no sub-resource methods Project: MyWebServiceDemo URL path: demotes Lifecycle: o Per-request (JAX-RS default) o Singleton Consumes: application/xml, application/json Produces: application/xml, application/json Java source folder: src Java package: du fudan edweb demo Java class: MyDemoTest Java methods: add ⑦ Back Next, FinishCancel 其中FUDAN-adweb MyEclipse 开发基于 Restful 的 Web Service 教程 whh 4 / 9 3.2 Framwork 为 REST,同时选择通过新建 java class 生成 service 3.3 接下来的配置如下: 其中: