简体   繁体   中英

web service with glassfish v3

我正在使用JSF 2.0,Spring,Hibernate和GlassFish v3服务器,我需要制作Web服务,而我对Web服务是一个全新的人,有人可以建议我应该使用哪种Web服务。

This question is very vague and the mentioned technologies don't have much to do with web services. Anyway, my recommendation would be to use JAX-WS which is supported by GlassFish out of the box (the implementation is provided by Metro, the WS stack in GlassFish).

Here are a few tutorials:

do you mean jax-ws (soap based) or jax-rs (rest based). if this is the case http://www.rekk.de/bloggy/2008/java-webservices-relationship-of-jax-ws-jax-rs-metro-and-jersey/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM