World Wind Forums

Go Back   World Wind Forums > WorldWind JAVA forums > Applications

Applications Discussion of applications that use WWJ

Reply
 
Thread Tools Display Modes
Old 05-15-2007, 05:49 AM   #1
patmurris
WWJ Consultant
 
patmurris's Avatar
 
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
patmurris is an unknown quantity at this point
Question Can WWJ run as an applet ?

I have read the word 'applet' a couple times, but havent seen any so far... is there a demo somewhere - like WW in a web page ?
__________________
My World Wind Java Blog & WW.net Plugins page
patmurris is offline   Reply With Quote
Old 05-15-2007, 11:59 AM   #2
TomServo
God. Root. What is difference?
 
TomServo's Avatar
 
Join Date: Sep 2004
Location: Eastern Pennsylvania
Posts: 2,847
TomServo
Default

Working on that...

There exist applet examples and documentation which weren't included in the initial early access SDK.

A brief summary starting from the SDK snapshot:

- Create an applet which uses the WorldWindowGLCanvas
- Deploy this applet using the JOGLAppletLauncher documented at
http://download.java.net/media/jogl/builds/nightly/javadoc_public/com/sun/op
engl/util/JOGLAppletLauncher.html

- The archive tag of the applet will need to contain jogl.jar,
gluegen-rt.jar, worldwind.jar, and the jar containing the applet
- It's possible the applet may need to be signed right now, although this
restriction will be lifted in the future

-Ken
__________________


Earth is Square blog

PUBLIC NOTICE AS REQUIRED BY LAW: Any use of this forum post, in any manner whatsoever, will increase the amount of disorder in the universe. Although no liability is implied herein, the consumer is warned that this process will ultimately lead to the heat death of the universe.
TomServo is offline   Reply With Quote
Old 07-01-2007, 06:15 AM   #3
patmurris
WWJ Consultant
 
patmurris's Avatar
 
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
patmurris is an unknown quantity at this point
Default

It appears the boys from Toulouse (pred and vash) managed to have a working WWJ applet online some days ago on this page. Loading can take some time, be patient.



More about it here and here.
__________________
My World Wind Java Blog & WW.net Plugins page
patmurris is offline   Reply With Quote
Old 07-02-2007, 06:53 AM   #4
Lakshmi_Rajan
Junior Member
 
Join Date: Jul 2007
Posts: 2
Lakshmi_Rajan is on a distinguished road
Default

how to call servlet from applet
Lakshmi_Rajan is offline   Reply With Quote
Old 07-02-2007, 06:55 AM   #5
Lakshmi_Rajan
Junior Member
 
Join Date: Jul 2007
Posts: 2
Lakshmi_Rajan is on a distinguished road
Default Cookies

Sample Program in cookies and some example.
Lakshmi_Rajan is offline   Reply With Quote
Old 07-02-2007, 05:51 PM   #6
jp09
Senior Member
 
Join Date: Jun 2005
Location: France
Posts: 167
jp09
Default

Hi,
I've added my own contribution, proposing an applet with high resolution aerial images (1m) : there is just, for the moment, a small sample, but it's beautiful yet !
http://www.ige.fr/3d/WW/WWJ.php
We may add more data soon...

NB : sorry, the page is in french only for the moment. But the images stay the same...
jp09 is offline   Reply With Quote
Old 07-02-2007, 06:15 PM   #7
patmurris
WWJ Consultant
 
patmurris's Avatar
 
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
patmurris is an unknown quantity at this point
Default

Very nice images
EDIT: the second time i loaded the applet page, a lot of the imagery came out white... ?!

Would you be willing to post some basic code to setup WWJ as an applet. I'm sure many will be interested to have a base template.

BTW: there may be a way to reduce the download the first time, by using a single lower res image layer instead of the BM quadtile set level 0 - which accounts for 10+ megs.
__________________
My World Wind Java Blog & WW.net Plugins page

Last edited by patmurris; 07-02-2007 at 07:32 PM.
patmurris is offline   Reply With Quote
Old 07-02-2007, 09:43 PM   #8
jp09
Senior Member
 
Join Date: Jun 2005
Location: France
Posts: 167
jp09
Default WWJ as an applet

Quote:
Originally Posted by patmurris View Post
Very nice images
EDIT: the second time i loaded the applet page, a lot of the imagery came out white... ?!
Yes. I believe it is one of WWJ's bugs. I've always had this, even with the NASA's WWJ demo. From time to time...
Quote:
Originally Posted by patmurris View Post
Would you be willing to post some basic code to setup WWJ as an applet. I'm sure many will be interested to have a base template.
Of course. You may have a look at http://forum.worldwindcentral.com/showthread.php?t=9598 ,
i took it from ciccio's code.The most delicate, for me, was the part of exporting/signing the jar files, 'cause i'm a newbie to Java (last time i wrote java was 10 years ago...)
Had you got pbs writing an applet ?
Quote:
Originally Posted by patmurris View Post
BTW: there may be a way to reduce the download the first time, by using a single lower res image layer instead of the BM quadtile set level 0 - which accounts for 10+ megs.
jp09 is offline   Reply With Quote
Old 07-03-2007, 06:25 PM   #9
tag
WWJ Technical Manager
 
Join Date: May 2007
Location: Seattle
Posts: 1,031
tag is on a distinguished road
Default

We have already done a lot of work on WWJ applets. But there are significant problems to address to enable reliable usage of WWJ in an applet. Some of the problems are ours and some are Sun's. The most serious is memory usage: We use a lot and applets are restricted to a very small amount. Fixing this requires us to significantly reduce our Java-heap memory usage, or for Sun to provide the ability for applets to set the max heap size. They are exploring the latter, and it is on our list of priorities to do the former.

Other serious problems are multi-window usage and what I call "the restart problem," in which the OpenGL context is blown away when what would seem to be innocuous actions like tabbed or docked display are performed. These are planned to be addressed at least in part by an OpenGL resource cache whose requirements and design currently exist only among neurons.

Addressing both of these problems is high on the priority list, and I'm hoping that we'll get to them immediately after the upcoming release. In the meantime, it's exciting to see the demand. And we'll certainly try to benefit from the work you and others are doing in this area.
tag is offline   Reply With Quote
Old 07-03-2007, 06:56 PM   #10
tag
WWJ Technical Manager
 
Join Date: May 2007
Location: Seattle
Posts: 1,031
tag is on a distinguished road
Default

I neglected to say that the first problem you are likely to encounter with a WWJ applet is progressively decreasing performance after a short time, caused by heap thrashing. Eventually the applet will become fully unresponsive. We've already moved a lot of memory usage out of the heap, but there's more to do.
tag is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
WWJ Early Access Release 0.2.0 now available tag WWJ Release Announcements 48 09-19-2007 09:52 PM
Does Demis WorldMap Add-Ons Run on WW 1.4? penelep Add-ons & Scripts 2 03-12-2007 12:48 AM
windowsxp won't load and run 1.3.4? Backyard Bug Reports 3 08-01-2006 07:52 PM
viewing blue marble with pano applet Roto-Photo Developers' Corner 0 03-26-2005 09:36 PM


All times are GMT +1. The time now is 05:20 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.