Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 296
  • Last Modified:

Server-side java timers

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?
0
anotherfn
Asked:
anotherfn
1 Solution
 
for_yanCommented:

This is more about JMS:
http://www.coderanch.com/t/315732/EJB-JEE/java/JMS-or-RMI-notify-client

And this callback example with CORBA - CORBA was popular some yaers ago, but not much iused now:
http://download.oracle.com/javase/1.4.2/docs/guide/idl/jidlExample3.html

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

0
 
stachenovCommented:
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.
0
 
Sathish David Kumar NCommented:
which framwork your using ?????
0
 
anotherfnAuthor Commented:
partially answered
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now