• Post Reply Bookmark Topic Watch Topic
  • New Topic

JVM requirement on local machine  RSS feed

 
nirjari patel
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 ?
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • 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
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!