🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #235

Re: Help with Multi Jar Files

#235
From: IchBin
Date: Tue, 17 Jan 2006 08:53
68 lines
4363 bytes
Wayne Gibson wrote:
> Hi,
> thanks for the information..
> 
> But isn't Java Web Start used for deploying Standalone Java Applications?
> I would love to be able to use an installer, but I have to cater for users 
> that aren't able to install applications on their machines.
> So the Jar file is the only option :(
> 
> Also I have write it with the Java 1.1 jdk in mind.
> 
> Any other Ideas?
> 
> Wayne 
> 
> 
No, actually Java Web Start does support the download of Applets. In 
fact it is perfect for your situation. It will present a slash screen 
and displays a progress bar while it downloads your applet and then 
invokes it.

The only thing not sure about the 1.1 jdk requirement.

*The Applet-Desc Element*
Java Web Start has support for launching Java Applets. This support 
provides easy migration of existing code to Java Web Start.

An Applet is launched using the applet-desc element instead of the 
application-desc element. For example:

   <applet-desc
       documentBase="http://..."
       name="TimePilot"
       main-class="TimePilot.TimePilotApp"
       width="527"
       height="428">
     <param name="key1" value="value1"/>
     <param name="key2" value="value2"/>
   </applet-desc>

The JAR files that make up the Applet are described using the resources 
element as for applications. The documentBase must be provided 
explicitly since a JNLP file is not embedded in an HTML page. The rest 
of the attributes correspond to the respective HTML applet tag elements.

The main-class attribute is used instead of the code attribute.  The 
main-class attribute is assigned the name of the Applet class (without 
the .class extension).  This attribute can be omitted if the Applet 
class can be found from the Main-Class manifest entry in the main JAR file.

Note: Applets must be packaged in JAR files in order to work with Java 
Web Start.


Look at this
http://java.sun.com/products/javawebstart/1.2/docs/developersguide.html

Also http://mindprod.com/jgloss/javawebstart.html

-- 

Thanks in Advance...
IchBin, Pocono Lake, Pa, USA 
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor,  Regular Guy (1952-)
Technical Details
Message-ID: <86-dnSEJ24YXLVHeUSdV9g@ptd.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.ptd.net!news.ptd.net.POSTED!not-for-mail
References: <dq7o6k$sn5$1$8300dec7@news.demon.co.uk> <-sudnddGFYsa5VreRVn-vA@comcast.com> <dq8b1l$512$1$830fa795@news.demon.co.uk> <rh1hs156mm8v24ll7volpj14ok22l66tpk@4ax.com> <dqi8e5$1ss$1$8300dec7@news.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1089d0,d8a06cdf4f06b27f
X-Google-Thread: f74b3,d8a06cdf4f06b27f
X-Google-Thread: 10fd6d,d8a06cdf4f06b27f
X-Google-Thread: 113ae9,d8a06cdf4f06b27f
X-Google-Thread: 10a146,d8a06cdf4f06b27f
X-Google-Attributes: gid1089d0,gidf74b3,gid10fd6d,gid113ae9,gid10a146,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.ptd.net!news.ptd.net.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 17 Jan 2006 02:53:29 -0600
Date: Tue, 17 Jan 2006 03:53:32 -0500
From: IchBin <weconsul@ptd.net>
Reply-To:  weconsul@ptd.net
Organization: W.E. Consultants
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060115 SeaMonkey/1.5a
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.api,borland.public.jbuilder.java.language,comp.lang.java,comp.lang.java.api,comp.lang.java.gui,comp.lang.java.help,comp.lang.java.programmer
Subject: Re: Help with Multi Jar Files
References: <dq7o6k$sn5$1$8300dec7@news.demon.co.uk> <-sudnddGFYsa5VreRVn-vA@comcast.com> <dq8b1l$512$1$830fa795@news.demon.co.uk> <rh1hs156mm8v24ll7volpj14ok22l66tpk@4ax.com> <dqi8e5$1ss$1$8300dec7@news.demon.co.uk>
In-Reply-To: <dqi8e5$1ss$1$8300dec7@news.demon.co.uk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Antivirus: avast! (VPS 0603-1, 01/16/2006), Outbound message
X-Antivirus-Status: Clean
Message-ID: <86-dnSEJ24YXLVHeUSdV9g@ptd.net>
Lines: 68
NNTP-Posting-Host: 24.229.235.63
X-Trace: sv3-tIJX8pwAjyk1Zn4JPhZ42pyHaD+XfiX3BoUVCxtpYxXYPm1A09NPG5y1EgcM7HEpW0+wVAQCoveIadh!UPJS2S+HvU/PGccQm8XXFYnNwPR7VFvPIlLWg6eAakTd61pleJLQBGqSVtnt4gRXup42ku6H
X-Complaints-To: abuse@ptd.net
X-DMCA-Complaints-To: abuse@ptd.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.32