Home arrow static arrow Java Programming [Archive] - web server / http requests
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - web server / http requests
This topic has 2 replies on 1 page.

Posts:31
Registered: 4/1/02
web server / http requests  
Jul 29, 2004 6:15 PM



 
Hi,

I am attempting to implement a listener on my server for http requests. Also, messages will be sent though using SOAP.

My question is, can this listener run as a standalone service? or do I need to implement a web server and perhaps create a servlet to respond to anything coming through via http?

I am unsure of the advantages / disadvantages...Any help or assistance would be greatly appreciated.

Thanks

Gregg
 

Posts:12,831
Registered: 2/22/00
Re: web server / http requests  
Jul 29, 2004 6:58 PM (reply 1 of 2)



 

You can write a program that listens at ports for connections.

But the advantage of using a web server and writing servlets, is that a lot of the hard work, the little tedious work with low-level networking stuff, is done for you.
 

Posts:31
Registered: 4/1/02
Re: web server / http requests  
Jul 29, 2004 7:20 PM (reply 2 of 2)



 
Thanks very much for your reply Paul,

I'll start looking more into implementing this with servlets.
 
This topic has 2 replies on 1 page.