Server-side java timers

Posted on 2011-10-10
Last Modified: 2012-05-12
We are building a system which will connect our ActionScript 3 client to a server-side java back-end through BlazeDS.  At this point in the project, we are required to build in a timer system, which will update a sprite on the client to show time remaining.  Several clients will be connected to the java back end at once, so what is the most efficient and effective way to run a Java.utils timer on the server side, which will update all the connected clients with the time remaining information?
Question by:anotherfn
    LVL 47

    Accepted Solution

    LVL 47

    Expert Comment


    This is more about JMS:

    And this callback example with CORBA - CORBA was popular some yaers ago, but not much iused now:

    Usually CORBA is good for cross-language access, for Java on both sides RMI
    usually can be used instead of CORBA, however I'm not sure RMI provides callbacks, and to set up RMI server on the client  no matter how lightweight it is,
    it is still inconvemience

    LVL 4

    Expert Comment

    I'm totally unfamiliar with BlazeDS, however, I've just found this document which describes something very similar to what you're trying to achieve. As far as I understood it at least.
    LVL 20

    Expert Comment

    by:Sathish David Kumar N
    which framwork your using ?????

    Author Closing Comment

    partially answered

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    advance java 4 36
    countPairs challenge 7 39
    mapShare challenge 13 41
    Printing to a specific printer tray (HP 806dn printer) 3 33
    While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
    In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
    In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
    The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now