Ask HN: I've been away from Java for 10 years. How do I get back?
I did Java for 5 years and left right before Generics was introduced, things were mainly JBoss, J2EE, Struts. Spring started gaining momentum. Since then I did 7 years of project management, and 3 years of python/django lately.
Basically I want to get back in the game and be able to jump in a mid level Java position and work effectively. I'm interested in language recap and top 5 current frameworks used, etc. Preferred format is books, maybe moocs, and of course I want to spend the least amount of time for the optimal result.
I really appreciate it, thanks!
6 comments
[ 3.6 ms ] story [ 20.8 ms ] threadThe answer also depends a bit on what exactly you want to do. If you're mainly interested in web apps, it's one thing, "big data" is another world altogether, mobile (Android) has its own ecosystem, etc.
All of that said, here are some thoughts:
Generics and the newer Collections related stuff is one area that changed a lot. There's online documentation at:
https://docs.oracle.com/javase/tutorial/java/generics/index....
https://docs.oracle.com/javase/tutorial/java/generics/types....
and a decent, if somewhat older, book is http://shop.oreilly.com/product/9780596527754.do
Then there's the newer concurrency stuff that came along in the Java 5 / Java 6 era. Fork/Join, Executors, etc. Java Concurrency In Practice should still be useful to you, even though it is, again, a little bit dated now.
https://www.amazon.com/Java-Concurrency-Practice-Brian-Goetz...
To get started with the Java 8 stuff, a book like "Java 8 in Action" would be good.
https://www.amazon.com/Java-Action-Lambdas-functional-style-...
Another good intro the Java 8 era stuff is
https://www.amazon.com/Beginning-Java-Language-Features-Expr...
And to make it even harder, Java 9 just dropped, so there's even more new stuff. I just picked up this book myself, but haven't had a lot of time to dig into it yet.
https://www.amazon.com/Java-Programmers-4th-Deitel-Developer...
For frameworks, Spring and Hibernate are both still popular and it wouldn't hurt to brush up on both of those. Spring Boot in particular has caught on for a lot of Java developers.
https://www.amazon.com/Spring-Boot-Action-Craig-Walls/dp/161...
Also, Tomcat is still very popular for hosting java Web applications and services of various sorts. JBoss / Wildfly is still around, but JEE (as J2EE is now known) is not as popular as in the past (even though it has actually improved a LOT).
Play and Dropwizard are two more frameworks you might want to familiarize yourself with
https://www.playframework.com/
http://www.dropwizar...
maven makes it easy to incorporate 100s of Jars into your projects, but then you get to discover the conflicts between 100s of Jars, create build processes that don't finish before your project is due, etc.
Master maven and then modern Java may seem like a lot of fun!
For somebody who genuinely prefers Kotlin and has the luxury of being able to be picky, then sure, focus on Kotlin to exclusion. For somebody who just wants a job though, it would probably be better to stick with Good Old Fashioned Java in the near-term and learn Kotlin (or Scala or Groovy or Clojure or whatever) on the side over time.
Scala's in a different league to Kotlin, Clojure, or Apache Groovy. None of those 3 languages are in, say, the TIOBE Top 50 this month, whereas Scala's listed with almost 1% of the share, compared to Java's 12.7%.