Re: [ljc] Re: Polling Over REST API

From: Colin V.
Sent on: Wednesday, January 23, 2013 9:08 AM
Answers inline,

On Wed, Jan 23, 2013 at 7:46 AM, amit vyas <[address removed]> wrote:
Dear Java RT Friends,

Accept apology for sending half cooked mail.

I'm trying to design a system and need your valuable views.

1. System 1 has to execute REST based requests to fetch data from 3rd party REST services.
     1.1 Configuration of these REST based URL and , frequency of Calls , Time Out and couple more parameters  
           are defined in  System 2 via flex based GUI.

       Question:  

                1. What is the based way to pass configurations from System 2 to System 1? I am thinking to  make system 1 shall poll for the configurations from system 2 on regular intervals as GUI will have CRUD support for configurations.


Can you not reconfigure you GUI to send the configuration directly to system 1? If not  you could have system 2 poke system 1 with new conf when it is received.
         
         Question:

                1. What shall be mechanism to send response back to system 2? I am thinking to POST via REST service of system 2.

                2. How to make aware system 2 that system 1 is down? Is REST based POST API will it be good idea to send Heartbeat Message over REST post API?


Why does system 2 need to know that system 1 is down? 

Our Sponsors

  • Our Blog

    Read the latest news from the LJC

  • RecWorks Ltd

    Fixing Tech Recruitment using the Power of Community

  • jClarity

    Java/JVM Performance Analysis Tools & mentoring for Java related matters

  • LJC Aggrity

    Our LJC Aggrity site contains blog posts from our members

  • LJC Book Club

    Our Book club with book reviews from our members

  • Devoxx UK

    Java Community Conference, in collaboration with the LJC 12/13 Jun 14

  • SkillsMatter

    "Host, help organise, promote, film many of our meetings."

  • Packt Publishing

    A publishing company specializing on specific technologies and solutions

  • Java.Net

    We are an official Java User Group recognised by Oracle's JUG program

  • JRebel

    Free 3 month J-Rebel license.

  • O'Reilly

    40% discount on printed books and 50% on e-books.

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy