The 3 Things Any New Java Developer Should Learn First

After studying many years, I’ve figured out that the professional world is far from the study. What I’ve learned studying didn’t prepare me for the professional world. Here are some of the main concepts I first learned when I landed in my first job.

Object Oriented Programming

It seems pretty obvious, but when creating a big application, this is a concept we usually skip.

With the Dependency Injection of Spring, everything goes to a service, to a dedicated method.
But when things go complex, the dedicated methods also goes complex.

A solution to that is the Object Oriented Programming.
Every time I have a complex feature to develop, I create a Handler. I separate object with a context and its behavious inside.
Nothing more, no Spring service, no repository. No dependencies at all.

And more, it’s easier to add unit tests

Java Streams

From Java 8, the Stream are a must-know in the Java world.

A new Java developer should know the Streams very well, the filter operations, the map operations, and the reduce and aggregate operations.

The Spring ecosystem

Almost Spring Boot to start.

  • What is a controller
  • What is a service
  • What is a repository
  • What is a component
  • Some security configuration

If you want to learn more about good quality code, make sure to follow me on Youtube.


Never Miss Another Tech Innovation

Concrete insights and actionable resources delivered straight to your inbox to boost your developer career.

My New ebook, Best Practices To Create A Backend With Spring Boot 3, is available now.

Best practices to create a backend with Spring Boot 3

Leave a comment

Discover more from The Dev World - Sergio Lema

Subscribe now to keep reading and get access to the full archive.

Continue reading