Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8354285
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T09:30:14+00:00 2026-06-09T09:30:14+00:00

I have a java application that checks databases, gets data from a php file,

  • 0

I have a java application that checks databases, gets data from a php file, and sends notification to android phones. What is the best service to use in this situation?

I was thinking to use Google App Engine and run a cron job for every few minutes. Not sure if I am going about this incorrectly though.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T09:30:15+00:00Added an answer on June 9, 2026 at 9:30 am

    Google App Engine is a good choice to do this work. To do what you want, you will need to do the following:

    • Understand basics of Google App Engine Java and deploying simple applications. Make that as the first step. The Getting Started Guide for App Engine Java is a good start: https://developers.google.com/appengine/docs/java/gettingstarted/

    • Next step would be to learn about how to make Network calls (URL Fetch) from App Engine. This would mean invoking your PHP Server API. Details can be found here: https://developers.google.com/appengine/docs/java/urlfetch/overview

    • Now you can schedule your URL Fetching code to run every XX hours, etc or at whatever scheduled you want as per the CRON Expression. Writing a Task is covered here: https://developers.google.com/appengine/docs/java/taskqueue/ and you could look at Push Queues. App Engine also provides Backends for sophisticated background processing jobs but you might not need that at this point

    • Preferably you should pickup next how to store data in the App Engine datastore. This is important because you might want to fetch data from your PHP Server and then instead of synchronously sending the notifications, you should instead put them in a datastore, so that they can be sent/retried by another Task. This way you separate the Fetching logic from the Notification Logic and will give you flexibility and help in debugging. For Datastore guide: https://developers.google.com/appengine/docs/java/datastore/

    • Finally, pushing notifications to Android phones, will mean Google Cloud Messaging. http://developer.android.com/guide/google/gcm/index.html

    Hope this gives a good roadmap. All The Best.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Java application that makes heavy use of a large file, to
I have a Java application that parses files and stores the data I need
We have a Java application with a particular module that checks if a temporary
I have a simple application that reads data in small strings from large text
I have an application that passes in java.util.Date. I want to check whether this
I have a Java application that run as a background service, i.e. no GUI.
I have a java application that people can log into (and do various things
I have a java application that runs out of memory, but I have no
I have a Java application that is managed using Maven. The project involves the
I have a Java application that needs to collect and report a large number

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.