Updater desktop application via servlet

Hello
I am having a desktop application an i want to write an updater to download new versions of application.
Is it possible to do that with help of o servlet? Because i want the user to send same informantions to certificate to the server and then if it is ok to download the new version of the application or the jars that have change automaticaly.
Any other suggestion about this?

Yep, that should work ok, but you will have 2 types of updates to do:
1-update of your application, not a problem from your updater
2-updating your updater
You are going to run into a problem having your updater running and trying to update it, you cannot replace/delete a file that is already open, so here you'll have to go with a shutdown/startup replacement method.

Similar Messages

  • Netbeans Java Desktop Application Problem

    Hi
    I have build a java desktop application via netbeans and it creates a jnlp file to execute this applets however in my project when i press a button on an applet it opens another applet and send some parameter via html file how can i do that in desktop application because it doesnt have html file it only has jnlp file ?
    Thanks

    I guess I didnt make myself clear enough,I dont want to use another applet's public methods I want to execute it
    Lets make a scenario
    assume that I have an applet a and applet b
    on applet a there is a button called open applet b and when somebody press this button applet b will be opened
    Before I was doing that like this
                URL page = new URL("http://www.xxx.edu.tr/~team5/nps/build/giris.html");
                getAppletContext().showDocument(page,"_self");but now I made the project netbeans desktop application so I dont have any html file I only have jnlp and jar files
    so what should I do to maintain opening an applet from another applet?
    Thanks

  • BUG: Forced Restart Via Creative Cloud Desktop Application Installer

    Hey guys, I was trying to install a few adobe products and have been encountering strange errors.
    The following bug has been experienced when trying to install Adobe Application Manager, Adobe Photoshop, Adobe Dreamweaver, and Adobe Illustrator.
    Program will install to about 44% or so and then say "extracting". After extraction, it displays the %installation, increases about 4-10%, then forcefully restarts my computer.
    According to my computer, no errors are present (looked in the events log)
    Here are the following things I have tried to remedy this issue.
    Running windows update for all general updates and going to intel to update graphics driver.
    1.  a. Removing all Adobe applications via control panel and using the Adobe CCleaner utility.
         b. Re-installing Creative Cloud w/ administrator privileges
         c. Attempting to reinstall application.
    2. Tries the above but in Safe mode.
    3. a. Looked at computer resources to make certain CPU wasn't somehow overheating.
        b. CPU temperature was not adversely affected nor did the utilization rate of any resources(CPU, GPU, Drive, Network) exceed 25%
        c. Viewed the event logs to determine if any errors were present. The even log displayed no errors had occurred during any of the forced restarts.
              On a side note- I found that despite Skype being told not to start-up on boot, it is actually reducing my boot time by 6 seconds!
    4. Went into advanced settings and unchecked the box that allows windows to automatically restart on error.
    I am at a loss as to why it is forcibly restarting my computer. Adobe products are the ONLY products that I have experienced any issues with during installation.
    However, in order to remedy this issue here is some information regarding computer specs.
    OS Name
    Microsoft Windows 8.1
    Version
    6.3.9600 Build 9600
    Other OS Description
    Not Available
    OS Manufacturer
    Microsoft Corporation
    System Name
    ZAYIK
    System Manufacturer
    Dell Inc.
    System Model
    Inspiron 5520
    System Type
    x64-based PC
    System SKU
    Inspiron 5520
    Processor
    Intel(R) Core(TM) i7-3632QM CPU @ 2.20GHz, 2201 Mhz, 4 Core(s), 8 Logical Processor(s)
    BIOS Version/Date
    Dell Inc. A14, 5/13/2013
    SMBIOS Version
    2.7
    Embedded Controller Version
    1.01
    BIOS Mode
    UEFI
    BaseBoard Manufacturer
    Dell Inc.
    Platform Role
    Mobile
    Secure Boot State
    On
    PCR7 Configuration
    Binding Not Possible
    Locale
    United States
    Hardware Abstraction Layer
    Version = "6.3.9600.17196"
    User Name
    Zayik\ZAYIK\David
    Installed Physical Memory (RAM)
    8.00 GB
    Total Physical Memory
    7.87 GB
    Available Physical Memory
    5.69 GB
    Total Virtual Memory
    9.12 GB
    Available Virtual Memory
    6.76 GB
    Page File Space
    1.25 GB
    Graphics Card
    Intel HD 4000
    This is quite a fatal bug and I am hoping we can find a solution so others will have a place to turn to if they encounter the same bug. 

    Hi pillguy,
    Please let us know the network environment are you in?  Which operating system are you using?  Do you utilize a proxy server or a software firewall?.
    Please try the steps mentioned in the kb: http://helpx.adobe.com/creative-suite/kb/remote-server-responding-installing-aam.html / http://helpx.adobe.com/creative-suite/kb/error-update-server-repsonding-cs4.html .
    You may even try download using different internet connection if possible.
    Regards,
    Romit Sinha

  • Cannot update applications via iphone

    I have had my iPhone 3gs 16gb for about two weeks. The day I got it I updated to 3.1.2 software. Since then some apps will update and some won't. Currently I am trying to update Recorder. I get the message "Cannot connect to iTunes Store". I have tried to update the application with wifi at home and at work. I have turned off the wifi and tried updating the app with 3g network and I have tried it with the 3g network and wifi turned off using only the Edge network. All attempts have resulted in the same message. I also tried restarting the phone. Then I tried resetting the network settings.
    I can connect to the iTunes store and download music without any problems. I can delete the application and re download it from the app store, but when I did this it did not recognize that I already own the app and I was charged for the application that I already owned. I am able to update the applications through iTunes on my laptop, then sync to get the application updated that way. This does not address the issue that I cannot update applications through my phone though.
    If anyone has any thoughts please let me know. Thank you for the help.

    We have had that issue on my wife's phone, but like you said its not really a big deal. Just enter the correct password for the login. This is not the case with my phone though. It does not prompt for any other account. It just gives the error message. I've had iPhones for a couple of years now and 99% of the apps we share were bought through my account since my wife has only had hers for a couple of weeks. The apps I've had the problem with so far were bought through my account. I've tried everything I can think of with no luck so far. The first time I noticed this I updated about 6 apps at once and only one of them gave me this issue. That was Gym Buddy. I deleted it from my phone and re-downloaded it, but instead of notifying me that I already owned the app and it was free to download, it charged me for it as if it were a new purchase. The next app I experienced this with was the Recorder app. I downloaded the update via iTunes and synced my phone to install the update. I haven't had any other updates yet but I'll let you know if I have any other problems and what app it is. Again, if anyone else has had this issue and found a solution, please let me know. Thanks.

  • Windows 8.1 desktop empty after updating and application

    I was at the Windows 8.1 desktop. while updating an application (not Microsoft) all seemed to go well. AT the end the desktop was completely empty. No Taskbar, no desktop picture, or desktop icons.
    The Windows logo key on the keyboard wouldn't take me to the Start Screen. Right clicking on the desktop also did nothing. ALl I could think of was to turn the computer off using the power button. Is there a better way?

    Hi,
    I would like to know the certain name of the application you updated.
    It seems that the updating of the application make the explorer.exe crash or no responding.
    I suggest you press ctrl+alt+del, and click Task manager.
    Then end the process explorer.exe, and click File -> Run New task -> type in explorer.exe.
    See what's going on.
    Kate Li
    TechNet Community Support

  • Creative Cloud Desktop Application Manager Unable to Update  New Version of PS CC

    Windows 7, 64 bit
    Received notification of new software for PS CC.  Desktop application manager appears, with a creative cloud note over the desktop app mgr saying:  " A new ver of CC is available.  Update now?"  I click update and launching creative cloud desk appears and disappears.  Note in bottom right tray says update to cc available and it too disappears.
    Looked for help on Adobe website and tried changing name of OOBE to OOBE_old.
    Tried to download update directly from PS CC.  Went to help; update;   It failed to update completely and left the following error message: 
    Adobe CSXS Infrastructure 4
    Installation failed. Error Code: U44M1P7
    Now PS CC has lost some of functionality.
    Marc

    Genius.
    Worked a treat, although, as Lion hides the User's Library folder I had to launch Terminal to make it visible first. Do you think the fact the Library's now invisible might've been an issue here?
    Whatever, all working now and Creative Cloud Files all synced again.
    Thanks very much Jeff.

  • Flash Desktop Application - how to update?

    Hi all,
    I'm trying to put together a flash desktop application. I
    want it show each of my .swf's i created, per month ( i.e. january
    month plays 1.swf, february plays 2.swf, march plays 3.swf etc.)
    how can i code the flash to update automatically or would i
    have to use some external codes to accomplish this?
    is it even possible to update if it's a desktop application?
    any help would be greatly appreciated :)
    thanks !

    quote:
    Another question - what program are you using to publish the
    file as a standalone application that users can download? It seems
    that publishing the flash file as a projector (.exe) file only
    makes it open in flash player
    was that a dumb question?
    I'm using Flash 8. As long as the user has Flash installed in
    their browser than using the .exe file on the computer has no
    issues. I believe that the reason the .exe file is larger than the
    .swf is that it contains the necessary information to run the .exe
    file whether Flash is installed on the computer or not. I haven't
    tested that out yet though.
    Adobe's Air actually allows you to install the application. I
    haven't been able to play with that as of yet, but I have seen some
    people using it and a demo of it.
    *Edit*
    I just tested the application I have out on a computer
    without Flash on it, and it worked fine. So, the reason the .exe
    files are so large is because they contain all the requirements to
    run a Flash app.

  • Desktop application does not update

    My CC desktop application will not update to version 1.6.0.393.  I click on it to update, it downloads thru 100% and leaves the screen.  I can see disk activity and hear the cooling fan kick in but nothing happens.  After an hour or so I try to start the app from the desktop icon and the whole process starts again,
    Any help would be greatly appreciated.

    Link for Download & Install & Setup & Activation problems may help
    -Online Chat http://www.adobe.com/support/download-install/supportinfo/

  • How application call servlet via https

    Hi guys
    Does anybody know how application call servlet via https? Is it same as
    http? How can I set up trusted certification? Thanks in advance.
    Regards,
    Mark.

    I meant to give a code example in the last one, sorry.
    URL u = new URL("https://mysecureURL.com");
    javax.net.ssl.HttpsURLConnection conn = (javax.net.ssl.httpsURLConnection) u.openConnection();There is other good info in the JSSE forums.
    Cheers,
    Peter.

  • CC Updating the Desktop Application

    Every time I open CC Desktop Application ..it needs an Update before I can begin to use it!!! eg  to update the CC applications.
    Seriously...does this need to be like this?
    (Continual updating...so much like Adobe Air and Flash.)

    Ah! I see.
    That makes sense. You see, I occasionally use it to quickly access my Behance page, and to quickly download fonts that are recommended for particular uses on one of the tutorial channels I watch. My wife is always asking for new fonts. She is a teacher, and apparently anything new and different is good.
    Also, I have started keeping a few files up on the Creative Cloud. Hey, it really has something to do with a cloud after all!
    So I open it more often. Therefore it doesn't seem like it upgrades as often.

  • HT3939 I got a new computer and need to down load the desktop application to be able to plug my Iphone into for updates. where can I go to get this application?

    I got a new computer and need to down load the desktop application to be able to plug my Iphone into for updates. where can I go to get this application?

    Click Itunes at the top of this page and download itunes.

  • Please help! I cannot update All Iphone Application via Itunes

    I cannot update iphone application.
    Every time I try to update i will got this message "An Error Occurred The iTunes Store could not process you request,Please try again later"
    Itunes 8.2.1(6)
    Iphone 3gs 32GB
    Iphone 3g 16GB

    Thank you so much "Jim VanLeeuwen" I can solve it because of you give me a suggestion.
    Thank you so much.I appreciated your kindness.
    I use Intego Net Barrier.
    First time, I read your suggest I wonder how you can know I use Intego Net Barrier.Because I didn't mention it.
    However,Thank you.

  • How to run desktop application

    Hi! I've programmed for years JSP, Servlets and Applets, but never a desktop application, so... my problem is that I don't have any idea on how to run it. I mean, of course I know how to run some application in my own desktop (java applicationname) but my doubt is, what I need to install in the client desktop or how must I do my package in order to run without the need for installing the SDK. Because, as I known, the "java.exe" comes with SDK, and of course, I don't think that I need to install de entire SDK in all my clients desktops in order to run my application.
    Any help will be very appreciated!

    You should give them the Java Runtime Environment. You will find a java.exe there too. E.g.
    C:\Program Files\Java\jre1.5.0_02
    The principle problems you will have to consider are:
    1.) How easy, and often, will you have to update your program? You might need to consider something like Java Webstart, for example.
    2.) What are the security considerations? If you need access to a database you will have difficulty keeping passwords secure. You may want to obfiscate code, for example.
    3.) If the applications are communicating with a central resource how will you deal with simultaneous usage. Coming from a web application background this is nothing new to you I guess but you may want to consider a J2EE application server, for example.
    4.) You need to consider whether you stick with what you know and develop an intranet approach to internal applications.

  • HT5621 I bought my iMac from someone. Everything was changed over to my name however when I try to update programs it only shows the old users apple ID and I can't update. How do I change this so I can update the applications and have everything fully und

    I bought my iMac from someone. Everything was changed over to my name however when I try to update programs it only shows the old users apple ID and I can't update. How do I change this so I can update the applications and have everything fully under me?

    The first thing to do with a second-hand computer is to erase the internal drive and install a clean copy of OS X. You — not the previous owner — must do that. How you do it depends on the model, and on whether you already own another Mac. If you're not sure of the model, enter the serial number on this page. Then find the model on this page to see what OS version was originally installed.
    1. You don't own another Mac.
    If the machine shipped with OS X 10.4 or 10.5, you need a boxed and shrink-wrapped retail Snow Leopard (OS X 10.6) installation disc from the Apple Store or a reputable reseller — not from eBay or anything of the kind. If the machine has less than 1 GB of memory, you'll need to add more in order to install 10.6. Preferably, install as much memory as it can take, according to the technical specifications.
    If the machine shipped with OS X 10.6, you need the installation media that came with it: gray installation discs, or a USB flash drive for some MacBook Air models. For early MBA models, you may need a USB optical drive or Remote Disc. You should have received the media from the previous owner, but if you didn't, order replacements from Apple. A retail disc, or the gray discs from another model, will not work.
    To boot from an optical disc or a flash drive, insert it, then reboot and hold down the C key at the startup chime. Release the key when you see the gray Apple logo on the screen.
    If the machine shipped with OS X 10.7 or later, you don't need media. It should boot into Internet Recovery mode when you hold down the key combination option-command-R at the startup chime. Release the keys when you see a spinning globe.
    2. You do own another Mac.
    If you already own another Mac that was upgraded in the App Store to the version of OS X that you want to install, and if the new Mac is compatible with it, then you can install it. Use Recovery Disk Assistant to create a bootable USB device and boot the new Mac from it by holding down the C key at the startup chime. Alternatively, if you have a Time Machine backup of OS X 10.7.3 or later on an external hard drive (not a Time Capsule or other network device), you can boot from that by holding down the option key and selecting it from the row of icons that appears. Note that if your other Mac was never upgraded in the App Store, you can't use this method.
    Once booted in Recovery, launch Disk Utility and select the icon of the internal drive — not any of the volume icons nested beneath it. In the Partition tab, select the default options: a GUID partition table with one data volume in Mac OS Extended (Journaled) format. This operation will permanently remove all existing data on the drive.
    After partitioning, quit Disk Utility and run the OS X Installer. You will need the Apple ID and password that you used to upgrade. When the installation is done, the system will automatically reboot into the Setup Assistant, which will prompt you to transfer the data from another Mac, its backups, or from a Windows computer. If you have any data to transfer, this is usually the best time to do it.
    Then run Software Update and install all available system updates from Apple. To upgrade to a major version of OS X newer than 10.6, get it from the Mac App Store. Note that you can't keep an upgraded version that was installed by the previous owner. He or she can't legally transfer it to you, and without the Apple ID you won't be able to update it in Software Update or reinstall, if that becomes necessary. The same goes for any App Store products that the previous owner installed — you have to repurchase them.
    3. Other issues
    If you see a lock screen when trying to boot from installation media or in Recovery mode, then a firmware password was set by the previous owner, or the machine was remotely locked via iCloud. You'll either have to contact the owner or take the machine to an Apple Store or another authorized service provider to be unlocked. You may be asked for proof of ownership.
    If the previous owner "accepted" the bundled iLife applications (iPhoto, iMovie, and Garage Band) in the App Store so that he or she could update them, then they're linked to that Apple ID and you won't be able to download them without buying them. Reportedly, Mac App Store Customer Service has sometimes issued redemption codes for these apps to second owners who asked.
    If the previous owner didn't deauthorize the computer in the iTunes Store under his Apple ID, you wont be able to  authorize it immediately under your ID. In that case, you'll either have to wait up to 90 days or contact iTunes Support.
    When trying to create a new iCloud account, you might get a failure message: "Account limit reached." Apple imposes a limit of three iCloud account setups per device. Erasing the device does not reset the limit. You can still use an account that was created on another device, but you won't be able to create a new one. Contact iCloud Support for more information.

  • Questions on deploying Java desktop applications

    Hello,
    I have searched the forums and been unable to find the information I need. I am not sure this is the appropriate forum to post at but had to start somewhere!
    I have a Java desktop application which has only been used internally at my organization for R&D. We are now working with our legal folks on setting up various licensing options. The funding organization today said that they wanted the software set up such that deploying it externally would have behaviors such as:
    * preventing one CD being used to install on multiple machines,
    * preventing someone from copying the installed software from one machine to another,
    * have a way for the software to "expire" after a set amount of time.
    I have never had to deploy software externally before (nor does it seem has anyone else at my organization - we do science R&D) and am at a loss as to how to best do this. I have googled around a bit but not found any solutions. Has anyone here done this and could perhaps give me some pointers?
    Much Thanks,
    Keri

    kgoorley wrote: Hello,
    I have searched the forums and been unable to find the information I need. I am not sure this is the appropriate forum to post at but had to start somewhere!
    Given you new not only to deployment, but also
    posting to these forums, I will take the opportunity
    to point out that I let this post be for a couple of
    days since in had no Dukes assigned. To my
    eye, dukes indicate how important a question is
    to whoever asked it, and I do not generally have
    time to answer questions that are not important.
    You can add dukes to a thread at any time.
    kgoorley wrote: ..licensing options. ..
    * preventing one CD being used to install on multiple machines,
    * preventing someone from copying the installed software from one machine to another,
    * have a way for the software to "expire" after a set amount of time.
    Web start apps. are usually deployed directly off
    a server/internet site. Although deployment off CD
    is theoretically possible, it is uncommon.
    The basic answer to all your questions as asked is 'no'.
    However, if the legal people can take a slightly different
    line, and that server/site has some 'active' element to it
    (e.g. it is generated using servlets), there might be other
    options worth considering.
    The basic approach would be not to sell licenses
    per machine, but per 'use', in the sense that if
    I were to sell you a license, it would be for 'nn users',
    rather than 'nn machines'. This means that if you
    had a license for 'two' users (let's call them Bob
    and Harriet), both Bob and Harriet could use any
    PC in the organization to use the software,
    but once they were both logged in, no further
    users of the software would be allowed.
    The way to achieve this is to have the application
    'phone home' to the server and tell it the
    username(/password). Every 2-3 minutes,
    the app. should get back to the server and
    confirm it is 'still running..'. If the app. cannot
    reach the server, it reports a problem to the
    user, and exits.
    If the server does not get a 'still running' confirmation
    in a time longer than that few minutes, it assumes
    the app. is off-screen, and frees that 'licence slot'.
    The reason to keep letting the server know it is
    there, is that if Harriet were to be logged in, and
    Bob accidentally trips over the power cord and
    drops Harriet's computer in a screaming heap,
    her app. will never have the chance to 'log out'
    and inform the server to free the slot.
    As such, it is important to allow her to log-in again in
    'a few minutes' (which is probably about the amount
    of time it will take her machine to reboot, and chide
    Bob for his oafish carelessness).
    Using this system, the first & second requirements
    above become redundant - as it is not the number of
    PC's that we care about - just the number of users.
    The third requirement could easily be handled on
    the server-side, checking licenses as users
    log-in, and confirming that license is still valid.
    Edited by: AndrewThompson64 on Sep 27, 2007 7:30 AM

Maybe you are looking for