Is this possible?  -- The servlet itselt has to update all its clients.

Hi,
I need to update the values of clients pages , when ever a request to the servlet arrives.
namely the servlet has to update all its client's HTML pages,when ever a new request is sent from any one of its clients.
for an example.
consider the value of a variable A in servlet is 1, initially
Three pages[b] m1,m2,and m3 are accessing that servlet
and value of[b] A is displayed in m1,m2 and m3
if m1 calls the servlet and updates the value of A to 2.
Then this updation has to be reflected in m2 and m3 also.
This must not be done by the clients,by refreshing itselt, or by sending a request to the servlet at certain intervals.
The servlet itselt has to update all its clients.
Regards
-John-

Not having used pushlets myself, but having heard about them many times before, I took a look at the article.
Interesting. It never closes the connection to the client, so can keep sending additional info. It seems to solve the problem of updating the page. But at what cost?
When does the "updating" of the page stop?
How do you know if the user is still alive?
How many "listeners" will it be able to handle at one time?
Would the users session expire if they left it on this pushlet page?

Similar Messages

  • I had two iPhoto libraries. I erased one of them (which disappeared in the paperbasket - as planned. The otherone, however has now lost all its Keywords... Is there anything what I can do to get my keywords back????

    I had two iPhoto Libraries with different content (on an external drive). I had to erase one of the libraries, and it disappeared - as planned - in the paperbasket.
    The other (untouched) library, however has now lost all Keywords, and it needs quite awhile (the ball is spinning "for hours") to build up all events (order still like before the keyword desaster.
    What can I do to get the keywords back?
    Börries

    To be more clear: All fotos had been "imported to their foto libraries" by just standard means - no shifting no erasion etc. etc. just regular Upload in one of the two iPhoto libraries by "import".
    "Or load your backup from before this happened"
    This answer seems to be pretty close to a solution - but, I need help in a step-by-step-way:
    My library is located on an external LaCie hard drive - which is to the best of my knowledge not covered by Time Machine. With other words: Time Maschine is not useful here. Is there another backup procedure (possibly from within iPhoto) which I could use to rebuild the keywords from an earlier backup. That would solve 99% of my problems and is fine.
    Sorry for being so helpless, but it seems to me as if you had come quite close to a solution....
    Best,
    Börries

  • How do I create a "place" in iPhoto's Places list? Is this possible the way it's possible to create albums? Also, how do I assign a place to a photo or vice versa?

    How do I create a "place" in iPhoto's Places list? Is this possible the way it's possible to create albums? Also, how do I assign a place to a photo or vice versa?

    Select a Photo in the iPhoto Window and click on the 'i' button lower right. This uncovers the Info Panel, and you can assign a Place there. Search on the name of the place and then move the pin to where you want it. This is all covered in the Help and in the tutorials.
    http://www.apple.com/findouthow/photos/#places
    Regards
    TD

  • I'm trying to find instructions on replacing the memory module in an older MacBook (1,1). This is the model that has the battery on the back. Anybody know where I can get this info? (It's not listed in the Apple Support info)

    I'm trying to find instructions on replacing the memory module in an older MacBook (1,1). This is the model that has the removeable battery on the back. Anybody know where I can get this info? (It's not listed in the Apple Support info)

    Video of the installation here:
    http://eshop.macsales.com/installvideos/macbook_13_mem_hd/
    MtD

  • My feeds are updating but the iTunes store has not updated

    I put my rss feed up on feedburner and all my feeds have updated but the iTunes store has not updated. I was wondering if there a simple explanation for it. Subscribers to the podcast have gotten the most recent update but the store hasn't reflected the new changes.

    When you add a new episode to your feed and upload it, it appears immediately for subscribers because their iTunes application reads the feed directly and the Store is not involved.
    However because of the huge number of podcasts in the Store (thousands) the Store caches the feed and checks it for updates periodically. For this reason it usually takes 1-2 days for new episodes to appear in the Store: sometimes it can be less, and occasionally the whole process seems to get stuck and it can take several days.
    All this assumes that you haven't made an error of some sort in adding your episode: it's not possible to comment on that unless you would like to publish the URLs of both your feed and the Store page - this latter can be found by control-clicking on the podcast image (or where it should be) - and choosing 'Copy link'.  Please include the http:// in both cases to make the links clickable.

  • Is there any way that I can get back my iPhoto?  After having hard disk replaced (no backup) and the operating system has been updated to Lion (no disc) I am wondering if iPhoto can be reinstalled with my Leopard discs?

    Is there any way that I can get back my iPhoto?  After having hard disk replaced (no backup) and the operating system has been updated to Lion (no disc) I am wondering if iPhoto can be reinstalled with my Leopard discs?

    As Niel pointed out, yes.  The disk probably will look like the MBP disk (4) in this screenshot;
    OT

  • Photos must quit because the photo library has become unavailable or its data is corrupt

    Hello,
    As many of you, I've installed photos. This is my problem: I am an enthusiastic photographer that keeps around 10K photos per year (approx. 60GB), and while I have several years of pictures, I've just get the last 5 years. To be honest, I never liked iphoto to organize my pictures, I rather use Picasa. The way how pictures get organized, the poor effects tweaks to photos, the lack of freedom to keep an online folder...etc.
    But with this new Photos, well, what the heck let's give it a chance.
    It seemed cool, all my devices connected, iCloud (very limited storage though), new nice quick effects... the organization of pictures also seemed improved. the UI as usual with apple apps, pretty neat and clean.
    Did I mentioned that I have several hundreds of GB of pictures? Well, a detail, I keep it in my time capsule to have them handy when I need it. With picasa, I just need to ensure that time capsule is waked, and pictures get recognized at once.
    With photos, I've tried with 1 year, 10,000 pictures and.... very disappointed, it shutdown every 1 minute saying "Photos must quit because the photo library has become unavailable or its data is corrupt"...
    Do I missing something here? is this supposed to be better than iPhoto? Time Capsule is not able to send steady signal to get my library online?

    Not sure exactly whats going on with that given how new Photos is. But, Picasa works because differently than Photos because it doesn't use a centralized library. Picasa will just scan the entire computer and reference it in that location. Photos libraries, while sometimes problematic, are superior because as you've experience moving all the content is as simply as moving a single file.
    Suggestions I would try:
    Make sure Photos is quit. Hold down Command + Option on keyboard and click Photos icon to launch. Keep holding until you get a dialog box about repairing the library.  Proceed with repair.
    Move the library, if size permits, to your local HD on the computer and attempt to open and use.
    Create a new library by holding Option on keyboard and launching Photos.  Choose to create a new library and make sure it's placed in your ~/Pictures folder. If that works you know its library specific.
    Right click on the external drive (also accomplished by holding Control when click), choose get info on the drive.  Bottom of new window expand (if not already) the sharing and permissions section.  Click lock icon and provide administrator password. If available, which it should be if using same drive for a Time Machine backup, check box to ignore permissions.

  • Error message: Photos must quit because the photo library has become unavailable or its data is corrupt.

    I suddenly get this error message when trying to open and use Photos. "Photos must quit because the photo library has become unavailable or its data is corrupt."
    I can't find a solution to fix the problem.

    The only version of iPhoto that works with 10.10.3 is iPhoto 9.6.1 which must be downloaded from the App Store. What version of iPhoto do you have installed?

  • I have iphone 4 ios4.3.5. the facetime button has disappeared from all the contacts?

    I have iphone 4 ios4.3.5. the facetime button has disappeared from all the contacts? What to do?

    Depending on where you are located at, some governments have required Apple to disable the Facetime ability in their countries.

  • This morning the Iphone prompted me to update software. After that it said my phone was in recovery mode and I had the restore my phone. Now most of the apps are muted and don't respond, help!

    This morning the Iphone prompted me to update software. After that it said my phone was in recovery mode and I had the restore my phone. Now most of the apps are muted and don't respond, help!

    First, in iTunes, launch Preferences and go to the Devices tab. Check the date and time of the last backup. If it is recent you can restore it. However, if you mean you have the photos back in your Camera Roll then the backup was already restored. To get your music and apps back it should just be necessary to click "Sync".

  • I am updating my iPhone4s with the most recent OS7.3software update and its been almost 3 hrs now and it has not completed its update. It is still " verifying updated iPhone software. How long does it take for the update to be completed. Thanks

    i am updating my iPhone4s with the most recent OS software update and its been almost 3 hrs now and it has not completed its update. It is still " verifying updated iPhone software. How long does it take for the update to be completed. Thanks

    Well the term "hotlined" I have never heard before. In any case many states (like NY) just passed regulatory powers to the State Public Service Commission of which it may be called something different in your state. You could file a complaint with them. Or file a complaint with your state attorney generals office, they also take on wireless providers.
    The problem here is the staff you speak to are poorly trained, in days gone by it took one call to them and they pulled up your account and see the error and had the authority to remove any errors. They did not remove legitimate account actions, but used their heads instead of putting a customer off or worse lying to the customer.
    Its a shame you have to go through what you going through.
    Good Luck

  • OSB11134:the service is not testable since all its operations require Java

    I was trying to Invoke the OSB Proxy service from weblogic Launch Test Console....but "Launch Test Console" icon is disabled.
    it shows the message *"the service is not testable since all its operations require Java arguments""* when I move cursor on top of the icon
    I am using OSB 11.1.3.4.
    Can some one help on this?
    Thanks in Advance.
    AB

    Export your project and send the exported jar to my id. By default, the name of exported jar is sbconfig.jar
    http://download.oracle.com/docs/cd/E17904_01/doc.1111/e15867/import_export.htm#CIHHEJFJ
    Regards,
    Anuj

  • Is this mean, the ATM card has not been trained?

    I tried to find the following info, but no luck.
    Is that mean the ADSL line has no dial tone?
    ro1-10000#sh dsl int atm 0/0/0
    ATM0/0/0
    Alcatel 20190 chipset information
    Line has not yet been activated.
    Modem Status: Down (DMTDSL_DO_OPEN)
    DSL Mode: Unknown
    Interrupts: 4037485 (0 spurious)
    PHY Access Err: 0
    Activations: 0
    LED Status: OFF
    LED On Time: 0
    LED Off Time: 0
    Init FW: init_AMR-R-2.5.042_no_bist.bin
    Operation FW: AMR-R-2.5.042.bin
    FW Source: embedded
    DSL: Training log buffer capability is not enabled

    Yes, it cannot activate DSL line. The line may or may not have dialtone for a telephone, that is unrelated to DSL working.
    If the line is known to work with another modem/router, try upgrading ADSL firmware going to:
    ftp://ftp.cisco.com/access/800
    download Fw 3.0.x and the related installation instructions.
    Hope this helps, please rate post if it does!

  • I can't delete a file in the trash that has strange symbols (␀ ␀獭潤) in its filename.

    There is a file in the Trash with a filename containing strange symbols, along with some Chinese characters. For some reason when I empty the Trash, all files are deleted as expected, expect this one particular file. The symbols are: ␀ ␀獭潤 — although some of the symbols I was unable to copy, which is probably why they are causing problems.
    How can I get rid of these files? Even in Terminal it says that the file does not exist.

    I'd like to point out that in my problem, the problematic file is actually on a USB drive, not on the Mac's internal drive. The USB is formatted FAT32.
    Anyway, I ended up reformatting the disk since it's an external drive so it wasn't much hassle. It's essentially like nuking the whole thing, which is a bit overkill, but I couldn't figure out how to fix this since the two apps recommended by the link you provided (Trash It and Cocktail) both failed to delete the file.

  • When I updated my apps, the apps are not updating but say waiting.  This is the 5th day they say updating.  What can I do?

    Last week, I hit update all apps.  Unfortunately, the apps have not updated and continue to say waiting.  What can I do to fix this, so I can use the 26 apps that are pending?

    If there are multiple apps trying to download at once, only one can download at a time and the rest say "Waiting" until it is then their turn. Try this. Double tap the icon of the Waiting app, and it should resume the download.
    Another thing to try - Turn the iPad Off & then back ON.
    If that doesn't work:
    •  Log out of your iTunes store account.  Go to Settings > Store > Sign Out Then press the Home button.
    • Then press and hold the Home and Sleep buttons simultaneously and don't release them when it brings up the Turn Off screen; keep holding them until the Apple logo appears.
    • After restart, the Waiting should be gone.
     Cheers, Tom

