08-27-2012 02:31 PM
We had created an application which uses JSON for the communication between Client & Server. The urls were http and the we were able to get the response in 20 s. After we made the url to https the response time became 40 s. Does making the connection to https affect this much performance. The certificate used by the https url is not trusted. Does this have any impact on the application. The application is using the BES network. Is there any restriction for the untrusted urls in the BES network.
I am using the normal HttpsConnection class
connection = (HttpsConnection) Connector.open(url);
Is there any other method which can be used to measure the performance of the https connection.
08-28-2012 05:58 AM
No need to cast in https connection you can use:
connection = (HttpConnection) Connector.open(url+connectionparams);
i used this in one of my project its working fine for me, hope it will solve your problem.