r/javahelp • • Nov 15 '21

Roadmap Java

Roadmap Java

Hi guys. Im a Java developer with 2 years of experience and want to improve on the Java stack. I found this roadmap on Internet about Java. What do you think guys?

Why he choose jdk 8? Why eclipse and not intelliJ?

19 Upvotes

16 comments sorted by

View all comments

14

u/tedyoung Java Trainer/Mentor Nov 16 '21

I don't think that roadmap is very useful. There's topics in there that I think aren't very important, such as:

  • Java 8 - that's an absolute minimum, but Java 11 is a better minimum these days. If you're lucky, you'll be able to use Java 17, so you should understand the differences.

  • Linux - sure, if you're on Linux, otherwise learn whatever command-line tools are on your platform (Windows? macOS?)

  • Data Structures & Algorithms - Big-O in general is useful, knowing about data structures is useful, but creating them is not nearly as useful as know *which data structure to use and when.

  • Maven/Gradle/Ant - Ant? Don't waste your time, it's obsolete. And learn Maven. Learn Gradle if you need to (it's used by your workplace).

  • Desktop - unless your job is building desktop apps or you want such a job, learning Swing/JavaFX is a waste of time. It's by no means essential, the opposite, in fact.

  • Spring via Spring Boot - yes, learn it. Start small and don't try to learn it all at once (you can't). But for sure you'll need to understand Dependency Injection/Inversion of Control container. AOP is much less important, though understanding it will help you understand things like @Transactional.

  • Dropwizard - I enjoyed using Dw, but it's obsolete.

  • Testing - JUnit. Learn it. In fact, learning how to unit test is one of the most important things you will learn. Mockito, avoid if you can, but that's another topic.

I could go on, but you get the idea.

Learning by working on your own project and let it guide what you need to learn more deeply.

1

u/Dhariann Dec 29 '21

And for write some web applications what do you recommend?

1

u/tedyoung Java Trainer/Mentor Dec 30 '21

Pick a project that is interesting to you and does something tiny, but useful. For example, creates flash cards for studying, or tracking the books you've read or games (video or physical) you've played.

The important thing is that it's something you, personally, would use. Learn just enough to get a tiny slice of the functionality working, such as displaying the information on a simple HTML page. Write tests.

Add on a bit more functionality. Write tests (maybe even learn Test-Driven Development). Get feedback from someone.

Store the information in a database -- this means you will need to learn how to do that. Read and learn just enough for you to implement the functionality. Deploy it to something like Heroku.

Take time to reflect after you've completed each little piece of functionality. Dig a bit deeper into understanding what's beneath the code you've implemented: learn about HTTP and status codes. Learn about databases and SQL (what SQL is Spring Data generating?), etc.