Weasis 3.5.3, available for download, contains important changes that require some clarification detailed below. The documentation has been updated, please let me know if it still contains any inconsistencies. See also release notes of 3.5.3 and 3.5.1.
The reasons why Weasis must absolutely evolve are:
Java Web Start has been removed from Java 11 release. This breaks the web deployment of Weasis.
Ends of public Java 8 update from Oracle from April 2019, see this post to understand the OpenJDK situation and the Amazon commitment.
In general, all the changes from JDK 9 seem to be a positive evolution of the Java ecosystem to make it more flexible and scalable. However, some of these changes require significant modifications in Java applications as some APIs are not backward compatible anymore. The multi-release packages (JEP238), introduced in Java 9, allows running an application with different JDK APIs. This feature is crucial to keep the Java slogan "Write once, run anywhere".
We want Weasis to remain open and free of charge. That's why we need to ensure its compliance with royalty-free Java Runtime distributions. The feature differences between free and paid JDK distributions are insignificant since version 11. The main reason for the cost is a personalized support service.
To answer the question: why not switch to an HTML5 viewer?
because we have accumulated know-how for more than 10 years by building Weasis and dcm4che with Java technology. It is still difficult with web technologies to guarantee a certain perennity of applications without constant updating efforts.
because we believe that an application such as a DICOM viewer requires particular resources (download and display Gigabytes of data) that can be better served by an operating system than by a web browser whose versions and restrictions make it difficult to guarantee a certain stability in the use of the resources.
the web apps of the future will certainly be more hybrid (pure web vs native) like the progressive web app or WebAssembly. So that’s why we will continue to work to better separate the APIs and User Interface which are constantly evolving.
This version still provides the weasis-portable distribution and the web distribution used by Java Web Start. However, it is recommended to use the native installers (Windows, Linux, and Mac OS X) which are better integrated into the system and compatible with the new weasis protocol.
With the weasis protocol, the launch of Weasis from a web context is simply done by a URI handler registered by the installer as a replacement for Java Web Start.
The native installers are built from the new JDK jpackage module (currently openjdk-14+9) that allows you to deploy a native application by associating DICOM files with it.
Once the version is installed on the system, it can be updated automatically if the launching configuration contains a URL of the server distribution (weasis.war). This allows you to work in the same way as Java Web Start for minor version updates. Only major versions will need to be updated with the native installer.
However, the native installer will deeply change the way of deploying and launching Weasis. The consequences are:
Cons:
It will be not possible anymore to deploy Weasis automatically from a webpage. Deploying Weasis on many computers will require a deployment strategy (e.g. MSI management with group policy on Windows). This new installation (Java + basic plugins of Weasis) can be compared to the Java installation previously.
It will require building a package for every system (constraints for the developers and need to have all the operating systems for compilation).
The native package with Java will be larger than the old one. However, the difference is not really significant.
Pros:
Get rid of the Java Webstart security constraints without a clear strategy. Java Webstart was the last piece of software not fully open source used by Weasis.
The new weasis protocol will start the viewer faster than Java Webstart.
The new weasis protocol has better control of launch parameters and better manage the single instance mechanism.
Java Runtime will be embedded with the application. No need to care about the Java version installed on the system. Ensure better compatibility between Java and Weasis.
Supports HiDPI (High Dots Per Inch) displays (related to new Java releases).
The native installer will better manage to register the URI scheme (weasis://...) for each system than Java Webstart did. This allows launching Weasis from most of the browsers or any other applications.
The package is installed at a system level (available for all the users of a machine).
It will solve security problems (sandboxing) and provide better integration with Mac OS X.
Hi
Thank you, but i do not have the Arc-light in production yet, does it
also work on dcm4chee-web3?
Thank you
Paolo
Il giorno lun 30 set 2019 alle ore 16:49 Nicolas Roduit
ha scritto:
>
> See this post to test the dcm4chee-arc-light integration without weasis-pacs-connector.
>
> On Friday, September 6, 2019 at 10:36:31 AM UTC+2, Paolo Marcheschi wrote:
>>
>> Thank you Nicolas
>> Best Regards
>> Paolo
>>
>> On Friday, September 6, 2019 at 9:09:56 AM UTC+2, Nicolas Roduit wrote:
>>>
>>> It is not possible yet without pacs-connector but it should be in the next release. See also this post.
>>>
>>> On Thursday, September 5, 2019 at 4:31:49 PM UTC+2, Paolo Marcheschi wrote:
>>>>
>>>> Hi
>>>> Thank you for this very valuable upgrade. Thank you for your work.
>>>> I tried today the new environment on Linux and Windows and it works as expected.
>>>> The 3d stl, and pdf handlers work fine so I can open M3D files with the default viewer or 3D printer software.
>>>> I still need to understand how to use the weasis:// url.
>>>> Can you provide some practical example, in the way to substitute the pacs connector environment?
>>>> How can I make an url by passing the Accession number of the study, specifying the wado protocol?
>>>>
>>>> Thank you
>>>> Paolo
>
> --
> You received this message because you are subscribed to a topic in the Google Groups "dcm4che" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/dcm4che/3C84sscQqkQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to dcm4che+unsubscribe@googlegroups.com.
> To unsubscribe from this group and all its topics, send an email to dcm...@googlegroups.com.