This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes General Computing and the fly likes Node.js for writing webservers? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "Node.js for writing webservers?" Watch "Node.js for writing webservers?" New topic
Author

Node.js for writing webservers?

Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1526
I was following this Node.js entry in wikipedia :

http://en.wikipedia.org/wiki/Node.js


designed for writing... web servers. Programs are written in JavaScript.


Is it possible to write a webserver using javascript???


Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41073
    
  43
A web server is a process that accepts HTTP requests and sends HTTP responses. The language it's written in is irrelevant to fulfilling this function.


Ping & DNS - my free Android networking tools app
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1526
How do you get an exe out of of javascript?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41073
    
  43
What do you need an exe for? Something that can interpret (or compile) JavaScript would do nicely. Note that Node.js isn't written entirely in JavaScript - it just allows you to run server-side code written in JavaScript.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Node.js for writing webservers?
 
Similar Threads
Can I use your book to learn JavaScript and then learning Node.js ?
a decade of "keep the code out of the jsp"
Python and Javascript
Which New Programming Language To Learn
Learning JavaScript and am thoroughly confused by the overall design