how to write a web server

Posted on 2011-03-15
Last Modified: 2012-05-11
how to write a web server in java? which API to use?
what is the platform is better as a server? linux or windows?
Question by:keepworking
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 92

Accepted Solution

objects earned 250 total points
ID: 35143024
heres a few to give you a head start

we find linux works best for hosting servers
LVL 86

Assisted Solution

CEHJ earned 250 total points
ID: 35143036
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:

Author Comment

ID: 35143124

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
LVL 86

Assisted Solution

CEHJ earned 250 total points
ID: 35143137
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
LVL 92

Assisted Solution

objects earned 250 total points
ID: 35143177

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
login jsp example 24 85
Chrome and Firefox Java 5 67
Print Rhino Java Array in Javascript 1 36
learn programming 8 69
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question