News for hackers. Stuff that matters.
Re:Java for Everything by allengeorge on Sunday November 30, 2014 @06:17PM (#8678625)
That...sounds surprising. Basically you need:

1. An IDE (I highly recommend IntelliJ IDEA)

2. A build and dependency management tool (I prefer Gradle, but Maven is a reasonable choice - though way more verbose)

Beyond that point, a lot depends on what you want to do. Some of my preferences (YMMV):

* logging: slf4j over logback

* json serialization/deserialization: jackson

* db access (if you don't need or want ORM): jdbi

* db migrations: flyway

* REST services: jersey

* networking: netty

* embeddable http server: jersey

* http client: apache-commons http client

* metrics: codahale's metrics

If you're building a backend webservice I highly recommend looking at Dropwizard, which handles a lot of the boiler plate for you.

Re:Java for Everything by squar1sm on Tuesday December 02, 2014 @03:24AM (#8686225)
Great list. I wish this list and ones like it had a name other than "modern java" to distinguish tools/projects/people/interest/books. Because it's hard to name something that's a synonym for "new". Eventually "more modern java" is needed. And then "most modern".
Re:Java for Everything by paulddraper on Sunday November 30, 2014 @11:49PM (#8679553)
Great suggestions. Do you have a web framework suggestion, e.g. something with templating?

I like Play, but that's 'cause I use Scala. It has a Java version, but IDK how good it is.

Re:Java for Everything by allengeorge on Monday December 01, 2014 @04:19AM (#8680121)
I've heard mixed things about Play's Java version. YMMV, but the last I heard it was a "second-class citizen". Unfortunately I don't work with any templating myself, but I note that Dropwizard supports both Mustache and Freemarker. Would those work for you?
Re:Java for Everything by jazzyk on Monday December 01, 2014 @11:03AM (#8681720)
There is also Spring Boot, which is very similar to Dropwizard. Both wonderful frameworks.
Re:Java for Everything by allengeorge on Monday December 01, 2014 @04:17AM (#8680119)
Ooops. For embeddable http server I meant jetty.