Returning to Java after 7 years (Java 8 to Java 21). What should I relearn first?
Good morning all. It is 5.30 am here, the kids are not awake yet, so I am posting before the chaos starts 🙂
I was a Java developer at a service company till 2018: mostly Java 8, Spring 4 with XML configuration, and Struts on one old project (kindly do not laugh). After a seven year break I am preparing to return to work. Now I see Java 21 everywhere: records, var, sealed classes, pattern matching, virtual threads.
What I have already done:
- Installed JDK 21 with SDKMAN
- Built a small REST API with Spring Boot 3 following a tutorial (it worked, I was very happy)
- Opened the list of JEPs from Java 9 to 21. It is very long, and I closed it again
Kindly guide: in what order should I learn the new features, for interviews and for actual work? And what can I safely ignore for now? I am having a query also about whether people still use Optional the way we did, or if that changed.
Thanking you in advance.
Accepted answer
Get the best of #compiling weekly
One email each Monday with the most useful posts. No spam; unsubscribe in one click.
Comments
Sign in to join the conversation.
Sign in to commentAccepted answer