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 ?

Similar Messages

  • Which method can replace parseQueryString()

    Hi,
    javax.servlet.http.HttpUtils.parseQueryString(java.lang.String s) which is used to parse a query string passed from the client to the server and builds a HashTable object with key-value pairs has already been deprecated. I got the warning when I compiled the code. What's the method can replace parseQueryString() which can provide me the same functionality ?
    many thanks.

    From the API Docs for HttpUtils
    Class HttpUtils
    java.lang.Object
    |
    +-javax.servlet.http.HttpUtils
    Deprecated. As of Java(tm) Servlet API 2.3. These methods were only useful with the default encoding and have been moved to the request interfaces.
    This means that you will need to use the HttpServletRequest interface methods.

  • 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

  • Implementing Server Push

    How can i implement a server push in my jsp pages?
    any sample code would be appreciated.
    The server pushes the data to the jsp when the
    database changes because of an update.
    Thanks

    Http is a stateless protocol and cannot maintain a connection to the server. I am working on a project now that has the same type of requirement and we are using pushlet technology. You should have a look at the following
    www.pushlets.com
    Hope this helps
    SD

  • Which module can replace GLC-GE-100FX= ?

                       Hi ,
    I have to replace the GLC-GE-100FX= modules with spare ones available , can any one suggest me which can be used to replace this one with added advantages ?
    Regards,
    Arun

    Hi Arun,
    What router or switch are you using it in? You can find the list of compatible transceivers by the platform or linecard here:
    http://www.cisco.com/c/en/us/td/docs/interfaces_modules/transceiver_modules/compatibility/matrix/OL632702.html
    Kind Regards,
    Ivan Shirshin
    **Please grade this post if you find it useful.

  • Services which can be utilised for assessing server performance

    hi all,
    Our IT team has arranged a tool through which they monitor all the servers. Our SAP server is on AIX OS and database is Oracle.
    currently they are monitoring only RAM,CPU and other resource requirement.
    Now we want to extend these monitoring for our applications. Can you tell me what all process should be monitored from which we can understand whether our sap server is up and running or not?
    Regards,
    Priya

    Hello,
    You need to setup CCMS monitoring to do this.
    Further details on setting up CCMS monitoring -
    http://www.sdn.sap.com/irj/sdn/operations?rid=/webcontent/uuid/605a899b- [original link is broken]
    4038-2a10-d491-af6ba6c2506a
    This link is a bit more specific:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/f6/24423c0bcc4a7ee1000000
    0a114084/frameset.htm
    regards,
    John Feely

  • Support for SWF Verification in the reference implementation server

    The Server for Protected Streaming provides a way to configure a whitelist of allowed SWF hashes.  However, from what I can tell, the reference implementation server does not have this capability.  Any suggestions on how to implement SWF Verification in the reference implementation server ?

    To use SWF whitelists with the Reference Implementation, set the SWF  whitelist in a policy, and use that policy when packaging the content.  When issuing a license, the Reference Implementation will use whatever  restrictions were specified in the policy at packaging time.  Alternatively, since the Reference Implementation ships with source  code, you can modify the server so you can specify the SWF whitelist  information at the time the license is generated.

  • Server push with Javamail: idle() blocks

    Hi,
    today I tried to implement server push functionality in my mail application via Javamail.
    I did this by calling the following method everytime Javamail creates a new Folder instance for me:
    private void activateServerPush(Folder f) {
         if (f instanceof IMAPFolder) {
              final IMAPFolder ifo = (IMAPFolder) f;
              ifo.addMessageCountListener(new MessageCountListener() {
                   @Override
                   public void messagesAdded(MessageCountEvent arg0) {
                        DebugPrinter.print(this, "messagesAdded event called");
                        clear(false, true); // Clear cache
                        onMessageCountChanged();
                   @Override
                   public void messagesRemoved(MessageCountEvent arg0) {
                        DebugPrinter.print(this, "messagesRemoved event called");
                        clear(false, true); // Clear cache
                        onMessageCountChanged();
              MyThread thread = new MyThread() {
                   @Override
                   public void run() {
                        while (true) {
                             DebugPrinter.print(this, "Before idle");
                             try {
                                  ifo.idle();
                                  DebugPrinter.print(this, "After idle");
                             } catch (MessagingException e) {
                                  // TODO Auto-generated catch block
                                  e.printStackTrace();
                             DebugPrinter.print(this, "After idle try");
              // Start thread
              ServletThread.EXECUTOR_SERVICE.submit(thread);
    }Now, when I run the code above, I only get "Before idle" as output.
    The rest won't be printed so it seems like idle() is blocking.
    Also, the event listener messagesAdded(...) are not called. I tried this by sending an email to myself but nothing happens.
    What's wrong?

    Hi Bill and thanks for your reply.
    How does the idle command (line) look line in the debug output?
    I simply did a full text search for the word "idle" (ignore case) of everything that got printed to console and only found this:
    DEBUG: mail.imap.minidletime: 10
    * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS AUTH=PLAIN AUTH=LOGIN
    A2 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS] Logged in
    Also, I noticed that the line "Before idle" (See source code in my initial posting here) gets printed but AFTER that line I can't find anything else that could refer to the idle command.
    When I leave Apple Mail (my default native email client on my computer) open, the email that I sent gets correctly (instantly) pushed.

  • Mac desktop. 10.6.8. Text edit. Not locked. Read and write. Still, documents are locking when they are moved from desktop to another folder on the server. Techies can't figure it out here. What am I not doing?

    Mac desktop. 10.6.8. Text edit. Not locked. Read and write, not read only. Documents are locking when they are moved from desktop to another folder or saved directly into that folder on the server. Not happening with anyone else but me and the boss's computer so has to be in the properties for my text edit software. Techies can't figure it out after trying for two weeks. Boss can do a cut and paste and put into a new document, but that's starting to become a problem.

    Mac desktop. 10.6.8. Text edit. Not locked. Read and write, not read only. Documents are locking when they are moved from desktop to another folder or saved directly into that folder on the server. Not happening with anyone else but me and the boss's computer so has to be in the properties for my text edit software. Techies can't figure it out after trying for two weeks. Boss can do a cut and paste and put into a new document, but that's starting to become a problem.

  • Is there any JavaEE sample application somewhere which can be runnable by Weblogic server ?

    Is there any JavaEE sample application somewhere which can be runnable by Weblogic server ?
    I would like to learn how JavaEE application and framework work on Weblogic.
    Or is there any e-learnign seminar or how to video ?

    Is Google broken for you?
    Just search for them (e.g. 'weblogic java ee tutorial') and you will find more than you can use.
    https://netbeans.org/kb/docs/web/jsf-jpa-weblogic.html
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/jdev/obe11jdev/11/oepe11g/introeclipseide.htm

  • Is there a command which I can use to dump all the configurations as I set out in System Preferences on the Server?

    Hi folks,
    I am planning to reinstall OS X 10.6 on my Mac Server.  As such I need to collect all the configurations like User Account, User Password, File Sharing... which all are previously setup in the System Preferences.
    Instead of writing them down on paper, is there a command which I can execute to dump all these data to a file so that I can refer to them easily?

    I support Mac OS X Server at some schools, so I run it as a Home Server.
    I do not understand your question.
    Server is a package of additions that runs with Mac OS X as if it were part of the Operating System (login is not required for Server components to start up). It is not a wildly different Operating System. There is even an Installer package that allows you to ADD the server componets to an already-installed Mac OS X
    User information such as Preferences are stored in a /Users/<user_name>.
    This does not change after you install Server, but you can move the Users folder elsewhere, or you can move the Users accounts to an Open Directory database.

  • Where can I find a sql server 2000 driver which supports JDBC 2.0?

    Where can I find a sql server 2000 driver which supports JDBC 2.0?
    Thanks!
    Paul.

    Here is another.
    http://www.datadirect-technologies.com/download/downloadindex.asp
    The JDBC 3.0 driver will work in a JDBC 2.0 environment (i.e with J2SE 1.2 or 1.3)
    provided you use only JDBC 2.0 features of the driver
    "Sree Bodapati" <[email protected]> wrote:
    >
    >
    http://msdn.microsoft.com/downloads/default.asp?URL=/downloads/sample.asp?ur
    l=/msdn-files/027/001/779/msdncompositedoc.xml&FinishURL=%2Fdownloads%2Frele
    ase%2Easp%3FReleaseID%3D38312%26area%3Dsearch%26ordinal%3D1%26redirect%3Dno
    Microsoft.com downloads :)
    http://www.inetsoftware.de/English/Produkte/JDBC_Overview/ms.htm
    www.inetsoftware.de
    are a couple.
    sree
    "pronane" <[email protected]> wrote in message
    news:[email protected]..
    Where can I find a sql server 2000 driver which supports JDBC 2.0?
    Thanks!
    Paul.

  • OS X Server Error: No existing connection from which credentials can be copied. It will not let me get out of the screen.  I have to close the Server App to get out. Any suggestions?

    Editing any user profile, when I try to save the change I get the error: no existing connection from which credentials can be copied. It will not let me get out of the screen.  I have to close the Server App to get out. Any suggestions?

    This is also being disucssed somewhere else https://discussions.apple.com/thread/5486117. I have the same problem, sorry i can't help.

  • Technology P2P with JAVA (How can i do for implement this tech with JAVA B)

    Thanks for read this message,,, I will glad with you if you can help me...
    I would like desing, make, build, a point to point aplication with JAVA Builder, I have been reading about sockets but its not enought,,,,,,
    can you help me????
    Thanks

    Well , thanxs for take attention,,,
    I need some information about Point to Point tech because I would like to make an aplication with JAVA Builder...
    First step is to know how works the point to point...could you give me some links?
    Second step is to know how can I do for implement this tech?
    Third step is to know Is Java Builder the most indicate languaje for this aplication?
    Fourth step is - if Java Buider is the indicate tool, What have to know for make the aplication?
    Well,,I dont speak english very well but is the best that i can do?
    BYE

  • IMAC 2010 which HDD can I use to replace the malfunctioned Seagate Barracuda 7200.12 1TB?

    iMAC 2010 which HDD can I use to replace the malfunctioned Seagate Barracuda 7200.12 1TB?

    After doing a bit more research, the 2010 iMacs do appear to have a third cable connecting to the  hard drive, for the internal temp sensor.  This would appear to be the block of 8 pins that are on almost all drives, but they are normally intended for jumpers.  Unfortunately I was unable to find any documentation or specs that would indicate this pin block connects to the internal temp sensor on either standard (non-Apple) WD Black or Seagate 7200.12 drives.
    I did find some info that may be of some use:
    WD: Where to connect an external temperature sensor to a Serial ATA or EIDE hard drive.iFixit: Replace the hard drive, how do I connect the hard drive thermal sensor?
    Apple Technician Guide: iMac 2010 27" (mid-2010)
    Various discussion threads I found through google searching indicated some people succeeded with installing an external temp sensor on the body of the drive.
    Sorry I couldn't help more.

Maybe you are looking for

  • How do I find a purchased app that is not showing up in the purchases tab?

    I am trying to help a friend install OS X 10.8. She purchased it about 3 months ago but wasn't too sure about installing it. Today, I looked up the order number, and it is confirmed that it has been electronically delivered via e-mail. I couldn't fin

  • I need help for all you wise Mac users... please

    Yesterday, my beloved Mac started acting strangely. Just before that, I uploaded some photos my daughter emailed to my yahoo address. I placed the 8 photos in IPhoto, then tried to go back to Pogo.com where I spend most of my puter time. (Pogo is ver

  • I have one song that will not transfer from iTunes to iPod Touch

    I have one song that at one time was on my iPod. I have since bought another version of the song and since then the newer purchase of the song is on the iPod but the first one I bought is in iTunes but is not on my iPod any longer. I have tried to tr

  • AR-Dunning levels

    Hi, We have a scenario like this: A customer has two dunning levels.  He has been dunned for 1st level with 3 open items.  Later on, 5 more items have been posted. When trying to dun the customer, the system gives 2nd dunning level to fist 3 items an

  • Can't run sample1.pc of ..\precomp\demo\proc

    Hi, My developing environment is on UNIX system. I have successfully compiled/linked the "sample1.pc", which is located in "$ORACLE_HOME/precomp/demo/proc", by entering such command line: make -f demo_proc.mk sample1 However, I failed to run it. The