Re:Jigsaw Finally Arrives in JDK 9
by needusername on Saturday March 12, 2016 @06:49AM
(#11272469)
> A server-side product will be able to exclude the desktop GUI API (AWT and Swing).
That is very unlikely. If you look at the java.desktop module (where things like AWT and Swing are) there are also tons of other things there like Java Beans. A lot of Software requires Java Beans at least indirectly (eg. Spring requires Java Beans). In addition there's the following dependency path. java.xml.ws -> java.xml.bind -> java.activation -> java.desktop A server side product is very likely going to require at leat one of these. The fact of the matter is that the JDK code is simply not modular enough.
Re:Jigsaw Finally Arrives in JDK 9
by mike_hearn on Saturday March 12, 2016 @08:36AM
(#11272794)
The java.desktop module is going to be a prime candidate for further breakdown, probably after Java 9 I guess. It is huge and ships all 3 widget toolkits when most apps need only one.
Re:Jigsaw Finally Arrives in JDK 9
by needusername on Saturday March 12, 2016 @02:55PM
(#11274245)
What's the third one? I'm only aware of AWT and Swing. I though that JavaFX was already in its own modules. Is it really realistic to only use one toolkit when Swing is built on AWT and has AWT base classes?
What bothers me more is that things like Java Beans are in java.desktop.
Re:Jigsaw Finally Arrives in JDK 9
by mike_hearn on Monday March 14, 2016 @07:24AM
(#11282188)
JavaFX is in java.desktop too
For example, I'll no longer be including the useless (for most Java apps) CORBA capability with my product. A server-side product will be able to exclude the desktop GUI API (AWT and Swing).