As I just read about the release of JavaFX 2.0 beta and the NetBeans 7.0 plugin in the article JavaFX: The Resurrection (Java FX 2.0 Released), is there information available if it runs on Google App Engine for Java?
Client technologies that require GUI (Swing, JavaFX or even JS+HTML/DOM) don't run on servers, because, well, servers don't have screens to display GUI.
JavaFX is a client technology: e.g. it runs as a desktop app or as an applet inside your browser.
Server support is limited to talking to servers via some kind of RPC and, in case of applet, being hosted on a server for users to download. GAE can do both (depends on type of RPC).
GAE deals with the server and according to its spec it only supports Python, Java, Go as a server side technology.
Technologies like JavaFX, Flex, JavaScript etc. are client side technologies. It does not matter what you use in client side its gonna work anyway. As long as GAE is there you have to deal with only Python, Java and Go in order to run on App Engine.
Related
I was able to create the basic 'hello world' program.
When I tried to understand the difference between a cloud and a server I learned that Cloud is where you have an access to virtual instance created exclusively for you and you are free to choose and install software of your choice.Why Google App Engine(GAE) is used widely where as tomcat is not used. What are major differences between GAE and Tomcat?
Cloud is Google Cloud Platform at this case. App Engine is just one of their services.
App Engine is a platform to build your apps on top of it. A Platform As A Service or PaaS. It simplifies the process of building a scalable application, and you should use it when you understand what you really need and understand principles of scalable application.
Tomcat is a Java web container, and there're many alternatives. Google App Engine is using Jetty. You could actually use it with Tomcat by using Flexible VM, though it doesn't make much sense.
App Engine is not about web server, it's a set of services that helps you to build a scalable app. It includes Memcache, Datastore, Task Queue, Images API, deployments tools and versioning, CDN for static files, and most important automatic scale.
Actually you aren't limited to App Engine on Google Cloud Platform. There is more traditional service, like own server in the cloud, called Compute Engine. There you can run your Tomcat or anything else.
recently I have build a chat application with a client and a server it works fine on a virtual machine. But now I am stuck what I need to do with the server application?
Where can I upload it?
I had found that I can upload apps to Google(app engine) but I don't know the address of the server so the client can't connect to it...
please help me I hope my question is clear...
Google App Engine is a PaaS and cannot run any Java Server application that you have written.
So, you will have to make sure that you understand the App Engine platform and write applications using various services that are provided as part of the platform.
To get started, check the following: https://developers.google.com/appengine/docs/java/gettingstarted/introduction
Google also has an offering called Compute Engine, that provides you with Linux VMs hosted on the Google infrastructure.
So if you are looking at VMs, where you want to host your application, you could look at that. You definitely have more flexbility with the Compute Engine but you have to deal with configuration, settings things up and more Administrative stuff.
Compute Engine is not free whereas App Engine comes with a generous free quota.
I was trying to start to learn about programming on Firefox OS, and I heard that it is programmed with JavaScript and HTML5, and it uses the same structures of web apps.
Said that, I'm doing a course on Udacity ( I'm a beginner) that is about web development, and it talked about how to use the Google App Engine(we just made our own websites online, using python and some structures of the GAE), and I tryied to make some relationship with what I was seeing in the Firefox website, and I just coundn't figure out nothing.
Google App Engine is a "platform as a service model" of webapps. What you don't need is the key. You don't need :
a Database Administrator
Network technician
a Backup Admin (you still need to make backups of your app and data but not your network config files ect...)
the hardware at your company
the ISP service level agreements
there is more that Google specifically puts in over other platform as a service businesses.
Google takes care of this for you. You just write the webapp (and back it up for a rainy day)
As for Firefox OS, you build application, as you wrote, with HTML5, CSS3, and JavaScript: only web technology. Those are web applications that you build to run on Firefox OS devices, and even in the browser, depending on the API you used. The application you build https://developer.mozilla.org/en-US/Apps, can be either hosted on your own server, or if you packaged it, on the Firefox OS marketplace https://marketplace.firefox.com/.
I would also like to add that Google App Engine is a PaaS at the end of the day. So while technically, one can say that any web application should run, that is not always the case.
If you are using a PaaS, whether it is a Google App Engine or any others like Heroku, CloudFoundry, etc - you must understand the various Services and APIs that it provides in the different platforms that it supports. For e.g. using Google App Engine, you can choose either Java, Python or PHP to write and host your web applications. However, you have to use some of its services like Datastore, etc.
Moving any web application that you have written to a PaaS is not always straightforward. Except for the most simplistic apps that print a "Hello World", there are chances that you atleast have to do the following things:
Migrate parts of your application to utilize the Platform Services/APIs
Rearchitect parts of your application to take maximum advantage of the Cloud i.e. multi-tenancy, Scaling, etc.
You could treat Google App Engine(GAE) as web server hosting with specific web framework (python or java), which can host any normal webapps.
Firefox OS webapps are written with normal web skills. So you can use GAE to 'host' Firefox webapps.
(GAE is also mentioned as one of hosting place in Mozilla Developer Network
https://developer.mozilla.org/en-US/docs/Trash/Publishing_the_app )
The evil detail is Firefox webapp need an extra 'manifest.webapp' file that need extra MIME host settings
self.response.headers['Content-Type'] = 'application/x-web-app-manifest+json'
https://developer.mozilla.org/en-US/Apps/Developing/Manifest#Serving_manifests
Then you are ready to host Firefox Webapp on GAE :)
to all
as we all know, Appscript tipicaly for Google Spreadsheet now have a UI builder, though you can compose UI with the script itself the builder is a big factor. now
GAS application is hosted in google drive and can be either share or publish as Webapp. which is great but this type of app is very limited to storing your data in a spreadsheet well, designing a good DB spreadsheet would be enough for small application but is NOT scalable for SME to Enterprise apps.
now having google app engine which have a very good and scalable platform for a webapp.
is there anyway to port the UI library capability and use it for app engine application. having GAS UI as a javascript base (client side) it could be integrated with any serverside language in GAE.
do any one have any example on this or is it now posible?
the way I see it this might be the future for GAE having a GAS as a client side library would be great?
Well, I think you should be looking the other way round. All of Apps Script's UI widgets are borrowed from GWT in GAE. In fact, the Apps Script documentation, at places suggests that we should lookup GWT documentation when this is found inadequate.
Coming to the point of the UI bilder, I'm no GAE expert, but since you get a GWT toolkit for Eclipse, you should be able to use any of Eclipse's UI creating tools ( I may be wrong here).
GWT is compiled to javascript. It doesn't care what the backend is. You can use json to communicate to your python AE instance just fine I would think. I do GWT on java AE so don't have an example of my own but here is an example of using python on AE to use App Scripts https://developers.google.com/apps-script/articles/appengine
i am currently doing a project as one of my university projects and it uses Google maps and right now i am using a postgresql database which is on my localhost but i want to host it some where else i couldn't find any free hosting for postgres and i don't know whether i can use Google App engine or Fusion tables to do it. i am using postgres and php to manipulate data and generate KML files. Google Maps V3 javascript API as the front end
any suggestions ?
Thanks !!
PHP is one of the most requested features, but it is not yet supported in GAE, so your PHP code is useless. In the future, hosted SQL databases seem to be part of Google plans to provide "Enterprise features" in GAE, stay tuned because that could simplify what you need to do.
Currently, in case that:
your site is implemented as a Java EE or Python web appliaction
you are already using JPA/JDO (only in the Java EE case)
you are not doing JOIN statements (not supported in GAE)
Or even if your service/dao layers are already well isolated, it would be possible to host your "denormalized" database (it would not be a postgres service) and your frontend in GAE without too much effort.