Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Running local Java applications from a web page

 
Ray Muirhead
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

Does anyone know how to run a local Java application from a web (intranet) page? The Java application itself is a wrapper that will run a user's selected diff utility, so needs permissions to execute applications on the user's local system (as far as I could tell this would rule out Java web start). The web page is in JSP, so client-side Javascript and server-side Java are both available.

Thank you!

Ray Muirhead
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java applications run on the client from a web page are called Applets. Usually these run in a "sand box" - so don't have permission to do the things you want. However if you sign the Applet, you can give it the permissions you need.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can also sign a Java Webstart application so that it has full access to the client machine.
 
Ray Muirhead
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ilja, that sounds like exactly what was needed!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic