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 3211788
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T14:46:14+00:00 2026-05-17T14:46:14+00:00

I am building an applicaton in Java that will have some updates over time.

  • 0

I am building an applicaton in Java that will have some updates over time. This means that the client will have to download a new .jar and use it when available.
I read about jws (java web start) and it works fine. But the problem is that my application uses a protocol I created, and it will just be able to connect to my server. It may not have connectin to internet and I should not be able install a web server on that server.
So is there a way I can use JNLP inside my own proto? Or I will have to do it all by myself?? Making it download a new jar and deleting the old one?

  • 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-05-17T14:46:15+00:00Added an answer on May 17, 2026 at 2:46 pm

    If your application is based on Web Start, it will automatically perform the updates. However, this only works for known protocols, such as HTTP (and maybe FTP, but never tried that). I don’t think you will get Web Start working with your own protocol, but you could try to do it with a custom URLConnectionFactory and roll your own connection handler for your protocol. See java.net.URL.setURLStreamHandlerFactory(URLStreamHandlerFactory)

    Anyway, I’d go with a custom update implementation in this case, as you requirements seem to be very specific. Since your app doesn’t seem to be based on an existing framework with update mechanisms (e.g. Eclipse RCP with P2 manager or NetBeans or Java Plugin Framework or Maven …).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this java swing application that I intend to sell over the internet.
I have a web application that I am building using IDEA. There are some
One troubling aspect of building Java EE applications is the turn around time for
I am building application that required some data from iPhone's Call log(read only). The
I'm writing a java package that will be called by another language (matlab). If
I'm building an application in Java to retrieve data from MySQL database. After executing
I'm building a java/spring application, and i may need to incorporate a stateful web
I'm building an application that is targeting Windows, Mac and Linux soon. I was
I'm building an application in C# using WPF. How can I bind to some
We're currently building an application that executes a number of external tools. We often

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.