我想知道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.