world wind java sdk - alternative to google
Forum » Help / General support requests » world wind java sdk - alternative to google
Started by: splashpointsplashpoint
On: 1256915963|%e %b %Y, %H:%M %Z|agohover
Number of posts: 12
rss icon RSS: New posts
Summary:
i'm exploring both google map and ww sdk. the sdk appears to provide more flexibility and completely open-source
how to install a java sdk in wikidot
splashpointsplashpoint 1256915963|%e %b %Y, %H:%M %Z|agohover

i'm trying to load an sdk in my wiki and I'm not sure where to start. Is there a way to load an sdk to wikidot? Thank You.

last edited on 1257211348|%e %b %Y, %H:%M %Z|agohover by splashpoint + show more
unfold how to install a java sdk in wikidot by splashpointsplashpoint, 1256915963|%e %b %Y, %H:%M %Z|agohover
Re: world wind java sdk - alternative to google
splashpointsplashpoint 1257211083|%e %b %Y, %H:%M %Z|agohover

Is there a way to load an sdk to wikidot? Thank You.

unfold Re: world wind java sdk - alternative to google by splashpointsplashpoint, 1257211083|%e %b %Y, %H:%M %Z|agohover
Re: world wind java sdk - alternative to google
Ed JohnsonEd Johnson 1257216861|%e %b %Y, %H:%M %Z|agohover

You're being pretty cryptic about what you're really looking for. Can you wax poetic1 and tell us what you're looking to accomplish?

I think you're talking about NASA WorldWind, which I just spent a few minutes exploring. Looks pretty cool! (but my poor old laptop I'm on right now doesn't have the graphics horsepower to run any demos).

If I understand the SDK side of this, I think you'll need to host the server software somewhere other than Wikidot. Wouldn't you want to load the SDK on your own PC/server and then make the maps you develop available online. Admittedly, I don't understand how this package works from a development standpoint, but I would think you'd just want to host the *.jnlp files here.

Am I missing something?

-Ed

last edited on 1257217012|%e %b %Y, %H:%M %Z|agohover by Ed Johnson + show more
unfold Re: world wind java sdk - alternative to google by Ed JohnsonEd Johnson, 1257216861|%e %b %Y, %H:%M %Z|agohover
Re: world wind java sdk - alternative to google
splashpointsplashpoint 1257253019|%e %b %Y, %H:%M %Z|agohover

You phrased it pretty much exactly what I'm trying to do. Instead of using google map to display my maps and application, I prefer to use this NASA WorldWind Java instead. But now I need to know how to manage the codes that goes with it. In order to run the application, others have suggested using Eclipse (http://worldwindcentral.com/wiki/WWJava_in_Eclipse) to load the sdk. Will Eclipse allow me to access my maps oline and render it onto my wiki page? As you have suggested, I will likely need to find a service (hopefully also a freebee) that can host the SDK. Any suggestion on that also?

last edited on 1257253197|%e %b %Y, %H:%M %Z|agohover by splashpoint + show more
unfold Re: world wind java sdk - alternative to google by splashpointsplashpoint, 1257253019|%e %b %Y, %H:%M %Z|agohover
Re: world wind java sdk - alternative to google
splashpointsplashpoint 1257255508|%e %b %Y, %H:%M %Z|agohover

