I'd disagree for a few reasons. Less code isn't always more productive. Debugging and maintaining code often takes a lot of time also even early on.
Two there are many new tools that can drastically speed up Java dev time. The example you are looking at is using pre Java 8 syntax. The same Java web server can be written in 3-4 lines matching up with node see stubbornjava.com/guides/embedded-java-web-server (disclaimer this is my site). If you look at some of the routing examples it even looks like a node web server. This web server has very little overhead also and starts immediately unlike large frameworks.
Now you will need to do more stuff manually but Java has plenty of libraries for anything you could need. A little glue code and you are good to go even without a framework.
Want a database? Grab flywaydb.org add some tables to a migration script. Next grab jooq.org and its code generator you now have java objects and simple crud for all tables without doing anything. Add some simple glue code and you have a REST server in no time.
Now we have a lightweight java web server that starts up immediately no 30+ second loading times like some beast frameworks. We didn't write any sql but it works already based on our schema. If you are impatient like me and don't even want to start / stop the sever every time you make changes head over to zeroturnaround.com/software/jrebel and add the plugin to your IDE. Now 90% of changes to the code are hot loaded on the fly in the running web server. No stopping just straight up dev time (Not all changes can be hot loaded but its pretty damn good).
Node might be easier to pick up and learn from nothing but if you are an experienced Java dev you wont be left behind if you use modern tools. Hopefully startups aren't only hiring junior devs who know very little.