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

  • SEARCH
  • Home
  • 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 8271495
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T06:51:44+00:00 2026-06-08T06:51:44+00:00

my app is developed from 2 parts – rails frontend and java backend. Backend

  • 0

my app is developed from 2 parts – rails frontend and java backend. Backend can modify db (add, modify or remove records) and i’m looking for a solution – how to monitor changes in db from frontend to push it to the clients. Of course – i can add code to backend to call for some method via http get, but maybe you can recommend me something better?

  • 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-08T06:51:45+00:00Added an answer on June 8, 2026 at 6:51 am

    I recommend the Faye gem. Checkout http://railscasts.com/episodes/260-messaging-with-faye. You need to build a “caller” in the java app that calls a Faye function once data is processed. Then let faye push data to the clients.

    Added:
    Build an API controller with a action within your rails app that your JAVA app calls whenever it updates the data. The API action can then use Faye to push data to the rails “clients”.

    If you implement it this way you can be very specific in your calls from the Java app and only update clients that needs to be updated. You can also add other sophistication, for instance if your data gets updated very often, you can queue updates and push them at certain configurable intevals. etc etc.

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

Sidebar

Related Questions

I was wondering if the Twitter app for iPhone developed by Twitter consumes from
I'm looking the documentation about publishing the message to wall from Facebook app http://developers.facebook.com/docs/reference/dialogs/feed/
I am trying to understand how to internationalize a web-app developed with emberjs. I
The app is developed in Xcode 4.2, SDK 5.0, tested on an iPhone 4
I have current a developed app which I am going to submit in just
I have an MVC2 app I developed with the VS2010 RC and the .NET
i'm trying to make an installer for an app i developed for windows ce.The
I need to use Bing maps in an app being developed targetting blackberry OS
I am developing an app that has plugin support. Plugins may be developed by
I've developed a small app for my client which is supposed to be released

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.