Maybe you are looking for

  • FIS2R ... USB Usage ... Anyone here using 5 or more USB devices? ..with stability? Sound off!

    I have 6 currently... WebCam Scanner USB Extension (for DigiCam) Keyboard/Mouse Receiver UPS Communication ...ummm.. thinking... mess of tangled fire hazards in mind.. rummaging.. ehm... ...still thinking.. *counts on fingers* I swear I have all 6 re

  • Creating Global Roles in 9.1 using WLST

    Hi, Did anyone try creating Global Roles in Weblogic 9.1 ? Since in Weblogic 9.1, the Authorizer and Role Mapper providers are XACML based, I am not sure if we can use WLST offline to create global roles. Can someone please shed some light on this. T

  • Send group mail

    hi all,     how can send group mails are attached to one name( ex:sap team: sapteam )  in reports . if it possable ,please send the code.

  • I lost my files - How to get them back?

    HI GUYS, Recently I realized that some videos and picture's files simply disappear from my HD. I need a Disaster Recovery Software, Quick file recovery I think it was an accident file deletion or a hardware failure, but not a virus attack! What shoul

  • How do you upgrade from Aperture trial version?

    I have the Aperture trial version. When I open it, I get an option to buy it....and I have just three days left on my trial. So I click BUY - and everything flakes out. It opens a window or two, along with Safari, with a URL that doesn't work - http: