4 ms·
If I wanted to learn more about web development in Java, what's a good starting point? Something that can give me a high-level overview, current best practices,
by edavis 12y ago
If I wanted to learn more about web development in Java, what's a good starting point? Something that can give me a high-level overview, current best practices, and perhaps a simple "Hello World" example.
I currently work with Django and Wordpress, so I'm not totally new here. But last time I dived into this world, I could not make heads or tails of it.
Java seems like a powerful tool to have in your toolbox, but from what I've found it does not lend itself to be easily picked up.
- hendzen 12y agoOne word. Dropwizard.
- twic 12y agoedavis asked about web development. Dropwizard was built for web services. There is a bit of a difference - user-facing web apps need to do templating, authentication, session management, etc. I see that there is a Dropwizard module for templated views, which looks reasonably nice: https://dropwizard.github.io/dropwizard/manual/views.html https://dropwizard.github.io/dropwizard/manual/views.html I'm not sure how well it supports the other aspects of a web application.
- flaie 12y agoSpring boot.
- twic 12y agoSpring Boot certainly makes it very easy to get started, and to grow your system in the way that Spring envisions. For getting started, there's even the Initializr: https://start.spring.io/ https://start.spring.io/ However, as soon as you want to go off the beaten path (eg to have two databases), Spring starts to become an obstacle rather than an assistance. In this respect, it's similar to Rails or any other large, opinionated framework.
- foolinator 12y agoI love spring boot. I use two databases and solr. It's easy. And fun.
- umut 12y agoDefinitely Dropwizard or Ninjaframework
- kitd 12y agoSpark java is a good Sinatra-like framework.