Java Network Launching Protocol (JNLP) Support on App Engine?

161 views
Skip to first unread message

Eric Atkinson

unread,
Jul 3, 2011, 8:12:12 PM7/3/11
to Google App Engine
Does the Google App Engine, and related Web Server, support Java
Network Launching Protocol (JNLP)‎ for launching Java WebStart
Applications from my HTML home page? GWT just isn't a sufficiently
sophisticated client platform, so I want to use a java application on
the front end to interact with the google app engine, but the app
engine would need to support JNLP to launch such a client. Is this
possible?

Eric Atkinson

unread,
Jul 14, 2011, 1:50:47 PM7/14/11
to google-a...@googlegroups.com
Just in case anybody else runs into this problem, you have to put a space in front of the filename in the code, such as          var url = dir + " dynamictree-webstart.jnlp";

in the following script:

      <script src="http://www.java.com/js/deployJava.js"></script>
    <script>
<!--     using JavaScript to get location of JNLP file relative to HTML page -->
         var dir = location.href.substring(0, location.href.lastIndexOf('/')+1); 
         var url = dir + " dynamictree-webstart.jnlp"; //note the space
         deployJava.createWebStartLaunchButton(url, '1.6.0'); 
    </script>

I just love all the various weird quirks in all these various app servers and browsers! It makes programming such a joy to waste so much time figuring out tedious and mundane quirks like these. Someday perhaps our industry will be FORCED by the CUSTOMER, as CUSTOMER GROUPS who PAY ALL THE BILLS, to create INDUSTRY STANDARDS, similar to the IEEE for electrical appliances where an electrical plug at Google works the same way as an electrical plug at IBM or anywhere else.

Eric Atkinson

unread,
Jul 14, 2011, 1:56:15 PM7/14/11
to google-a...@googlegroups.com

Jeff Schnitzer

unread,
Jul 14, 2011, 6:49:13 PM7/14/11
to google-a...@googlegroups.com
Dunno who you're yelling at, but I'd first check to make sure you don't have a leading space in your filename.  Then blame Sun/Oracle. Seems unlikely to be a GAE issue.

Jeff

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/4Kidu8JelGYJ.

To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

Eric Atkinson

unread,
Jul 14, 2011, 9:48:32 PM7/14/11
to google-a...@googlegroups.com
Forget what I said; somehow a space got added to the front of filename while was programming. I don't know how, but this odd error was enitirely of my own making -- sorry.

Eric Atkinson

unread,
Jul 14, 2011, 9:52:49 PM7/14/11
to google-a...@googlegroups.com
You're right; it's my fault, I'm sorry. I don't know how a space got in front of my filename, but it sure drove my nuts for a while before I finally noticed it. As for GAE, it's fine, everything I need, well put together, and explained well (and explained quickly instead of in eight volumes). It's other app servers I've had a problem in the past, but not GAE.  Sorry. 
Reply all
Reply to author
Forward
0 new messages