I have set up a Google App Engine website project using Python, with the webapp2 framework. It's neat and seems to be working perfectly. I can run queries in the backend of my website using python.
However, recently I've decided I want to have an Android (and maybe iOS) app as well as a website. The app will almost clone the website. Now, I have no idea how to query this data or access the datastore using Java, since up till now it's all been using the ndb import in Python.
How exactly would I approach this? I doubt that I need to create a new project in Java on GAE?
Has it something to do with Remote API? Looking into that now. And if so, it seems like none is available for Swift language.
Should I consider using a different Database system, and forget about GAE?
I only wish to read the data in Java, not write to the database.
For this you can use Cloud Endpoints. You expose the information you want on an API, and you consume it from iOS or Android. Here there is a tutorial that covers it.
Related
I'm building a python web app using the Django framework, but I've hit a problem. The Amazon API I want to use uses Java and doesn't support Python.
How would I do this?
I'm thinking of creating and API to send JSON data from my Python app to another API written in Java to make the request from the Amazon API and then send it back like that.
New to all this so I don't know if that would work? Seems logical to me?
How would you go about this, at the moment I've never touched Java.
For a school project we need to create a Web app with Java and Spring. We also need some sort of cms so we wanted to use wordpress in our app. I have searched for a way to use wordpress within our application but can't seem to find the fitting answer.
Please help :)
Since Wordpress is a PHP-based application, you cannot use it directly in Java web app. Depending on your needs, you might be able to integrate the two by running your Java web application side-by-side with PHP server with Wordpress and share the data via database.
I want to create a web app using OpenStack which will collect data from virtual sensors(programs that will generate dummy data) and then I will provide users operations on that data and i want to bill them accordingly.
I know about the Openstack components like Keystone, Nova, Glance but I don't know how to utilize them in a Web app and how to use it there.
I installed devstack on my system and found out a java library: OpenStack4j to interact with the openstack.
But the problem is that I don't know how to use Openstack components for implementing the different functionalities of my app. e.g: For Logging into my Web App I will use Keystone, For making and storing my virtual sensors I will make programs and store then in X component, For billing I will use Y component to read the amount of data fetched from DB.
Also, is Amazon AWS simpler if I want to do the same thing there?
Your best bet is to read through the Writing Your First OpenStack Application. That guide is in Python as there isn't a version in Java yet. Nonetheless, I think it would help you a lot to read through it and think about how you would do similar things with a Java OpenStack SDK of your choice, like OpenStack4j or jclouds.
Is there a java api that allows you to use Netstream and netconnection functions from adobe? I'm working on my android app and I am trying to add a video chat feature on the app. Since the rest of the app is already coded in java it doesn't seem like I can attach a swf file to one of the activities. So I'm looking for alternative solutions to to connect with a web based flash video chat website from the app.
There is the JUV RTMP tool which is Java API to access RTMP servers. It also support audio/video streaming but you will need to provide the codec code.
It is a paid product, but at least works fine. I could never find a good open source solution for this.
New to Facebook API and Facebook Connect.
Found the Facebook Java API open source library on Google Code...
I am really excited that there's an API pre-written in Java for it!
Am interested in writing a server side Java layer which uses REST to be able to access a user’s Facebook Friends List, their wall, send them messages in-network, etc.
Downloaded the binary and unfortunately, I haven't found any sample or demo code when I unzipped it...
Question(s):
(1) Does this library support Facebook Connect?
(2) What is the best way to get start using Facebook Connect with server side Java?
(3) Since I am building middleware, do I still have to create a sample app on the online Facebook Developer page?
(4) What should I include in my (am a newbie in Maven) pom.xml in order to get started?
Use RestFB, that seems to be the inofficial FB Java Api:
http://restfb.com/
(There is no official FB Java Api anymore)
As far as I know, that library is broken. I couldn't get authentication to work with the latest version.
In my search for alternatives i found the "TinyFBTagLibrary" http://www.socialjava.com/ --
Yes, it requires just about a billion extra libraries to run, but it offers a simple way to execute facebook API calls in java that ISNT BROKEN (once again, as far as I know). My advice is to ignore all of the predefined tags for use in jsp and scroll down to the bottom to see how to use the TinyFBClient.call/getResponse when you need to get information.