Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

JVM requirement on local machine

 
Ranch Hand
Posts: 386
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some websites require JVM installed on the client machine in order to provide some information in the windows on the webpage rendered by thie website. AN example of such website is "www.capitalmarket.com"

Why is it required to run JVM to run on client machine ? Evcerything mthat website renders is a webpage and webpage contains HTML code which is provided by servlet. So JVM is needed on server side. Why do we need that on client side ? Is that anything to do with web services ? I dont understand this web services part is thats the reason. Why do we need JVM on client m/c to run a web service ?

Is it JVM or JRE thats required on client m/c ?
 
author and iconoclast
Posts: 24203
43
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some web sites include Java applets. An applet is a piece of Java code that can run in your browser. You can learn more about Applets here.

The JRE is basically an implementation of the JVM. There's no way to install just a JVM on your machine; you can only install a JRE.
 
nirjari patel
Ranch Hand
Posts: 386
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Applets can be interpreted by HTML. There is an Applet tag in HTML. Thyen why do we need JRE on client side when applet can be interpreted by browser.
 
Ernest Friedman-Hill
author and iconoclast
Posts: 24203
43
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

nirjari patel wrote: There is an Applet tag in HTML.



The applet tag just says "Here's where to embed the JRE in this HTML page." It doesn't run the Java class -- you need an actual JRE to do that.
 
Friends help you move. Good friends help you move bodies. This tiny ad will help:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic