13.07.2015 Views

Application Deployment Guide - GlassFish - Java

Application Deployment Guide - GlassFish - Java

Application Deployment Guide - GlassFish - Java

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Developing Clients Using the ACCTable 10–2JNLP File Fragment(Cont.) Defaulted JNLP File ContentDescriptionSpecifies the <strong>Java</strong> SE version or selected VM parametersettings.Table 10–3JNLP File FragmentMerged JNLP File ContentDescriptionYou can specify one or more of the os, arch, platform, andlocale attributes for the element. You canalso specify child elements; <strong>GlassFish</strong> Server provides nodefault children.You can specify one or more of the os, arch, platform, andlocale attributes for the element. You can alsospecify child elements; <strong>GlassFish</strong> Server provides nodefault children.Adds JAR files to be included in the application to the JARfiles provided by <strong>GlassFish</strong> Server.Adds native libraries to be included in the application.Each entry in a JAR listed in a element mustbe a native library for the correct platform. The full syntaxof the element lets the developer specify theplatform for that native library.Adds system properties to be included in the application tothe system properties defined by <strong>GlassFish</strong> Server.Specifies another custom JNLP file.Includes another custom JNLP file that specifies acomponent extension.Includes another custom JNLP file that specifies an installerextension.Using the Embeddable ACCYou can embed the ACC into your application client. If you place theas-install/lib/gf-client.jar file in your runtime classpath, your application createsthe ACC after your application code has started, then requests that the ACC start theapplication client portion. The basic model for coding is as follows:1. Create a builder object.2. Operate on the builder to configure the ACC.3. Obtain a new ACC instance from the builder.10-14 <strong>GlassFish</strong> Server Open Source Edition 4.0 <strong>Application</strong> Development <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!