24.08.2015 Views

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DeploymentThe <strong>Author</strong> Component Java API allows you to use it in your Java application or as a Java applet. The JavaDoc for theAPI can be found in the sample project in the lib/apiSrc.zip archive. The sample project also comes with Javasources (ro/sync/ecss/samples/<strong>Author</strong>ComponentSample.java) demonstrating how the component iscreated, licensed and used in a Java application.Web DeploymentThe <strong>Author</strong> Component can be deployed as a Java Applet using the new Applet with JNLP Java technology, availablein Oracle (Sun) Java JRE version 1.6 update 10 or newer.The sample project demonstrates how the <strong>Author</strong> component can be distributed as an applet.Here are the main steps you need to follow in order to deploy the <strong>Author</strong> component as a Java Applet:• Unpack the sample project archive and look for Java sources of the sample Applet implementation. They can becustomized to fit your requirements.• The default.properties configuration file must first be edited to specify your custom certificate informationused to sign the applet libraries. You also have to specify the code base from where the applet will be downloaded.• You can look inside the author-component-dita.html and author-component-dita.js sampleWeb resources to see how the applet is embedded in the page and how it can be controlled using Javascript (to setand get <strong>XML</strong> content from it).• The sample Applet author-component-dita.jnlp JNLP file can be edited to add more libraries. The packedframeworks and options are delivered using the JNLP file as JAR archives:<strong>Author</strong> Developer Guide | 260• The sample frameworks and options JAR archives can be found in the resources directory.• Use the build.xml ANT build file to pack the component. The resulting applet distribution is copied in the distdirectory. From this on, you can copy the applet files on your web server.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!