Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (536)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Webstart Standalone  (Read 1976 times)
0 Members and 1 Guest are viewing this topic.
Offline kevglass

JGO Kernel


Medals: 121
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Posted 2003-08-10 08:10:15 »

Can you use webstart as a update system for standard clients? I mean, if the user downloads the install, could I use it to perform updates of the client software at startup..

Kev

Offline Athomas Goldberg

Junior Member




Grrrrrr...


« Reply #1 - Posted 2003-08-10 13:12:46 »

Yep.  It will even allow you to do incremental updates, so that you don't need to download the entire new client if only a few classes have changed.

Athomas Goldberg
Project Lead / Wildcard
Game Technologies Group
Sun Microsystems, Inc.
Offline kevglass

JGO Kernel


Medals: 121
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #2 - Posted 2003-08-10 13:25:09 »

Thanks, is there an explanation on how to use webstart when its not directly triggered from out of browser somewhere?

Kev

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Herkules

Senior Member




Friendly fire isn't friendly!


« Reply #3 - Posted 2003-08-10 19:02:01 »

On Windows, just double-click a JNLP file Smiley

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Offline kevglass

JGO Kernel


Medals: 121
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #4 - Posted 2003-08-10 19:04:23 »

Not quite what I meant, how can I progmatically start WebStart just before my apps runs to ensure its up to date?

Kev

Offline AndersDahlberg

Junior Member





« Reply #5 - Posted 2003-08-10 20:05:10 »

hmm, java web start will automagically update the client before it's run if it's not up to date (or am I missing something?).
Offline kevglass

JGO Kernel


Medals: 121
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #6 - Posted 2003-08-10 20:33:39 »

Only if you run the client/game from inside the webstart tool.

I want the user to be able to download an install. When they run the client/game from the command line I'd like the first thing it does is to go away and run the web start backend to update the jars before the actual program starts.

I don't want the user to have to have installed web start. I'd like to package the jars that build up web start as part as my app and have it hidden behind some sort of boot strap.

I know I could write an implementation of web start that worked this way, but I was hoping I could just utilise the web start jars.

Kev

Offline troggan

Junior Member




no guts no glory


« Reply #7 - Posted 2003-08-10 20:45:25 »

hm...i don't think that will be possible. webstart applications are placed in the webstart-cache folder.

if you want to use webstart for updating your app, you have to put it into the cache, start webstart, and copy the files back to the folder, where the user installed the game.

t's webstart OR installer, not both Sad.

(http://www.wannawork.de) - Will work for food
(http://tvbrowser.org) - Java EPG
Offline kevglass

JGO Kernel


Medals: 121
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #8 - Posted 2003-08-11 06:53:25 »

Sure the fact its in cache is just a parameter that the web start gui passes into the java..

Well, looks like I'm just going to have to write a standalone webstart app thats compatible, was just hoping not to have to..

Cheers all for responses,

Kev

Offline Athomas Goldberg

Junior Member




Grrrrrr...


« Reply #9 - Posted 2003-08-11 17:47:11 »

Ahh, now I understand.

The problem is that Sun's JNLP implementation is tied to WebStart so there's no way to use the former independent of the latter. That said, there are a number of alternative implementations of JNLP that don't use WebStart (or any other launcher for that matter) which you can use to programatically manage auto-updates of your app.

One place where this became essential (for me) was when I was doing some work with JXTA in a former life, and needed to automatically update the local instance (jars & native libs) of a remotely defined service. Without getting into too many off-topic details, I couldn't use WebStart because all this had to happen from within a running JXTA client, for services that also had to run inside that client.

I used OpenJNLP (http://openjnlp.nanode.org) in the JNLPLoader for JXTA and found it worked pretty well. It's open source, but It hasn't been updated since last December, so I'm not sure whether there's any new development happening.

Still, if you can live with launching your app from a .jnlp file, WebStart has much more complete support for JNLP than any other implementation so far.

Athomas Goldberg
Project Lead / Wildcard
Game Technologies Group
Sun Microsystems, Inc.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Mac_Systems

Junior Member




I love my Java


« Reply #10 - Posted 2003-09-17 23:25:32 »

Hi,

may you can code some kide of pre-client before starting the
"real" client. The pre-client will use the jnlp API to check
for updates. But this will make new problems i think.


- Jens

The Network is the Music
http://www.mac-systems.de
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

CogWheelz (14 views)
2014-07-30 21:08:39

Riven (21 views)
2014-07-29 18:09:19

Riven (14 views)
2014-07-29 18:08:52

Dwinin (12 views)
2014-07-29 10:59:34

E.R. Fleming (32 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (42 views)
2014-07-24 01:59:36

Riven (42 views)
2014-07-23 21:16:32

Riven (29 views)
2014-07-23 21:07:15

Riven (30 views)
2014-07-23 20:56:16
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!