Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8836289
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T09:27:40+00:00 2026-06-14T09:27:40+00:00

I am using java web start as a standard deployment technology for my application.

  • 0

I am using java web start as a standard deployment technology for my application. I wants to know what is the difference between offline-allowed and update tag.

offline-allowed says that application can be operate when the client system is disconnected from the network

<update check="background" policy="prompt-update"> :- will mean launch the application while checking the update in background and ask the user if he wants wants to download the updated version or launch the cached version.

I am confused with the offline-allowed, does that mean offline-allowed check if the user machine connected to the server where the application is deployed for the update or it just check normal internet connectivity.

What would be the effect if someone use both tag in their jnlp file.

Overall I wants my application to check for the update in background[using the desktop shortcut not the browser link, I do not want to access the application using browser ever time] and ask whenever update is available but it should also allow application to be launched irrespective of the availability of the server hosting jnlp file.

FYI: my application will need to connect to internet for other operations but I can not gurantee the availability of the server hosting jnlp and other application jar file.

Please let me know if you have any suggestions or questions.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T09:27:41+00:00Added an answer on June 14, 2026 at 9:27 am

    When you launch JNLP file first time, it installs the application (defined in JNLP xml file) to JVM (Control Panel -> Java -> General -> View).

    update check="background" configuration allows you to synchronize your version with server and install new if server has new one. If you doesn’t have connectivity with server – nothing will happen.

    What would be the effect if someone use both tag in their jnlp file.

    Second one will be affected.

    Here is JNLP example:

    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://172.20.0.69:8080/DemoMonitoring/web/" href="monitoring_webstart.jnlp">
    <information>
        <title>Demo monitor 172.20.0.69</title>
        <vendor>Demo</vendor>
        <homepage href="http://www.Demo.com"/>
        <description>Demo Monitoring System</description>
        <description kind="short">Demo Monitoring System User Interface.</description>
        <icon href="./images/ne_app_icon_64.png"/>
        <icon kind="splash" href="./images/splash.jpg"/>
        <icon kind="shortcut" href="./images/ne_app_icon_32.png"/>
    
    
        <offline-allowed/>
        <shortcut online="false">
            <desktop/>
            <menu submenu="Prabinas">
                <menu submenu="Product Managing System"/>
            </menu>
        </shortcut>
    
    </information>
    <security>
        <all-permissions/>
    </security>
    
    <resources>
        <!-- Application Resources -->
        <j2se version="1.6+"
              href="http://java.sun.com/products/autodl/j2se"/>
        <jar href="DemoMonitoringPrototype.jar"  main="true" />
        <jar href="lib/log4j-1.2.8.jar" download="eager" />
        <jar href="lib/commons-logging-1.1.1.jar"/>
        <jar href="lib/gson-1.7.1.jar"/>
        <jar href="lib/xpp3_min-1.1.4c.jar"/>
        <jar href="lib/xstream-1.3.1.jar"/>
        <jar href="lib/httpclient-4.1.1.jar"/>
        <jar href="lib/httpcore-4.1.1.jar"/>
        <jar href="lib/DemoMonitorCommon.jar"/>
    
    </resources>
    <application-desc name="Prototype" main-class="com.demo.monitor.root.MainRun" width="500" height="500">           
      </application-desc>
     <update check="background" policy="prompt-update"/> 
    </jnlp> 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've created a NetBeans Platform application that is launched using Java Web Start. I
I'm going to make a java application with nifty-gui [1] using java web start
I am working on some application that must start another app using Java web
I am facing this error while running my java application using Java Web Start.
How to deploy java application using java web start, any suggestion for pdf file
I am creating a screencast Java Web Start application. Encoding Video using xuggler requires:
I have a Java based web-application using Java Server Faces and Facelets. I am
I am developing a Java Web Application using JSF, Spring and Hibernate. I need
I developed a web application Using java EE 6, its a very small web
I am testing a web application using Java Remote Method Invocation (RMI). When I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.