1. #1
    Sencha User
    Join Date
    Dec 2012
    Posts
    22
    Vote Rating
    0
    lee el is on a distinguished road

      0  

    Default Unanswered: Server-sent events and websockets in Ext js

    Unanswered: Server-sent events and websockets in Ext js


    Hi,

    I wanted to know does Server-sent events or websockets are supported in Ext js 4?
    If not what is the preferred way to implement server push events/messages to the client?

    thanks for the help
    Lee

  2. #2
    Sencha Premium Member vadimv's Avatar
    Join Date
    Sep 2010
    Location
    Chisinau, Moldova
    Posts
    647
    Answers
    21
    Vote Rating
    25
    vadimv will become famous soon enough vadimv will become famous soon enough

      0  

    Default


    There's no support.
    The preferred way depends on what you have on server side and on what browsers your app should work . For example if you have node.js then you can user socket.io. If for you is ok to have websockets then use them as usually,as are used on web.

  3. #3
    Sencha User
    Join Date
    Dec 2012
    Posts
    22
    Vote Rating
    0
    lee el is on a distinguished road

      0  

    Default


    Thanks for your help, Lets say I have a java server for the server side and I would like to push the browser some kind of event message what will be the preferred way? in java we use JMS but in the web world this is not an option.

    thanks,

  4. #4
    Sencha Premium Member vadimv's Avatar
    Join Date
    Sep 2010
    Location
    Chisinau, Moldova
    Posts
    647
    Answers
    21
    Vote Rating
    25
    vadimv will become famous soon enough vadimv will become famous soon enough

      0  

    Default


    I'm have no knowledge about Java platforms and Java frameworks but since you asked for web sockets you can take a look at which browsers support them and if fits your project requirements then websockets are a good choice, you can use them in an ordinary way - as are used on web clients.

  5. #5
    Sencha User
    Join Date
    Feb 2013
    Posts
    1
    Vote Rating
    0
    cchervit is on a distinguished road

      0  

    Default JMS in browser over WebSockets

    JMS in browser over WebSockets


    Quote Originally Posted by lee el View Post
    in java we use JMS but in the web world this is not an option.
    lee el,

    There are now solutions that allow you to use messaging directly in the browser. If you want to use JMS (over a WebSocket connection) in a browser application (just like you would in your java server), check out Kaazing (full disclosure: I work for Kaazing). There are also some open-source choices that can give you other less-comprehensive messaging options such as ActiveMQ over Stomp over WebSockets using a JavaScript library like Stomple. Good luck in finding a solution that meets your needs, but messaging in the browser is definitely possible.

    Chad

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar