r/learnjava • • Jul 12 '19

Dedicating my life to Java

Hi,

Long story short, I'm in my late 30s and hold a degree in computer science from over a decade ago. (Learn basic Java back in University).

Been working as a software QA doing manual testing for few years. So far I hate my job, most QA positions are sweat shops and long working hours with little respect and tight deadlines. Since I'm planning to start a family soon, I need something that is more stable and have high potential to earn more money.

I have discussed with people about my weaknesses and they suggest me to go for working as a enterprise developer instead of a developer in a startup company, and since my area has lots of Java jobs, so I ended up picking Java instead of .NET.

So now, for my family, I'm dedicating my life to Java. Where should i start? What should I do to landed a Java enterprise job asap? I do still remember some basic Java such as arrays, linked list, arrayList, OOP, Classes Inheritance etc.

Would appreciate if you guys can suggest some good materials for my learning? Anything, tutorial, books, video tutorials online. I do have access to Lynda .com account, not sure if it is a good resource to learn Java?

Also, in which order should i learn Java? I heard about Spring boot, EJB, Servlets and so on...

Please advise

Thank you

42 Upvotes

46 comments sorted by

View all comments

11

u/[deleted] Jul 12 '19

To get started with Java, get a book. Don't jump into the "tutorials" rabbit hole and get lost. Beginners are it's prey. "Effective Java" by Joshua Bloch as suggested by someone here is a good recommendation. You can also pick oca/ocp certification books from oracle press to get under the hood. I'd recommend Kathy & Bert's.

To see a road map of java, check this out: https://www.youtube.com/watch?v=DC5wtYGQ7XE

To become enterprise developer: Java SE (Standard edition) --> Java EE (Servlets, Jsp, Jpa -> Hibernate ORM tool) --> Spring Framework (Core IOC, Spring Web (MVC, Rest), Spring Data (JDBC, JPA), Spring Security, Spring Boot, Spring AOC) are essential as backend skills. For Frontend, HTML+CSS+Bootstrap+Javascript (basics) are enough.

I'd recommend youtube channel "Java Brains" for Java EE concepts like Servlets, Jsps and Hibernate. You can also get started with Spring in their channel. For Spring especially, 'Baeldung' website is a good resource. But I'd recommend to get 'Spring 5 in action' written by Craig Walls. He's one of the seniors in Spring dev team.

1

u/MPostman Jul 12 '19

Can I jump right to spring 5 and skipping servlets, jsp, jpa? Or it's a must to learn those first?

3

u/nutrecht Jul 14 '19 edited Jul 14 '19

Unfortunately people tend to give completely outdated advice. JSP is utterly outdated and there's no reason to 'learn servlets first'. In fact with the industry moving towards reactive programming, Spring Reactive doesn't even use Servlets anymore.

Even when you're using Spring MVC you will only be exposed to servlets if you are going to implement Filters, which you generally don't. Just knowing there's a 'servlet' layer there and reading up on it when you run into it is enough.

1

u/[deleted] Jul 13 '19

Servlets are the basis for Spring's Web mobile. You can skip jsps but servlets is must. Also, if you know jdbc, you can skip jpa and use Spring data jdbc. But the thing is, almost every project uses jpa now. Hibernate is very easy to learn. And spring data jpa is a boon to Spring devs.

2

u/nutrecht Jul 14 '19

You can skip jsps but servlets is must.

There's no reason to go for servlets first. In fact with Spring Reactive they're not even there anymore. And if you're using plain Spring MVC you're not really exposed to Servlets either.

Hibernate is very easy to learn.

Not for a beginner. Depends on what you mean with 'learning' though. A simple JPA repository is not 'learning hibernate'.