Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 264
Registered: ‎06-04-2009
My Device: Not Specified

https connection

Hi

 

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.

 

Developer
Posts: 264
Registered: ‎06-04-2009
My Device: Not Specified

Re: https connection

any idea on this issue ??
Developer
Posts: 174
Registered: ‎01-25-2011
My Device: Not Specified

Re: https connection

I dont think it should make any difference.. It all depends on ur connection speed.. and there is not restriction on time constrains for untrusted web services aswell
Developer
Posts: 96
Registered: ‎06-05-2012
My Device: Developer
My Carrier: Developer

Re: https connection

Hi,,

 

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.

 

thanks,