I have a dilemma where I want to create an application that manipulates google contacts information. The problem comes down to the fact that Python only supports version 1.0 of the api whilst Java supports 3.0.
I also want it to be web-based so I'm having a look at google app engine, but it seems that only the python version of app engine supports the import of gdata apis whilst java does not.
So its either web based and version 1.0 of the api or non-web based and version 3.0 of the api.
I actually need version 3.0 to get access to the extra fields provided by google contacts.
So my question is, is there a way to get access to the gdata api under Google App Engine using Java?
If not is there an ETA on when version 3.0 of the gdata api will be released for python?
Cheers.
I'm having a look into the google data api protocol which seems to solve the problem.
Google Data API Java Client : link1
Getting Started with the Google Data Java Client Library link2
I guess this is what you were looking for.
I use GDATA apis for my JAVA appengine webapp. So GDATA can be used with JAVA runtime.
From http://code.google.com/appengine/kb/java.html
Yes, the Google Data Java client library can be used in App Engine, but you need to set a configuration option to avoid a runtime permissions error. Add the following to your appengine-web.xml file:
<system-properties>
<property name="com.google.gdata.DisableCookieHandler" value="true"/>
</system-properties>
If the following is not included, you
may see the following exception:
java.security.AccessControlException:
access denied (java.net.NetPermission
getCookieHandler)
Related
I have recently tried to create my first E-Commerce site. Its is made with React on the frontend, and then I implemented a stripe pre-built checkout page to handle payments using java, following this guide: https://stripe.com/docs/checkout/integration-builder
I am trying to deploy the application to firebase to host it, I can deploy the React very easily, however I do not know how to deploy the Java, or if I even can on firebase.
Any help would be appreciated on how to deploy it.
Unfortunately Firebase currently does not support Java:
Cloud Functions current supports the Node.js 8 JavaScript Runtime, and the Node.js 10 Engine is in beta. You can choose a Node version it from your package.json. You can also choose to write your functions in TypeScript, using either Node.js version. The Python 3.7 runtime and Go 1.11 runtime is also avalible, but is currently only accessible from the Google Cloud Console.
I am using Java Client Library to use google Dialogflow. My questions is what happens when we use "appEnginedeploy" using gradle? Where is the code stored and more importantly how the implemented database and other files of code stored and accessed by our agent?
Thanks!
appEngineDeploy is setup to deploy the code to App Engine, a computing platform on Google Cloud. Code and associated project files are stored as they are in your project.
It's not entirely a VM, so you shouldn't necessarily think of App Engine as locating filepaths. If the project can make the links locally, then it should behave the same way in App Engine.
With regards to databases, it would depend if you're using an embedded database or using a hosted solution through another Google Cloud service. Presumably you'd use the database APIs for a Cloud service as shown in the documentation.
For a particular functionality implementation, I need to download a chart(even a report would do) from the cognos server from my Java Code. I am unable to find efficient ways of doing the same, I could find few resources(links below) but none of them seem to work. Is there a way to download cognos reports from Java via REST API?
DZONE
MashUp Service
You'll probably want to use the Cognos Mashup Service (CMS). CMS requires a license to use the Cognos SDK.
You didn't specify which version of Cognos, so I can't direct you to the exact documentation.
I have an existing API which internally calls some external API using jersy api client library. I am planning to deploy my API on appengine using with java8, but it seems this jersy library is not functioning on appengine platform, as per google docs either I need to use java.net.URLConnection or urlfetch methods to make http(s) calls from within appengine. Is there a way to make my existing jersy based code work as it is?
The same jersy code worked on appengine platform after adding urlfetch as below in appengine-web.xml
<url-stream-handler>urlfetch</url-stream-handler>
I'm developing a Flex application that should run on Google App Engine. This app should be able to load larg-ish XML files (1 to 50MB) from GAE and save them again.
[UPDATE]
I'm using Java. The Flex app is already running on GAE - but can't yet load/save files. The Blobstore API documentation talks about using a multipart POST - how would I do this in Flex?
Which language are you using in GAE, java or python?
What is your problem? You don't know how to use the Blobstore API? Or you don't know how to use flex with GAE?
If you are using python Gae and do not have any idea about Gae with flex, you may have a look on the following:
http://aralbalkan.com/1333
http://fernandoacorreia.wordpress.com/2008/07/15/flex-and-python-project/
A little bite old, but very userful.
Update:
You can use the UploadPostHelper library to send the multipart/form-data in flex. Please refer to the following site to get the idea on how to use this library:
http://marstonstudio.com/2007/10/19/how-to-take-a-snapshot-of-a-flash-movie-and-automatically-upload-the-jpg-to-a-server-in-three-easy-steps/
Wish this can help.
you want to load a 50MB XML file to the client? Why?
I have a fast internet connection but still 50Mb is a lot...
You can use PyAMF: http://www.pyamf.org/tutorials/gateways/appengine.html