worldwind java documentation and set up instructions - java

I am trying to understand NASA world wind java application. The developer guide in the website is not loading saying server down. Anywhere I can get the developer's guide for the java application. If possible, the setup instructions would be helpful as well.

Developer guide for WorldWindJava is hosted on https://goworldwind.org (which seems it was unavailable temporarily). Link mentioned by you actually gets its content for developer guide tab from https://goworldwind.org. It is now available: https://worldwind.arc.nasa.gov/index.html?root=java&javatopic=guide

Related

Java Google Cloud Endpoints tutorial api not appearing in viewer

I'm just starting to learn endpoints so I am following along with the Java tutorial on the app engine website. I'm writing the get method here but at the part where I run the server and visit http://localhost:8080/_ah/api/explorer nothing shows up. It says that the Dev App Server is running fine and I have copied and pasted the code directly. Where do I start finding out what is wrong? Thanks
Edit: It also seems to not be showing me the api when I use the eclipse plugin to auto generate the backend.
did you try the tic tac toe example from Google? I had the same issue. However, for me it was patience, after a minute or 2, the API showed up.
Try this: http://localhost:8080/_ah/api/discovery/v1/apis
I also got the same problem when I was following the official tutorial. Later I found the answer from here: RESTful CRUD APIs with AppEngine, Cloud Endpoints and Dart code generation

Google AppEngine java.net.Socket is restricted error

I'm using Quercus/PHP on AppEngine. When I run a simple script with file_get_contents($url); I get an error:
java.lang.NoClassDefFoundError: java.net.Socket is a restricted class.
Please see the Google App Engine developer's guide for more details.
I've googled and although I find that other's have run into the same error, but the cause seems the vary. What do you think is cousing this error for me?
I'm using the latest AppEngine Java SDK, and the latest Quercus.
olivierlemasle is right, but here is the solution that I found after some more searching; in the comments section, user "Phil" recommend:
import java.net.URL;
define('URLFetchServiceFactory', new Java('com.google.appengine.api.urlfetch.URLFetchServiceFactory'));
$data = URLFetchServiceFactory->getURLFetchService()->fetch(new URL($url))->getContent();
Tested, and it worked!
When using Google AppEngine/Java, you don't really have access to a complete JVM: your applications run in a restricted sandbox. See documentation here :
https://developers.google.com/appengine/docs/java/runtime?hl=en#The_Sandbox
According to this documentation, you cannot open a socket in this sandbox. That's why it's written that "java.net.Socket is a restricted class".
App Engine support for java.net.Socket is starting to roll out on 1.7.2 with trusted tester submissions being taken now.
There will be some limitations but it should support a majority of uses.
Sign ups are here:
https://docs.google.com/a/google.com/spreadsheet/viewform?formkey=dF9QR3pnQ2pNa0dqalViSTZoenVkcHc6MQ#gid=0
It's been popular so only a fraction will be enabled.
According to the homepage of your api (http://quercus.caucho.com/) it can use hibernate. Quick googling gave back this for me: GWT and Hibernate - NoClassDefFoundError when using Hibernate
It says hibernate will not work with google app engine. Maybe this is the answer.

Adding user authentication in java web app

I need to authenticate the users who visit my java based web app (Servlets and JSP) using different social media like facebook, twitter, google and yahoo.
Is there any open source library which solves this problem? Instead of working on different API's an open source java library would be helpful.
The guys from SpringSource have a library doing what you ask for, called Spring Social. The linked blog article explains what it does with some nice examples. But the project is still in beta (even though the quality of their deliverables has always been rock solid).
Take a look at openid4java.
This library allows you to OpenID-enable your Java webapp.
You can use Open ID with openid4java.

Jira gadgets development

I need to develop some jira gadget.
The gadget must have a chart and the possibility to insert external data and diplay it in the chart.
I have been trying the tutorial on atlassian documentation but I don't see any instruction on how to insert charts and how to do it, I think are made with JQuery (if it's correct, there are sample to use? I'm not really in to JQuery). Another problem that I found, is that there is no much explenation on how to get data from Jira (directly). I have seen the "jira api" (all the java interfaces) but I couldn't really get them work.
Anybody that know some better tutorial, gadget source example or that can help me on getting started?
Thanks.
I agree, developing JIRA gadgets with charts is harder than it should be. I have spent some time recently creating a plugin for a client that uses the JIRA system gadgets with some changes and it has been too much work. The charts in JIRA gadgets are created using JFreeChart.
If you can use an external visualization library such as Google Visualization then this example may help: https://labs.atlassian.com/wiki/display/JUA/JIRA+User+Activity
Change the pom.xml to refer to JIRA 4.2 at the bottom in two places and it compiles fine using the usual Atlassian PDK.
~Matt

Which programming languages are possible on Blackberry?

I may start porting an android application to blackberry in the next weeks.
I have my problems understanding the RIM documentation of blackberry development.
But I think I understand that I can develop an off line web application. An Application that runs in some kind of WebView but is written completely in JavaScript. Sadly I can't find anything to confirm this hunch.
Has anybody of you build a Blackberry app that loads a local website into a webview?
Is this possible? Are there any tutorials for this?
Every little pointer to further information is appreciated.
Yes, you can create a "widget" which is an HTML/Javascript application that runs as a native app on the device. See the BlackBerry Developer Center section on Web Development for more information (look for tutorials and videos for "Widgets").

Categories

Resources