Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #38889

Re: Preferred way to distribute application

From Graeme Geldenhuys <graemeg@example.net>
Newsgroups comp.lang.java.programmer
Subject Re: Preferred way to distribute application
Date 2019-04-10 10:29 +0100
Organization Aioe.org NNTP Server
Message-ID <q8kd12$nim$1@gioia.aioe.org> (permalink)
References <q8fb8g$243$1@gioia.aioe.org> <a4p8e4aivzn8.1ntxhshgvv5cn$.dlg@40tude.net>

Show all headers | View raw


Thanks for your time and feedback Joerg.

On 08/04/2019 13:46, Joerg Meier wrote:
>>   1.  Package everything into a single JAR with embedded jar
>>       dependencies.
> 
> This is by far the best default way if you want to distribute a runnable
> application.

This is what I was using up to now. Glad to hear I was on the right track.


>> At the moment I don't have a lot of dependencies, but you never know
>> what the future of the project might dictate.
> 
> You pretty much SHOULD be using dependencies. One of Javas biggest
> strengths is the huge, high quality ecosystem that allows you to not
> reinvent wheels and instead focus on your unique sell points inspead of

Coming from Object Pascal (Delphi/FPC) that is a rather large change for
me. The ecosystem in Object Pascal is really a drop in the ocean
compared to Java, and often I rolled-my-own solution in Object Pascal
projects. Indeed in Java it seems somebody has already written an
excellent library to reuse. I've quick discovered this when I wanted to
handle command line parameters, processing JSON files or producing PDF
output. Brilliant and well supported libraries already existed for all
of those. It saved me a huge amount of time.


Regards,
  Graeme

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Preferred way to distribute application Graeme Geldenhuys <graemeg@example.net> - 2019-04-08 12:28 +0100
  Re: Preferred way to distribute application Joerg Meier <joergmmeier@arcor.de> - 2019-04-08 14:46 +0200
    Re: Preferred way to distribute application Graeme Geldenhuys <graemeg@example.net> - 2019-04-10 10:29 +0100
  Re: Preferred way to distribute application Patrick Roemer <sangamon@netcologne.de> - 2019-04-10 16:22 +0200

csiph-web