• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Converting socketConnection to HTTP Connection

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there,
I have developed an application using Socket connection. I have further port the application to Cingular devices. but the problem is on Cingular netwrok Socket doesnot work We have take permisiion from Cingular for doing so. We decided to change the code from SocketConnection to HTTP connection. Can anybody help me in this regard.
Any suggestion how shud I proceed, what are the changes that has to be made in serverside and the client side.
Thanks in advance
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well because you used the Generic Connection Framework, you just change the URL String in the getConnection method. Now I think it also depends on if there is any specific methods that you used on the SocketConnection object that is not in the HttpConnection object. On the serverside you now need to have a Servlet return the content that was used to be passed through the SocketConnection.

There might be more, but that is what I thought of.

Mark
 
On my planet I'm considered quite beautiful. Thanks to the poetry in this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic