• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTTP open source

 
feda alshahwan
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Execuse me is there an HTTP open source .
thanks
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HTTP is a standard, not a software product.
 
feda alshahwan
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry I meant HTTP listener to listen for SOAP requests reaching a mobile
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may have to be a bit more specific.
 
feda alshahwan
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to create a web server on the mobile that can listens to incomming request and process them such as tomcat thanks
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13077
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Open source Tomcat may be a bit large for your mobile application but there are plenty of alternatives.

Here is some information on the HTTP server in Java 1.6

The Jetty implementation is well developed.

The Grizzly project is quite active.

I am sure there are more.

Bill
 
Tim Holloway
Saloon Keeper
Posts: 18367
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We've actually got a mobile forum for questions like that, said the J2ME forum moderator, humbly.

Actually, more than one, now that we have an Android forum, too.

There's 2 major problems that keep you from just putting up a copy of Tomcat with Apache Axis on a cellphone:

1. Most mobile devices don't run under the full J2SE stack, so not all applications will work, since stacks like J2ME may not include all the classes or methods needed.

2. To act as a web server/SOAP server, you have to have a locatable public IP address for people to aim at. Cellphones often get DHCP-assigned addresses from their carriers, and those addresses may be in one of the private ranges. Fine if you want to use the phone to talk TO the Internet, but a big problem when you want the Internet to talk to you!

You might be able to locate a J2ME-compliant HTTP server, and maybe even a J2ME SOAP service manager. Or, Android, or whatever JVM your particular device supports. However, you may find issue #2 to be a more serious problem.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
... in other words, you'll have exactly the problems discussed in http://www.coderanch.com/t/448133/Web-Services/java/Implementing-server-mobile :-)
 
Tim Holloway
Saloon Keeper
Posts: 18367
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:... in other words, you'll have exactly the problems discussed in http://www.coderanch.com/t/448133/Web-Services/java/Implementing-server-mobile :-)


Which I forgot to mention has also been discussed once or twice lately in the Java Mobile forum, though I don't recall if SOAP was mentioned. The other issues kind of made the SOAP part moot.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic