I am wondering if there are 3rd party solutions that support loading
Jigsaw modules from uber jars. The JDK should have all the APIs to
support such a solution.
E.g., I looked at SpringBoot, which has uber jar support, but it doesn't
seem to support modules ("java.lang.module" doesn't appear i
The URL class loader is the easiest way to solve conditional loading. In Jini,
now Apache River, we’ve long used this mechanism to “get” the implementation of
all interfaces that a remote client application needed to talk to a particular
server (versioning makes this necessary and powerfully ea
>
> *Bandwidth optimization and rare machines.* This is interesting because
> it's a requirement that feels like it may be more common in China than
> elsewhere. I'd be keen to learn more about your bandwidth constraints,
> unless this is more of a theoretical concern?
Ah, in fact, in Chinese mai
Desktop apps have long been passed around as single jars. I have done all
kinds of things to pack fatjars full of things that needed recursive unpacking.
Including JNI shared libraries that I could then load to provide missing OS
support functions not in Java.
Sent from my iPhone
> On Oct 7,
Thanks for your insightful reply, Glavo. Here are some thoughts. I should
note that I don't work for Oracle or on OpenJDK, in case that wasn't
already clear.
*Forum.* Although it's logical that you ended up on this list,
realistically the JPMS is "done" and not being worked on since Java 9. Any
so
Of course, this is feasible and will not introduce many new problems
like jlink. It's just not that convenient. It just introduces some
additional deployment steps, which is not so convenient. I believe that
it is very attractive to only distribute and deploy a single file,
which is proved by the p
I am a tad bit confused. How come packaging everything into a regular zip
file and extracting it during deployment is not feasable solution? If
anything, you retain ability to do partial updates to your deployments.
Such approach also removes the need for special classloader that is capable
of load