Solved

how to write a web server

Posted on 2011-03-15
5
394 Views
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?
thanks
0
Comment
Question by:keepworking
  • 2
  • 2
5 Comments
 
LVL 92

Accepted Solution

by:
objects earned 250 total points
ID: 35143024
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
 
LVL 86

Assisted Solution

by:CEHJ
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:


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

Author Comment

by:keepworking
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
0
 
LVL 86

Assisted Solution

by:CEHJ
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
0
 
LVL 92

Assisted Solution

by:objects
objects earned 250 total points
ID: 35143177
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now