I am working on a little android app that will be requesting json data 3 times a day, this json data will be populated base on data that is fetch from 3 different web sites.
My question is what cloud solution will allow me to used some sort of script/language (python,perl or java) to fetch the data within the cloud itself(make the fetching automatic) from the these site and make it available in a json friendly format so my app can fetch it .
One of the AWS services I have been looking at was API gateway but i don't see a way of me fetching the data from within AWS to later make it public as a json API.
thanks in advance for the help
Have you considered running scheduled events on AWS Lambda - https://docs.aws.amazon.com/lambda/latest/dg/invoking-lambda-function.html#supported-event-source-scheduled-events
Related
I was working on making some REST APIs for inserting data through POST requests. Now I need to make GET RESTAPIs for fetching purpose on same JSON data that I used to POST the data in DB.
Is there any tool exist which can help me creating those REST GET APIs? I am working on spring boot environment. Is there a way to automatically create those GET endpoints in my controller, based on the data that I used during POST requests? Otherwise it would be a very tedious work to make GET API end point for fetching data on each and every field. Can any one guide me..
New to android programming and want to save basic student information in a database. What is the easiest and simplest way to store this data so it can be accessed by multiple devices remotely at any time? I know that android supports sqlite but this seems to be only locally on one device. Any ideas or suggestions?Eventually want to publish application on google play and want users to be able to see students names in their class for each class.
If you're not interested in setting up and maintaining a remote server, Firebase is fast, free to get started, and operates in realtime:
https://firebase.google.com/docs/database/
It seems you've answered your own question :) Place your relational database, such as MySQL, on a remote server. Create an API that performs CRUD operations on the database tables.
Then issue requests to the API in your android app: https://developer.android.com/training/volley/index.html
Yea you basically answered your own, I highly recommend using retrofit2 for android for http requests.You’ll use annotations to describe HTTP requests, URL parameter replacement and query parameter support is integrated by default. Additionally, it provides functionality for custom headers, multipart request body, file uploads and downloads, mocking responses and much more.
Here is great link to get started on your way to happy life:)
Ideally you would want to create your server to handle request and give responses, and android client for those request, if you are going the custom route you probably want a node.js server, or php server. You can even use socket.io to spice things up for real time communication, or maybe some notification system from firebase. Firebase is awesome, it handle all the aforementioned.
For the database portion if you decide not to use Firebase, please do not Raw SQLite you will have nightmares, use something like Realm it is NoSQL ,fast and easy to perform database transactions.
My Application was moving to cloud now, So we are planning to compare response data from Oracle and Cloud implementation.
We are getting Response data as Json, So Any have idea about how to compare both?
We are planning to Automate the comparison process not in Manual. So give me some suggestion for this.
At first, Sorry for my poor English.
I write a android app about movie information. In the GAE server,Parsing the movie data everyday. However, To reduce GAE computing flow effectively and access time from the client, I want to take the all parsing results daily to be a Json file. I think all of this reasonable...?
So, How to save a JSON file in my GAE?
If you are planning on using the Google toolstack you will need to persist the json file to one of persistent file storage services like Blobstore or Google Cloud Storage.
If it's a small json you could put it into Google's Datastore.
You could always connect to other cloud storage services like Amazon's S3, but since you're using Google's cloud products it might be easier to stick to them.
I am new to amazon kinesis so might be this question is very basic question.
But i need help on this,
I am having one use case where i need to pull the data from amazon kinesis into my web application which has been created in JAva, i need to obtain the connection between the kinesis and java so that i can take the data from amazon kinesis and do some of the analytics on the data and if the data is modified then i need to put the data back to amazon kinesis from java application.
here my java application is not on the amazon clould, it is on my private cloud. so how do i do the above task.
Kindly help me.
First of all, Amazon Kinesis API endpoints are on public IP addresses, so you don't need to have EC2 instances within AWS environment to access Kinesis.
To read data from Kinesis, you can use Amazon's own Kinesis Client Library (KCL).
https://github.com/awslabs/amazon-kinesis-client
On AwsLabs GitHub, there are also sample applications written in Java.
https://github.com/awslabs/amazon-kinesis-connectors/tree/master/src/main/samples
About your architecture; if you want to process raw data and create meaningful extracts, I recommend you do some ETL tasks (aka: post processing) and write your results to another place (ie. RDBMS). On the view layer (your web app) you can display the resulting output in any format you like by reading from your database.