Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (408)
games submitted by our members
Games in WIP (293)
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  
  Why WebStart and not Apllet?  (Read 2570 times)
0 Members and 1 Guest are viewing this topic.
Offline m77

Junior Member





« Posted 2008-05-22 18:41:06 »

I'm lame in WebStart. So what are adventages?

Offline Eli Delventhal
« League of Dukes »

JGO Kernel


Medals: 39
Projects: 12


Game Engineer


« Reply #1 - Posted 2008-05-22 19:14:38 »

Speed. Control. Non-reliance on a web browser.

See my work:
OTC Software
Offline noblemaster

JGO Ninja


Medals: 15
Projects: 7


Age of Conquest makes your day!


« Reply #2 - Posted 2008-05-22 20:32:55 »

Why not setup your project, so you can deploy both as Java Webstart + Java Applet.

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

Junior Member





« Reply #3 - Posted 2008-05-22 20:54:57 »

Speed. Control. Non-reliance on a web browser.

Tell me more about speed.

Offline fletchergames

Senior Member





« Reply #4 - Posted 2008-05-23 18:55:57 »

When you use WebStart, your program runs as an application rather than an applet.

I don't know all the details, but applets are going to be slower because there's an extra layer: the browser.  Also, I believe you can take advantage of the hardware better when you put your application in full-screen exclusive mode, which you can't do with an applet.  There may be other speed benefits as well.
Offline ewjordan

Junior Member





« Reply #5 - Posted 2008-05-23 19:57:53 »

I don't know about a tangible speed difference between WebStart and applets, but stability is a big issue: applets crash all the time and they hang browsers (if not permanently, at least while the applet is downloading, which can take a while).  Of course, WebStart is kind of annoying to a lot of users, and makes them click a security box.  Also WebStart breaks you out of the browser, which might mess with an ad-supported revenue model - perhaps if some ad network starts allowing in-game Java ads this will change, but I fear the market is a bit too small for that to be much of a priority.
Offline bienator

Senior Member




OutOfCoffeeException


« Reply #6 - Posted 2008-05-23 20:16:19 »

there is no noticeable speed difference and with java 6 update 10 applets will not freeze any more the browser since they run in an separate process. (this was not only java's problem remember starting acrobat reader in a tab? The chances where high that you crash the browser if you've done that on low bandwidth machines)

Ken's J1 Session is a must:
http://news.zdnet.com/2422-13568_22-200560.html

Offline Eli Delventhal
« League of Dukes »

JGO Kernel


Medals: 39
Projects: 12


Game Engineer


« Reply #7 - Posted 2008-06-05 09:34:54 »

So basically it seems that the only real detriment is that you can't use full screen mode, which can really speed up rendering and free up more RAM for your game. Most indie projects probably won't care about this, however.

See my work:
OTC Software
Offline CaptainJester

JGO Knight


Medals: 10
Projects: 2


Make it work; make it better.


« Reply #8 - Posted 2008-06-05 14:02:46 »

I don't know about a tangible speed difference between WebStart and applets, but stability is a big issue: applets crash all the time and they hang browsers (if not permanently, at least while the applet is downloading, which can take a while).  Of course, WebStart is kind of annoying to a lot of users, and makes them click a security box.  Also WebStart breaks you out of the browser, which might mess with an ad-supported revenue model - perhaps if some ad network starts allowing in-game Java ads this will change, but I fear the market is a bit too small for that to be much of a priority.

You only get the security box for a signed application in WebStart.  It is the same with applets.

Offline gouessej

JGO Ninja


Medals: 33
Projects: 1


TUER


« Reply #9 - Posted 2008-06-05 21:29:33 »

So basically it seems that the only real detriment is that you can't use full screen mode, which can really speed up rendering and free up more RAM for your game. Most indie projects probably won't care about this, however.
That's wrong. Exclusive fullscreen mode doesn't speed up rendering significantly, only a very little bit. I did the test with TUER under Microsoft Windows NT 2000 and there was no difference of performance, the same under Vista.

Games published by our own members! Check 'em out!
Try the Free Demo of Droid Assault
Offline trembovetski

Senior Member




If only I knew what I'm talking about!


« Reply #10 - Posted 2008-06-06 00:51:48 »

That's wrong. Exclusive fullscreen mode doesn't speed up rendering significantly, only a very little bit. I did the test with TUER under Microsoft Windows NT 2000 and there was no difference of performance, the same under Vista.

That depends.. In 6uX (where X < 10) on windows in full screen mode Direct3D may be used for
rendering (as opposed to DirectX, which is the default). It won't make much of a difference
if the D3D pipeline couldn't be enabled.

In 6u10 if the new D3D pipeline can be enabled at all it is enabled in both windowed
and full screen modes. If it is enabled, you may see some difference in fs mode
just because there are less restrictions on what can be done in FS.

Dmitri
Java2D Team
Offline cylab

JGO Knight


Medals: 30



« Reply #11 - Posted 2008-06-06 16:34:15 »

That's wrong. Exclusive fullscreen mode doesn't speed up rendering significantly, only a very little bit. I did the test with TUER under Microsoft Windows NT 2000 and there was no difference of performance, the same under Vista.

With FSEM you afaik get the chance to choose your resolution and rendering on a lower res than 1920x1200 will surely speed up things Wink

Mathias - I Know What [you] Did Last Summer!
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars and Titan!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (119 views)
2013-05-17 21:29:12

alaslipknot (126 views)
2013-05-16 21:24:48

gouessej (157 views)
2013-05-16 00:53:38

gouessej (147 views)
2013-05-16 00:17:58

theagentd (162 views)
2013-05-15 15:01:13

theagentd (147 views)
2013-05-15 15:00:54

StreetDoggy (191 views)
2013-05-14 15:56:26

kutucuk (215 views)
2013-05-12 17:10:36

kutucuk (214 views)
2013-05-12 15:36:09

UnluckyDevil (217 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.118 seconds with 20 queries.