Server Push   pushing data to clients

Need some ideas.
I have been hunting around for info on a simple/clean method
to push data out to clients. Client could be a Java application or maybe an applet. Solution must easily go through firewalls
In either case I want the client to startup, register with the server
and start receiving data. Without further user intervention.
Whatever, scheme is used must be able to deal with network
disconnects.
I have looked at Pushlets, the article was 2 years old and I don't see
any recent postings on Pushlets. So maybe that is not the way to go.
I guess my other choice is JMS. SonicMQ?
Server Push using Netscape?
Or are there other options.
Many thanks for your feedback.
KD

Have you considered J2ME.
J2ME and WAP Push can be complementary. but for WAP Push to work the devices or the browsers in the devices have to be WAP 1.2 complaint.
more details can be found at http://devforum.openwave.com
hope this helps.
williams

Similar Messages

  • Server-Push

    I read somewhere that Flex Data Services provides Server-Push
    functionality. That is, the server starts a conversation with the
    client. It's obvious that, In order to such thing ocurr, there has
    to be a persistent connection between server and client.
    I've being reading about Data Management Service to learn how
    to implement this Server-Push and all I see is about a method
    called Fill() that is thriggered from the client and syncronizes
    it's data with the server. But it's not server-push
    Does it really exist?

    Hi,
    When you create a DataService and fill your collection. The
    collection becomes managed. You don't have to call fill again if
    there is any change in the data. Server pushs updates to clients
    when the client's dataservice is using rtmp channel. It is a live
    connection between the server and the client. For example,
    you fill(collection, "hqsql", from products where price <
    100). If one of the product's price increases, server push a
    message to your collection to remove it. If a product's product's
    price decrease, it will be added to the collection. The push is
    happened based on your fill method.
    William Chan

  • How to get FMS server time and date

    hi,
    i m working on a customer support chat application. There is
    neccssary for me to get the FMS server time and date, bcoz
    depending on the server time and date the client instances recive
    different messages.
    i looked at date() function on FMS server, but it returns
    user PC time ( not FMS server time).......
    so i there any way to get FMS server date and time??
    thanks in advance
    shrikant

    See this post.
    How To Display Time Information in Report/Results?
    http://forums.ni.com/t5/NI-TestStand/During-a-test-how-can-I-find-the-start-time-and-date-of-that/td...
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • Push Data From Sql server 2012 (Express) to Sql Server 2012 (Standard) (i.e. Client to Server)

    Hi all,
    I’m new to this new idea /task/work.
    My Idea: To push data to server (Sql Server 2012 Standard or Enterprise Edition).
    What I’m having? :
    1.A server pc (Windows  Server 2012 + Sql Server 2012 Standard or Enterprise Edition installed).
    2.Two or three Client pc in number (lets us say Windows Server 2012 + Sql Server 2012 with Express Edition installed).
    3.These 3  machines (1 server + 2 client pc) are in communication with one and another(LAN).
    4.Assume that, I'm having one database let us say “Company_DB” with single table “Tbl_Employee”(as of now) in server and similarly in both reaming client PC too.
    i.e.
    Server is having Company_DB (Database), is having table Tbl_Employee
    Client A is having Company_DB (Database) , is having table
    Tbl_Employee
    Client B is having  Company_DB (Database) , is having table
    Tbl_Employee
    What I did ?:
    Step 1: Suppose that, today I entered/created  10 employee details in Client A (say 1 to 10).
    Step 2: On the next day, I created some more employees (say 5 employees i.e 1 to 5)
     in Client B.
    What I need?
    I need to push/send/store these records (i.e. total 15 employees details) should be present in my SERVER PC.
    I googled for the same, found some suggestions like SSIS or
    Import/Export wizard etc…
    How can I achieve this?, and this should happen for some regular intervals like 3/5 hours without any duplicate data.

    sounds like Merge replication to me
    http://www.databasejournal.com/features/mssql/article.php/1438231/Setting-Up-Merge-Replication-A-Step-by-step-Guide.htm
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • FDS for server push + client to client

    Just want to double check - if I was to create a chat like
    app in Flex - where new messages are "pushed" to clients, this
    would require FDS.

    Using FDS would be the far easiest way to implement a chat
    application.
    Theoretically you could implement a chat application without
    FDS by having each client poll the server for messages for new
    messages for that client using HTTPService or WebService.
    You can also do "poor man's data push" using a long-lasting
    HTTP request - in this pattern each client posts an HTTP request
    that it doesn't expect and immediate response to - when the server
    has a message for the client is sends the response (perhaps a long
    time later). In the client's event handler for the response the
    client posts another request (so that the server has a means of
    "pushing" data to the client). This is how Blackberry-style email
    works in Windows Mobile (in the absence of a proper data push
    protocol).
    Sean
    Neville's Introduction to the Flex Message Service has a good
    example of how to write a chat application in FDS.
    Graeme Harker's Flex.NET
    Blog

  • Using the new Data/Services generation with server push

    Have moved my Flex/BlazeDS app (which uses Blaze AMFChannel for request/response messages and StreamingAMFChannel for server push messaging) from Flex Builder 3 to Flash Builder 4. The new Data/Services works fine to generate service classes and value objects for the request/response messages, question is can it provide any help setting up a messaging consumer and value objects for the pushed data?
    rick holland

    I am so sorry - I meant AirPort Express - not extreme - but it's moot since I missed the point of your post - you want two outputs - and one to not be digital.
    For what it's worth - I still think the express might be your best bet.
    http://www.apple.com/airportexpress/airtunes.html
    It has combined digital/analog out - you plug in one and it switches the output depending on which connection is inserted. I would expect a very short wait until everything accepts digital input - expecially for people who want good sound quality. If you have to go digital to analog outside of the receiver/amp (where it really belongs) - why not let it be the express sitting right next to where you want the second "receiver" to be...

  • Server push / Client pull

    Hi,
    Please let me know about Server push and Client pull . When this has to be needed. please explain.
    Thanks in advance.

    google ...

  • Servlet to push unsolicited data to clients

    Hi,
    I have a servlet in which messages are XML documents in the body of HTTP requests/responses. A client sends in the HTTP/XML request, the servlet delegates processing to some service provider, gets the result, and sends it back to the client as XML in the body of the response. That all works fine.
    I now want to extend the servlet to handle the situation where unsolicited data (in XML) is pushed to the client. It is not a broadcast system, the unsolicited data would be targeted at a specific client (or maybe a small number of clients).
    Any suggestions of the best way to approach this kind of facility?
    Thanks,
    Paul

    The servlet does have some knowledge of clients through session information. All clients are required to log in so the servlet can store any information it wants about each client with a session. Of course, that doesnt give the servlet the ability to open a connection to a client.
    I was hoping there might be some way for the client to open a persistent connection to the servlet which would be recorded in the session data. The servlet could then use this connection to push XML data to the client at arbitrary times.
    In this system when I say client I don't mean a browser. The primary purpose of this interface is to allow other systems to access services.

  • Implementing Server Push using LCDS 2.6

    Hi All,
    We have created an application where we are using polling to get certain constant updates. Now this polling is client polling wherein the client polls the server at regular intervals to get the fresh data for certain actions.
    Now we wish to take this to another level and implement Server Data Push so that the client does not keep polling unnecessarily and the server notifies the client as and when the data gets updated with the server. For this we have the DataService Transaction class that needs to be implemented.
    But there are a couple of questions that are in my mind regarding this technology. It would be great if someone could answer them.
    My questions are:
    1) Does the LCDS server know which client to push data to in case of multiple clients looking at the same data scenario. e.g. Two clients A and B are looking at the same data. A performs an action and that action needs some time to get completed at the server. Now in case we use Server Data Push, will the LCDS be intelligent enough to send the message on completion of the requested activity to only A and not B.
    2) In order to push data to the client, the server will invoke some method which will return the desired data to te client. How do we keep the parameters registered with the server that this method would need while getting invoked. SInce, the call to the method will not be client initiated, how does the server know what parameters to be passed to the method in order to invoke it. How will this work in a multi-user looking at the same data/screen scenario.
    The answers to these questions will really help us. In case anyone is well versed with this technology, please pitch in to give your inputs.
    Many Thanks.
    Regards,
    Shally

    Hi,
    As also, suggested by you, we were thinking of using an RTMP channel only for this since its a two way socket that establishes a communication channel between the client and the server and then helps keep messages moving to and fro.
    We have successfully implemented RTMP channel and achieved the following functionalities.
    1) A client initiated change which gets propagated to the server and then to all the clients.
    2) Server push to all the clients.
    Now our last step is to implement data push to a particular client. As told by you, we will use the client id but we have some doubts and questions regarding this since we do not have the code examples or anything that could help us in implementing the same.
    I would therefore request you to kindly lead us on the following fronts:
    1) Is the client id the one that is part of the request- response thread, I saw a client id being printed in the logs when a request is made and the response comes.
    2) What code needs to be written on the server side to extract this client id once a call is made so that it can keep this client id with itself to push a message later on.
    3) What methods or API are available to be used to push this message to a particular client? Do we need to call the fill method of a particular client using the client id parameter and inform the client that its requested job has been done.
    For (3) is the Messaging(Publish and Subscribe model) the right way to go??
    It would be great if you could provide us some code snippets just to give us an idea from where we can take it up ourselves.
    Looking forward to hear from you.
    Many Thanks,
    Shally
    Message was edited by: testing34

  • Server Push Intermittent message loss

    We are using LCDS 2.6 and using the RTMP port for the server push. However, at times the notifications in between the server to clients goes missing. It works pretty good at times and after some time, it does not shows notification.
    We are using DataTransactionServices for pushing the data from LCDS to the Flex clients.

    Hello,
    We are still facing the intermittent issue with LCDS. Following steps has been done:
    1. We tried different values in DataDestination property like autoSyncEnbaled , cache items and some other properties, but it did not work.
    2. We analysed LCDS logs in log file and found that :
       a. Java Code is pushing updated state to LCDS and message is also routing to client.
       b. At client side UI is receiving old data from LCDS.
    Do you have any idea, why is this happening?
    Gaurav Shukla
    Senior Technical Architect -ADCOE
    HCL Technologies Ltd.
    SEZ, Plot No. 3A, Sector 126, Noida 201301, U.P. (India)
    Mob: +91-9899 89 9189
    www.hcltech.com<http://www.hcltech.com>
    www.hcl.com<http://www.hcl.com>
    cid:[email protected]

  • "Server push" technologies

    I would like to know about the technologies available in Java which could help me achieve something like this...
    "the server sends down a chunk of data; the browser display the data but leaves the connection open; whenever the server wants it sends more data and the browser displays it, leaving the connection open..."
    Basically the server should have the ability to push data whenever it wants rather than the client requesting a data refresh after a fixed interval of time so that I can create a real-time online system.Also, this should be possible over the "internet" across firewalls etc.
    Please let me know if this is possible and how.
    Any tips/ideas/previous experiences of working on such a system would be a big help.

    Have u find out any solution for this? if yes please post ur solution here
    regards
    B.Parameswaran

  • Server Push in Servlets

    Hi AnyOne!
              I have a servlet, and a database . If a column in my table gets updated I
              want all of my clients who are connected to it , to see the refreshed value
              without click any refresh/Reload button on the browser. A kind of
              Server-Push.
              That is, If one client makes changes, then all of the other clients on the
              web should get intimated.
              How can I achieve this ?
              thanks
              vikas
              

    I read the OP's message and imediately thought oh, cool, MVC candidate :-)          If I wanna talk about MVC I would prefer Sun's Design Patterns group.
              Kumar.
              [email protected] wrote:
              > "Mettu Kumar" <[email protected]> wrote in message
              > news:[email protected]...
              > > Ryan,
              > >
              > > I was not commenting on MVC pattern. I am talking about the problems
              > > pushlets implementation could potentially cause.
              >
              > Mettu, we completly crossed paths my friend. I read the OP's message and
              > imediately thought oh, cool, MVC candidate :-) Silly me! I understand what
              > you are talking about now :-)
              >
              > > 1. If you are serving 10,000 clients, probably a given instance your
              > server will
              > > be serving 100 or 1000 of the them. but with pushlets you have 10, 000
              > > conenctions open siumultaneously and your server is serving all the client
              > 100%
              > > of the time.
              >
              > No, you're right that isn't good.
              >
              > > Do you think this would scale? Imagine the number of threads on server.
              > > 2. This could potentially bring down the web server you are using.
              > >
              >
              > It would scale right up to the time the server came crashing down :-) Yes,
              > if the server kept a single connection, thread of execution, open to every
              > client while the client was running that would be not so hot indeed,
              > especially if your clients increased exponentially. This is precisely why I
              > like the callback method on each client, kind of a pain to implement though.
              >
              > >
              > > Kumar.
              > >
              > > [email protected] wrote:
              > >
              > > > I wasn't referring to the article on pushlets you mentioned when I said
              > the
              > > > idea of MVC was a valid one, nor have I read the article as I respond
              > but
              > > > heres the idea I was describing which is based on the concept of MVC.
              > It
              > > > provides perfectly for the scenario the OP described IMO. I think, at
              > least
              > > > based on what I've seen, that the notion of MVC in the J2EE sector is
              > used
              > > > mostly as a means to seperate business logic from presentation logic.
              > It
              > > > doesn't allow for any mechanisms to notify the ``views" when data
              > ``model"
              > > > changes. This is no big deal I guess for most applications but it does
              > > > break the MVC paradigm IMO. To aleiviate this problem we incorporate an
              > > > observer pattern to notify each subscribing view when the model changes.
              > > > There really isn't any difference in my mind between push and pull where
              > > > pull is a standard RFC 2616 request and push is a simple callback to the
              > > > object registered with the controller (servlet, jsp). If the server can
              > > > handle a thousand or so concurrent requests why couldn't it handle a
              > > > thousand concurrent callbacks. You could probably improve this by
              > > > multi-threading the controller. Just some thoughts I would like to hear
              > > > yours :-)
              > > >
              > > > ~Ryan
              > > >
              > > > "Mettu Kumar" <[email protected]> wrote in message
              > > > news:[email protected]...
              > > > > Ryan,
              > > > >
              > > > > Did you ever try to use to Pushlets serving thousands of clients?
              > > > > Why did you think its a good design? If you feel its a good design,
              > let
              > > > us
              > > > > know whats good about it.
              > > > >
              > > > > Kumar.
              > > > >
              > > > > [email protected] wrote:
              > > > >
              > > > > > "Mettu Kumar" <[email protected]> wrote in message
              > > > > > news:[email protected]...
              > > > > > > Vikas,
              > > > > > >
              > > > > > > There was a article about the same in java world a while back.
              > > > > > > http://www.javaworld.com/javaworld/jw-03-2000/jw-03-pushlet.html
              > > > > > >
              > > > > > > But I believe this is bad design. I don't think using opened HTTP
              > > > > > Connections
              > > > > > > to do a real time operation is not a good Idea. What if you are
              > > > serving
              > > > > > couple
              > > > > > > of hundred clients?
              > > > > > >
              > > > > > > Kumar.
              > > > > > >
              > > > > >
              > > > > > It's a perfectly valid design. OP, check out MVC and the observer
              > > > design
              > > > > > pattern I think you'll find what you're looking for there.
              > > > > >
              > > > > > ~Ryan
              > > > > >
              > > > > > > Vikas Jolly wrote:
              > > > > > >
              > > > > > > > Hi AnyOne!
              > > > > > > >
              > > > > > > > I have a servlet, and a database . If a column in my table gets
              > > > updated
              > > > > > I
              > > > > > > > want all of my clients who are connected to it , to see the
              > > > refreshed
              > > > > > value
              > > > > > > > without click any refresh/Reload button on the browser. A kind
              > of
              > > > > > > > Server-Push.
              > > > > > > > That is, If one client makes changes, then all of the other
              > clients
              > > > on
              > > > > > the
              > > > > > > > web should get intimated.
              > > > > > > >
              > > > > > > > How can I achieve this ?
              > > > > > > >
              > > > > > > > thanks
              > > > > > > > vikas
              > > > > > >
              > > > >
              > > > >
              > >
              

  • How to get and maintain Http persistent connection to get pushed data from

    At MangoSpring ,www.mangospring.com we are working on application which uses IMPS protocol where we always required to receive data pushed by server.
    To achive this we'll have to maintain one persistent Http connection on client side, so that we can be notified whenever some data is pushed by server.
    Reply With Quote

    our problem is :: " How to get and maintain Http persistent connection to get pushed data from Server "

  • Lion Server push notifications to iOS 5 only partially working

    I'm attempting to enable push notifications from my 10.7.2 Lion Server to my iOS 5 and Lion clients. All services (OD, Calendar Server, Mail, DNS, etc.) are running off of the same server. Push for Lion clients works fine for IMAP and CalDAV. I see "Push" in iCal preferences -> account settings.
    For iOS 5 however I  only see push enabled for Mail. I have confirmed it works as well. However, Calendars and Contacts show "fetch" in Settings -> Mail, Contacts, Calendars -> "Fetch New Data" -> Advanced.
    iChat is running. I've verified all the iChat related ports are opened in the firewall.
    I have a "real" certificate for my domain and clients are pointed to that domain name.
    There are no errors in the logs. The caldavd configuration file in /etc/caldavd/ looks fine.
    I'd appreciate any ideas where else to look!

    Not sure but in well known ports is this
    2195
    TCP
    Apple Push Notification Service (APNS)
    Push notifications
    2196
    TCP
    Apple Push Notification Service (APNS)
    Feedback service

  • Which tech can replace applet to implement server push model

    We have implemented server push real-time datas to client with Applet+JSObject. but there is a thing we can not do well. When some users have intalled jre not same with our default, the applet run fail. So we are finding another tech to implement server push model.
    Any suggestions!
    client polling to emulate server push is cancelled.
    Thanks very much!

    linuxhippy wrote:
    well you can do it with polling - i have implemented such a system and it works very well.how many clients do your system support ?
    polling period ?
    what third-party libs ?

Maybe you are looking for