Hi,

when using CXF, I'm doing smth like this:

                SomeService ss = new SomeService(wsdlURL, SERVICE_NAME);
                ISomeService port = ss.getBasicHttpBindingISomeService();
                //use the port

currently the service and port are created for eah remote method invocation.
should I create the service and the port every time? or should I create the
service (or the port) in a broader scope and re use it? and if so, is it
safe to use the same service (or port) from multiple threads? 
Thanks in advance

--
View this message in context: 
http://cxf.547215.n5.nabble.com/reusing-service-port-instance-tp4628346p4628346.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to