Ed - You are right about the jnlp's that are hosted here in the wiki and launced using Java Web Start. Here are demos written by others to illustrate the capabilities of the SDK. It seems like we have two possible scenarios: 1 - Wiki provides simply the link to the jnlp's residing on a Server hosted elsewhere and 2 - the JNLP code and file resides here in the wiki and makes the call to the Server (this part I'm not sure what this means to make it work).

When an application is launched it opens to a new window. Is it possible to iframe the jnlp to open within the same page?

http://worldwind.arc.nasa.gov/java/demos/ApplicationTemplate.jnlp
http://worldwind.arc.nasa.gov/java/demos/WWJDemo.jnlp
http://worldwind.arc.nasa.gov/java/demos/WMSLayerManager.jnlp
http://worldwind.arc.nasa.gov/java/demos/ScankortDenmark.jnlp
http://worldwind.arc.nasa.gov/java/demos/TerrainProfiler.jnlp
http://worldwind.arc.nasa.gov/java/demos/Annotations.jnlp
http://worldwind.arc.nasa.gov/java/demos/FlatWorldEarthquakes.jnlp
http://worldwind.arc.nasa.gov/java/demos/LineBuilder.jnlp
http://worldwind.arc.nasa.gov/java/demos/DraggingShapes.jnlp
http://worldwind.arc.nasa.gov/java/demos/SurfaceObjects.jnlp

last edited on 1257256240|%e %b %Y, %H:%M %Z|agohover by splashpoint + show more
unfold Re: world wind java sdk - alternative to google by splashpointsplashpoint, 1257255508|%e %b %Y, %H:%M %Z|agohover
Re: world wind java sdk - alternative to google
Ed JohnsonEd Johnson 1257284416|%e %b %Y, %H:%M %Z|agohover

Since the Java Web Start application runs on the client, I'm not sure how you can embed it in a web page. Even the demo files I looked at from NASA open in a separate application on my computer. Are you aware of other methods to make the maps run inside a browser window? Have you seen other examples that do this?

Sorry, I haven't spent enough time with this to learn how to use the SDK or what it's requirements are, so can't offer any real help at this point. I'll try to do some research this weekend and see if I can understand it better.

I have seen what this software can do on a machine with proper graphics horsepower now and can confirm that it is really, really cool!

-Ed

unfold Re: world wind java sdk - alternative to google by Ed JohnsonEd Johnson, 1257284416|%e %b %Y, %H:%M %Z|agohover
Re: world wind java sdk - alternative to google
splashpointsplashpoint 1257304279|%e %b %Y, %H:%M %Z|agohover

Here is an example of the map running inside a browser:

http://worldwind.arc.nasa.gov/java/demos/index_applet_text_and_links.html

I would think we should be able to run a page like this in our community wikis.

http://worldwind.arc.nasa.gov/java/applet/WWJApplet.java.txt «< Example of Applet text

From the applet text, is this the code that defines the map?:

<applet id="wwjApplet" mayscript code="org.jdesktop.applet.util.JNLPAppletLauncher" width=600 height=380
archive="applet-launcher.jar, worldwind.jar, WWJApplet.jar, http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jar, http://download.java.net/media/gluegen/webstart/gluegen-rt.jar">
<param name="jnlp_href" value="WWJApplet.jnlp">
<param name="codebase_lookup" value="false">
<param name="subapplet.classname" value="gov.nasa.worldwind.examples.applet.WWJApplet">
<param name="subapplet.displayname" value="WWJ Applet">
<param name="noddraw.check" value="true">

<param name="progressbar" value="true">
<param name="jnlpNumExtensions" value="1">
<param name="jnlpExtension1" value="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jnlp">
</applet>

last edited on 1257307777|%e %b %Y, %H:%M %Z|agohover by splashpoint + show more
unfold Re: world wind java sdk - alternative to google by splashpointsplashpoint, 1257304279|%e %b %Y, %H:%M %Z|agohover
Re: world wind java sdk - alternative to google
graphmasturgraphmastur 1257292818|%e %b %Y, %H:%M %Z|agohover

Okay, so java web start has to be run on the client machine. With applets, or the java code embedded in a web page, you can only access the server it is hosted on. With web start, that is different. (I think, although I haven't done much web start. I usually program to be client side, or on the web page. Web start is kinda in-between those two, in my opinion.)

I would have to look into the files further, but most likely, you would just provide a link to where the files are. Java web start would take care of the rest.

If you need any more help, just ask!


"But sanctify the Lord God in your hearts, and always be ready to give a defense to everyone who asks you a reason for the hope that is in you, with meekness and fear;" ~ 1 Peter 3:16

unfold Re: world wind java sdk - alternative to google by graphmasturgraphmastur, 1257292818|%e %b %Y, %H:%M %Z|agohover
Re: world wind java sdk - interesting read
Ed JohnsonEd Johnson 1257296777|%e %b %Y, %H:%M %Z|agohover

This page really explains World Wind very well:
http://java.sun.com/developer/technicalArticles/javase/worldwind/

To whet your appetite:

World Wind is not a copy of Google Earth, nor is it in competition with that software. Both NASA World Wind and Google Earth are sophisticated programs with amazing feature sets, and each has features that the other would benefit from.

You can deploy World Wind within an application with Java Web Start software, or you can deploy it as an applet through the browser. World Wind has eight packages, and more will be available in the future…

-Ed

unfold Re: world wind java sdk - interesting read by Ed JohnsonEd Johnson, 1257296777|%e %b %Y, %H:%M %Z|agohover
Re: world wind java sdk - alternative to google
splashpointsplashpoint 1257301289|%e %b %Y, %H:%M %Z|agohover

I'm looking at this Free web hosting service if I can load the WW Java Server software. I've inquired the host if they have the necessary back end to support the SDK and I'm hoping I'll get an affirmative response shortly. If so, then I could run the Server and perhaps connect it to the MySQL server for managing geospatial data.

http://members.000webhost.com/login.php

Domain splashpoint.comyr.com
Bandwidth 100000 MB (100GB)
Home Root /home/a4189125
Server Name server24.000webhost.com
IP Address 216.108.235.104
Apache ver. 2.2.13 (Unix)
PHP version 5.2.*
MySQL ver. 5.0.81-community

unfold Re: world wind java sdk - alternative to google by splashpointsplashpoint, 1257301289|%e %b %Y, %H:%M %Z|agohover
Re: world wind java sdk - alternative to google
splashpointsplashpoint 1257343008|%e %b %Y, %H:%M %Z|agohover

Response from 000webhost is negative:
Our servers support Javascript, but Java applets/servlets (or simply JSP) are not supported here.

I think the resources we need is something like this: http://www.dailyrazor.com/java/shared_tomcat.php
wikidot.com should provide support for applets/servelets.

unfold Re: world wind java sdk - alternative to google by splashpointsplashpoint, 1257343008|%e %b %Y, %H:%M %Z|agohover
Re: world wind java sdk - alternative to google
splashpointsplashpoint 1257303161|%e %b %Y, %H:%M %Z|agohover

I found this one as one process to load and run an applet on the wiki. http://community.wikidot.com/wishlist:73
This is now beyond me to follow. Can someone follow the instruction and make the following worldwind demo works?

<applet code="com.sun.opengl.util.JOGLAppletLauncher"
width=400
height=260
codebase="http://www.tomgaskins.net/applet"
archive="jogl.jar,gluegen-rt.jar,jogl-demos.jar">
<param name="subapplet.classname"
VALUE="worldwinddemo.Applet1Up">
<param name="subapplet.displayname"
VALUE="WorldWind Applet Demo">

<param name="progressbar" value="true">

<param name="cache_archive"
VALUE="jogl.jar,gluegen-rt.jar,Applet1Up.jar">
<param name="cache_archive_ex"
VALUE="jogl.jar;preload,gluegen-rt.jar;
preload,Applet1Up;preload">
</applet>

unfold Re: world wind java sdk - alternative to google by splashpointsplashpoint, 1257303161|%e %b %Y, %H:%M %Z|agohover
New post

Bookmark and Share

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.