{"id":303,"date":"2011-09-23T13:22:06","date_gmt":"2011-09-23T17:22:06","guid":{"rendered":"http:\/\/jausoft.com\/blog\/?p=303"},"modified":"2019-05-14T04:49:09","modified_gmt":"2019-05-14T08:49:09","slug":"jogamp-deployment-enhancements-automatic-loading-of-native-jars-appletapplication","status":"publish","type":"post","link":"https:\/\/jausoft.com\/blog\/2011\/09\/23\/jogamp-deployment-enhancements-automatic-loading-of-native-jars-appletapplication\/","title":{"rendered":"JogAmp Deployment Enhancements: Automatic loading of native JARs (Applet\/Application)"},"content":{"rendered":"<p>Currently implemented in modules GlueGen and JOGL. TODO: JOAL and JOCL.<\/p>\n<p><a href=\"http:\/\/jogamp.org\/deployment\/jogamp-next\/\">jogamp-next<\/a> points now to the signed beta build <a href=\"http:\/\/jogamp.org\/deployment\/archive\/master\/gluegen_410-joal_213-jogl_489-jocl_424-signed\/\">gluegen_410-joal_213-jogl_489-jocl_424-signed<\/a>.<\/p>\n<p>See how it (NApplet) <b>works online<\/b> on the new <a href=\"http:\/\/jogamp.org\/deployment\/jogamp-next\/jogl-test-applets.html\">JOGL Applet Test page<\/a>.<\/p>\n<p><b>Without<\/b> the need for using<\/p>\n<ul>\n<li>our Applet-Launcher<\/li>\n<li>the JNLP extension<\/li>\n<li>setting up the native library folder for applications<\/li>\n<\/ul>\n<p>we automatically  <!--more--><\/p>\n<ul>\n<li>verify all it&#8217;s certificates (for non applications)<\/li>\n<li>cache the JAR files native libraries<\/li>\n<li>use the cached native libraries<\/li>\n<\/ul>\n<p>As you can see in the documented html pages:<\/p>\n<ul>\n<li><a href=\"http:\/\/jogamp.org\/deployment\/jogamp-next\/jogl-applet-version-napplet.html\">JOGL Version NApplet<\/a><\/li>\n<li><a href=\"http:\/\/jogamp.org\/deployment\/jogamp-next\/jogl-applet-runner-newt-gears-normal-napplet.html\">NEWT Gears NApplet<\/a><\/li>\n<\/ul>\n<p>.. this simplifies the tag writing and removes the need to write your JNLP file.<\/p>\n<p>The native JAR download mechanism still benefits from the applet&#8217;s<br \/>\nnetwork cache mechanism, hence downloads the JAR only <\/p>\n<ul>\n<li>if it doesn&#8217;t exist, or<\/li>\n<li>if the server version is updated<\/li>\n<\/ul>\n<p>Of course, this causes a network connection but surely not a big deal<br \/>\nand more correct. Users can still use the JNLP mechanism of course<br \/>\nusing the JNLP tag:<\/p>\n<pre>\r\n  &lt;update check=\"background\" policy=\"always\"\/&gt;\r\n<\/pre>\n<p>Applications don&#8217;t need to worry about the system dependent way<br \/>\nof dropping and publish the native lib folder anymore.<br \/>\nApplications also load the native JAR file and use their native libs,<br \/>\njust deploy all JARs in the same folder &#8211; done.<\/p>\n<p>Git commits in this regard:<br \/>\n &#8211; GlueGen from <a href=\"http:\/\/jogamp.org\/git\/?p=gluegen.git;a=commit;h=f357a00e511f0049865392adecc4d042663da6e6\">f357a00e511f0049865392adecc4d042663da6e6<\/a> upto <a href=\"http:\/\/jogamp.org\/git\/?p=gluegen.git;a=commit;h=609e649443f900116039cda7a1bc7c9359b0242f\">609e649443f900116039cda7a1bc7c9359b0242f<\/a><\/p>\n<p> &#8211; JOGL from <a href=\"http:\/\/jogamp.org\/git\/?p=jogl.git;a=commit;h=ac358bd66878e63a370377d4c7f625ec5b1b9e31\">ac358bd66878e63a370377d4c7f625ec5b1b9e31<\/a> upto <a href=\"http:\/\/jogamp.org\/git\/?p=jogl.git;a=commit;h=424a5ecbd7575eb39343638696c19cd617577912\">424a5ecbd7575eb39343638696c19cd617577912<\/a><\/p>\n<p>This feature will be enabled in general for rc4 soon.<\/p>\n<p>Please reply w\/ your concerns and ideas etc,<br \/>\nso we can make this one work fine and secure for all.<\/p>\n<p>Cheers, Sven<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Currently implemented in modules GlueGen and JOGL. TODO: JOAL and JOCL. jogamp-next points now to the signed beta build gluegen_410-joal_213-jogl_489-jocl_424-signed. See how it (NApplet) works online on the new JOGL Applet Test page. Without the need for using our Applet-Launcher the JNLP extension setting up the native library folder for applications we automatically<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[7,3,8],"tags":[9,23,16,44,17,25,24],"class_list":["post-303","post","type-post","status-publish","format-standard","hentry","category-3d-opengl","category-computer-stuff","category-jogamp","tag-3d","tag-applet","tag-java","tag-jogamp","tag-opengl","tag-security","tag-web"],"_links":{"self":[{"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/posts\/303","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/comments?post=303"}],"version-history":[{"count":9,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/posts\/303\/revisions"}],"predecessor-version":[{"id":579,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/posts\/303\/revisions\/579"}],"wp:attachment":[{"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/media?parent=303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/categories?post=303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/tags?post=303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}