Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » No access to ajax.googleapis.com(Deploying RAP in a closed environment)
icon5.gif  No access to ajax.googleapis.com [message #1441999] Fri, 10 October 2014 13:23 Go to next message
Sebastian Geedot is currently offline Sebastian GeedotFriend
Messages: 7
Registered: October 2014
Junior Member
Hello all,

my evaluation of RAP 2.3 is stuck, because of the usage of
"//ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"
as a script in generated html.

I hope I was getting something wrong because I could hardly believe this is the way RAP applications are regularly running.

The problem is, I was evaluating the UI framework for a company's intranet, i.e. people have no access to the internet. I cannot change this.

Does anybody know a possibility to deploy RAP applications into such a closed environment?
By the way, I don't think it's good if any access to a RAP application calls a URL residing at google's side.
I cannot see any advantage.

What's if the servers are down or over-frequented? Why should my local webapp wait for google to deliver that jscript? Is it a license issue?
Why the heck is it neccessary for eclipse to rely on google code?

I am buzzed on that :-/
While we already have a nice equinox application running, it would be so nice to create the UI with RAP.


Regards

Sebastian
Re: No access to ajax.googleapis.com [message #1442045 is a reply to message #1441999] Fri, 10 October 2014 14:36 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2334
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
the mentioned URL is *only* used in Workbench Demo
(org.eclipse.rap.demo.resources.ExternalJsResource class). If you have
problem with it, remove it from "org.eclipse.rap.ui.resources" extension.
HTH,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: No access to ajax.googleapis.com [message #1442073 is a reply to message #1442045] Fri, 10 October 2014 15:24 Go to previous messageGo to next message
Sebastian Geedot is currently offline Sebastian GeedotFriend
Messages: 7
Registered: October 2014
Junior Member
Thank you so much - that was it.

While the demo works without it, I am wondering for what it has been used for?

Good to know that RAP works without any evil ehm google code Smile
It looks a bit different now, but we can live with that.
Re: No access to ajax.googleapis.com [message #1442081 is a reply to message #1442073] Fri, 10 October 2014 15:31 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2334
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
it is a test (demo) code to demonstrate that RAP could deal with
external resources (javascript files).
Best,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:Styling of link inside a markup enabled label / table / tree
Next Topic:Migration from AbstractBranding / InvalidThreadAccess
Goto Forum:
  


Current Time: Tue Feb 18 13:16:36 GMT 2020

Powered by FUDForum. Page generated in 0.10085 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top