[jboss-dev-forums] [Design of JBoss Web Services] - Proxy Object Caching

btallon do-not-reply at jboss.com
Fri Jul 25 13:21:31 EDT 2008


In the following code creating proxy object takes about 500 milliseconds. 

Is there any other mechanism to resuse this proxy object using pooling? or can we use this proxy as singleton?

        

String wsdlLocation = System.getProperty("wsdl_url"); //
URL url = new URL(wsdlLocation);
String serviceName = "PipCalculatorService";
QName qname = new QName(namespaceURI, serviceName);
Service remote = connectService(url, qname);
PipCalculator proxy = (PipCalculator) remote.getPort(PipCalculator.class);


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166727#4166727

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166727



More information about the jboss-dev-forums mailing list