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 8055009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T08:16:22+00:00 2026-06-05T08:16:22+00:00

The application has a widget where the list of items keep changing based on

  • 0

The application has a widget where the list of items keep changing based on some events on the server side. The server has to push these changes to the browser.

The application uses emberjs as javascript mvc framework and I have managed to implement the basic update of collection following this stock ticker example. ttp://www.xeqtit.com/blog/2012/04/creating-a-stock-ticker-table-using-ember-js.

I am trying to replace the following stub/mock calls with actual REST calls to the server.

       setInterval(function() {
           Quotes.quotesController.processChange({
                  "code": "AAPL",
                   "value": (119*Math.random()).toFixed(2),
                   "bid": (120*Math.random()).toFixed(2),
                   "offer": (118*Math.random()).toFixed(2)
         });
      }, 3*1000);

replacing with,

       var source = new EventSource('data/quotes.json');

       source.onmessage = function(event){
            var data = event.data;
            Quotes.quotesController.processChange(event.data);
          };

-Should I be writing a servlets based on asynch support in Servlet 3.0 spec?
-Would it be ideal to integrate spring mvc on the server side along with client side mvc framework like emberjs ?
– Is it possible to achieve server sent events/asynch call back support with just jersey/RESTlet library on a jetty server ??

This is a java ee application and the choice of server/frameworks are yet to be made.
I am new to emberjs,spring mvc and comet applications.

  • 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-05T08:16:23+00:00Added an answer on June 5, 2026 at 8:16 am

    What about using ember-data to store your quotes, and feed them through a WebSocket.

    You say choices are not made: Did you consider using RoR as the server-side framework? As of today, it is the most ember-data friendly implementation (along with active-model-serializers). Writing the server side with this stack is just a piece of cake.

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

Sidebar

Related Questions

Our application has a couple of shell scripts that are called from web-based Oracle
I have ASP.NET MVC application that has list with jQuery Selectable list. My problem
I am building an application which has GtkMenu widget. I am using Glade RAD
My application has the following classes: public class Widget { public virtual int Id
I have an application that has a tab widget in it. One of the
I've an application that has a widget already and have a service which updates
I'm building an application that has a widget and a button in the widget
I am trying to create an application that has a background image with widget
Our application has a service layer and a DAO layer, written as Spring beans.
Our application has many controls that are created dynamically. For example, a navigation pane

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.