简体   繁体   中英

Does JAX-WS Service.getPort return a new port on each call?

我想知道getPort调用会创建一个新端口还是一直在提供相同的端口,从而使其不是线程安全的吗?

the thread safety nature of the JAX-WS seems to be depend on the underlying implementation. see this question . Are you trying to reduce the GC overhead or reusing the Service object?

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