aspose file tools*
The moose likes JNLP and Web Start and the fly likes Embedding JWS and Applets with JOGL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Embedding JWS and Applets with JOGL" Watch "Embedding JWS and Applets with JOGL" New topic
Author

Embedding JWS and Applets with JOGL

Leo Hassaine
Greenhorn

Joined: Aug 02, 2010
Posts: 25
I have managed to get JOGL working in a browser through using Java Web Start and a JNLP file.

My question is as follows: Is there anyway to embed a JWS program into a web page, similar to how an applet is embedded.

If not, and an applet is the only way forward, how would you go about deploying a JOGL application as an applet, and how would you provide the necessary security permissions (to read and write local files, which is relatively easy using just a JNLP file)

Hope this makes sense!
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
No, JWS apps do not run inside web pages, only applets do. The way to deploy applets using JOGL is via JNLPAppletLauncher, to which I've pointed you before.

Any necessary permissions would be given by signing the applet; see HowCanAnAppletReadFilesOnTheLocalFileSystem for details.
Leo Hassaine
Greenhorn

Joined: Aug 02, 2010
Posts: 25
Thanks again Lester, sorry for the repeated material from my last post.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Embedding JWS and Applets with JOGL