• 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 ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Converting socketConnection to HTTP Connection  RSS feed

 
Greenhorn
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
 
ranger
Sheriff
Posts: 17314
11
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.

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