• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

Converting socketConnection to HTTP Connection  RSS feed

Posts: 2
  • Mark post as helpful
  • send pies
  • 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
Posts: 17314
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • 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.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!