users@jaxb.java.net

RE: Java Web Start

From: Fabien TISON <ftison_at_generix.fr>
Date: Tue, 27 Jul 2004 08:35:57 +0200

We've done this. To achieve this purpose, we have to write two different
jnlp files.

This one for jaxb, called jaxb.jnlp :
<?xml version="1.0" encoding="utf-8"?>
 <jnlp codebase="http://localhost:8888/jaxb/" href="jaxb.jnlp">
    <information>
        <title>Jaxb</title>
        <vendor>Sun Microsystems, Inc.</vendor>
    </information>
    <resources>
        <jar href="relaxngDatatype.jar"/>
        <jar href="xsdlib.jar"/>
        <jar href="namespace.jar"/>
        <jar href="jax-qname.jar"/>
        <jar href="jaxb-api.jar"/>
        <jar href="jaxb-impl.jar"/>
        <jar href="jaxb-libs.jar"/>
    </resources>
    <component-desc/>
</jnlp>

And a second one for your application :
<?xml version="1.0" encoding="utf-8"?>
  <jnlp
  codebase="http://localhost:8888/tools/"
  href="confeditor.jnlp">
     <application-desc main-class="fr.mainpackage.MyApp"/>
    <information>
       <title>Demo JNLP</title>
       <vendor>GnX</vendor>
        <homepage href="http://localhost:8888/tools/"/>
       <description>Tooling</description>
        <icon href="myIcon.jpg"/>
     </information>
   <security>
      <all-permissions/>
    </security>
     <resources>
       <j2se version="1.4.2"
href="http://java.sun.com/products/autodl/j2se"/>
        <jar href="myJar.jar"/>
          <jar href="ressources.jar"/>
        <jar href="other.jar"/>
        <jar href="xmlparserv2.jar"/>
        <extension name="Jaxb" href="jaxb.jnlp"/>
     </resources>
</jnlp>

Important : note the "extension" tag in the second jnlp file to add
jaxb.jnlp in your app.

There are two files because we can't mix two different signatures in the
same jnlp file.

Best regards
Fabien TISON
Java Development
www.generix.fr


-----Message d'origine-----
De : Paul Campbell [mailto:pwc_at_u.washington.edu]
Envoyé : mardi 27 juillet 2004 02:29
À : users_at_jaxb.dev.java.net
Objet : Java Web Start

Is there any reason that I should not be able to use
JAXB in a Java Web Start application ?

Is there an example that shows how this has been done?




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net