This week's book giveaway is in the Testing forum.
We're giving away four copies of Data Structures the Fun Way: An Amusing Adventure with Coffee-Filled Examples and have Jeremy Kubica on-line!
See this thread for details.
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

JVM requirement on local machine

 
Ranch Hand
Posts: 386
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 24204
44
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 24204
44
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
look! it's a bird! it's a plane! It's .... a teeny tiny ad
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic