• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

jre when accessing java war application

 
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

does my client need a Java Runtime Environment when the client wants to access my java web application (which is deployed as WAR in a tomcat-server).

When not, why or when does my client needs a JRE ?
 
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What do you mean by "client"? Customer or end-user? Because you have said that you have deployed a WAR to Tomcat, I assume you mean "end-user".

To "access" the application from a web browser, your client will probably not need a JRE installed on their client unless your application needs to use Java in the client browser (e.g. Java applets). Modern web applications use a lot of JavaScript, but that has nothing to do with Java and support is built into the browser itself (e.g. FireFox using TraceMonkey).

If your application is not accessed via a web browser, but some other application (e.g. an application using services exposed by your web application) then the answer will depend on the language used for that application. As you have asked in the JSF forum, I assume your client will be using a browser.

HTH

J.
 
nimo frey
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello,

my clients access the application from a web browser, so no jre is required (i have no applets).

thank you.
 
Saloon Keeper
Posts: 28127
198
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You didn't actually mention JSF, but it doesn't matter. Unless you're executing client-side Java code (applets), the client computer does not need any Java JRE. The various Java server frameworks (raw servlet/JSP, Struts, JSF, and so forth) build HTML and send that to the client. There's no Java code sent to the client, so no need to have a client-side JRE.
 
"I know this defies the law of gravity... but I never studied law." -B. Bunny Defiant tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic