how to write a web server

how to write a web server in java? which API to use?
what is the platform is better as a server? linux or windows?
thanks
keepworkingAsked:
Who is Participating?
 
objectsConnect With a Mentor Commented:
heres a few to give you a head start
http://java-source.net/open-source/web-servers

we find linux works best for hosting servers
0
 
CEHJConnect With a Mentor Commented:
The platform really doesn't make much difference. The best way to learn is to look at a small Java web server and study it. There's an http server in the jdk examples directory. More generally, the following is worth looking at:


http://www.technojeeves.com/joomla/index.php/free/84-server-by-david-flanagan
0
 
keepworkingAuthor Commented:

would you like to give me some basic idea about set up webserver on linux? so I can know what kind of information I need to learn
0
 
CEHJConnect With a Mentor Commented:
Running it and studying it are obviously two different things. To run it, install Java on your distro (what is it?) and then run the server app
0
 
objectsConnect With a Mentor Commented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.