Oops; appologies to the list for such a Node-centric reply.

To be clear: Node is by no means the only server-side Javascript platform; 
there are others. I assume the reference to "Node: Up and Running" is an 
indication that that's what the OP is looking at though ;-)

L.

On 2011-08-20, at 7:50 PM, Laurie Harper wrote:

> Specifically, in your frame of reference: the Javascript Engine is roughly 
> equivalent to the Java Virtual Machine (JVM) -- i.e. the component that 
> handles compiling/evaluating your code. 
> 
> Tomcat is an application written in Java which implements the Servlet API. 
> For web application development in Javascript using Node, the Express 
> framework [1] is probably the most popular. It isn't a direct equivalent to 
> the Servlet API (the approach is quite different) but it lives at the same 
> level in the application stack.
> 
> Server-side Javascript doesn't, in and of itself, give you anything specific 
> to auto-updating web pages; that's something you have to implement on top of 
> HTTP, same as with any other server-side technology. However, socket.io [2] 
> is a very popular project which makes it particularly easy to accomplish such 
> things with Node.
> 
> Finally, note that Node is a more platform than just a web server. You can 
> use it to accomplish any programming task, but it particularly excels at 
> anything requiring a lot of concurrent IO. 
> 
> I haven't read the book you referenced, but I'm sure it would be a great way 
> to improve your understanding of what Node is and how you might use it.
> 
> L.
> 
> On 2011-08-20, at 1:58 PM, Amit Agarwal wrote:
> 
>> Javascript engine is the part of a browser which is responsible for 
>> executing loaded Javascript code. Better your JS engine executes JS faster.
>> 
>> Details?
>> http://en.wikipedia.org/wiki/JavaScript_engine
>> 
>> Example?
>> http://www.youtube.com/watch?v=KTkTBKSnqbA
>> 
>> 
>> 
>> On Sat, Aug 20, 2011 at 6:59 PM, Rahul <[email protected]> wrote:
>> I searched on Wikipeidia , but i didn't understood the explanation.
>> 
>> Many article says that Javascript engine is used for "Javascript Web
>> server",
>> 
>> But how come web server ?
>> 
>> I have worked on Tomcat server and having knowledge of J2EE framwork,
>> here a browser send request using a url, now this request hits the web
>> container(Tomcat),
>> now webcontainer creates req. and res. object and passes it to
>> servlets deployed in webcontainer.
>> 
>> 
>> 
>> Now from my above knowledge of Webcontainer can you please explain how
>> come javascript be
>> a web container, and how does it helps us in client-side javascript
>> 
>> 
>> Does javascript engine has anything to do with auto-refresh of
>> webpages, like live scores of sports or stock prices listing ,
>> something like this sort.
>> 
>> Can you please suggest some books on javascript engine or Javascript
>> webserver,
>> 
>> Can O'really's  Node: Up and running will be helpfull reading,
>> 
>> 
>> Wating for a reply
>> 
>> --
>> To view archived discussions from the original JSMentors Mailman list: 
>> http://www.mail-archive.com/[email protected]/
>> 
>> To search via a non-Google archive, visit here: 
>> http://www.mail-archive.com/[email protected]/
>> 
>> To unsubscribe from this group, send email to
>> [email protected]
>> 
>> 
>> -- 
>> To view archived discussions from the original JSMentors Mailman list: 
>> http://www.mail-archive.com/[email protected]/
>>  
>> To search via a non-Google archive, visit here: 
>> http://www.mail-archive.com/[email protected]/
>>  
>> To unsubscribe from this group, send email to
>> [email protected]
> 
> -- 
> Laurie Harper
> http://laurie.holoweb.net/
> 
> 
> -- 
> To view archived discussions from the original JSMentors Mailman list: 
> http://www.mail-archive.com/[email protected]/
>  
> To search via a non-Google archive, visit here: 
> http://www.mail-archive.com/[email protected]/
>  
> To unsubscribe from this group, send email to
> [email protected]

-- 
Laurie Harper
http://laurie.holoweb.net/

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to