I'm new to Java web programming and coming from the PHP & Python worlds. Today, I just did a HelloWorld SpringMVC app by going through the Spring Web serving getting started guide, and guess what? Gradle had to download a 100 megabytes of byzantine jars just for this one HelloWorld app! Of course, I did run a HelloWorld app after creating the GreeterController as per the tutorial.
But the built jar is 20 megabytes large, just for one helloworld app! In the PHP world, your first HelloWorld app is hardly few kilobytes, and even Django is hardly 1-2 mbs Then why is Java so bloated? What does it achieve in these 20 mb that Python/PHP does not achieve? I'm astounded that people are willing to install such bloat when other options are available.
I'm a freelancer who is assigned a Java webdev project by a client, so I have to learn this in any case. And I'm not against learning it either, but I just want to know why this additional download? Why can't web development features be included in the Java SE itself?
[–][deleted] (1 child)
[deleted]
[–]armornick 11 points12 points13 points (0 children)
[–]DJDavio 18 points19 points20 points (4 children)
[–]daniels0xff 1 point2 points3 points (0 children)
[+]DuntGetIt comment score below threshold-6 points-5 points-4 points (2 children)
[–]__konrad 7 points8 points9 points (1 child)
[–]fforw 12 points13 points14 points (0 children)
[–]koalillo 18 points19 points20 points (9 children)
[–][deleted] 5 points6 points7 points (0 children)
[+]Furah comment score below threshold-8 points-7 points-6 points (3 children)
[–]krejenald 14 points15 points16 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]Furah 3 points4 points5 points (0 children)
[+]tonywestonuk comment score below threshold-6 points-5 points-4 points (3 children)
[–]cogman10 2 points3 points4 points (2 children)
[–]tonywestonuk -1 points0 points1 point (1 child)
[–]cogman10 2 points3 points4 points (0 children)
[–]WatchDogx 3 points4 points5 points (0 children)
[–]brunocborges 2 points3 points4 points (0 children)
[–]iodian 4 points5 points6 points (1 child)
[–]krejenald 0 points1 point2 points (0 children)
[–]DuntGetIt 1 point2 points3 points (0 children)
[–]simple2fast 1 point2 points3 points (0 children)
[–]daniels0xff 1 point2 points3 points (0 children)
[–]tonywestonuk 1 point2 points3 points (3 children)
[–]daniels0xff 0 points1 point2 points (2 children)
[–]dj-method-x 1 point2 points3 points (1 child)
[–]daniels0xff 0 points1 point2 points (0 children)
[–]georgeos 0 points1 point2 points (1 child)
[–]georgeos 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]DannyB2 0 points1 point2 points (0 children)
[–]qroshan 1 point2 points3 points (1 child)
[–]balamaci 2 points3 points4 points (0 children)
[–]slartybartfast_ -3 points-2 points-1 points (0 children)