How to implement HttpDaemon

45 Views Asked by At

I am a Java Programmer.I have to implement HttpDaemon.I think it would be written in 'C' or 'Perl' . Kindly help me in what is it and How to implement it.

1

There are 1 best solutions below

1
On
  1. Read and understand all the relevant specs.
  2. Code it up. Start with java.net.ServerSocket.

The first step is the hard one!

Seriously, there are many industrial-strength web servers written in Java: Tomcat, Jigsaw, etc. Here is a long list of them.

Perhaps of most interest to you would be Jetty, which is designed to be embedded into other applications. Use Jetty, rather than writing your own. It's a large undertaking to do a good job, and why reinvent the wheel?