Webservice client, should i keep service or port instance?

后端 未结 2 860
被撕碎了的回忆
被撕碎了的回忆 2021-01-19 22:17


i am developing web service client with cxf codegen and it generating class MyService extends Service for client part.
My question now is when i am cre

2条回答
  •  北海茫月
    2021-01-19 22:56

    Keeping the Port around is definitely the best performing option, but keep in mind the thread safety aspects:

    http://cxf.apache.org/faq.html#FAQ-AreJAXWSclientproxiesthreadsafe%3F

提交回复
热议问题