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

17

u/rumplebumskin Jul 12 '19

Have you done the MOOC its really good if you can get it setup.

2

u/MPostman Jul 12 '19

You mean MOOC from edx? Which one is it?

7

u/blue_square Jul 12 '19

It’s over in the sidebar but it the mooc.fi from University of Helsinki

2

u/Java_Junior Jul 12 '19

Hey this might be a stupid question but which courses from MOOC do you recommend? 2013 Programming with Java I and II, right? Are the other ones good too?

2

u/babbagack Jul 12 '19

just google Java Heslinki MOOC Part I and also Part II. separate links and you go from there.

1

u/toshels Jul 12 '19

I posted about their course on AI/Ml check it out. There's no programming but it gives you insight how it all works. Check it out. They also give free certificate you can add to your LinkedIn profile.

1

u/itshowitbeyunno Jul 12 '19

also, here is a cool discord server for learners!

https://discord.gg/n2kVAQ

:)

1

u/omykronbr Jul 12 '19

If you familiar with Java, go for the Software Construction in Java and the advanced one.

1

u/locomocopoco Jul 12 '19

Cannot stress enough - Do the Helsinki MOOC

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'.

4

u/___catalyst___ Jul 12 '19 edited Jul 12 '19

If your aim is to work with Enterprise applications, you should first:

Brush up on Core Java (if you do this under 3-4 months, you did not get deep enough):

.Inheritance/OOP/Polymorphism/Encapsulation fundamentals

.Language Constructs

.Interfaces, Inner and Abstract Classes

.Generics

.Collections

.Concurrency

.Lambdas (since JDK 8)

.JDBC Programming

.Network Programming with Java

At this stage, practicing like a demon will be your best friend. Think, live and breathe Java. Think about what you learned during the day when you go to bed...solve every imaginable problem with Java if you can. Make a tea stirrer using Raspberry PI if it strikes your fancy.

Effective Java (as others have pointed out) is great bedtime reading, or for drilling down and consolidating your knowledge.

Then, you can start working with a framework like Spring Boot, Spring MVC etc. (www.spring.io): this will take you a few months to get comfortable. This is a great book.

Later, you can expand into a product like Apache Kafka for high performance messaging. Others are ActiveMQ, RabbitMQ, but Kafka has gained a lot of solid ground over the last few years.

For Core Java resources, beginning with MOOC (Sidebar and scroll below) is a good initial resource. For getting in-depth, searching the Internet for well-known resources like Baeldung.com, DZone and GeeksForGeeks.com etc. and Stack Overflow is what I recommend. Tim Buchalka's Udemy Masterclass should be your last resort, and it is a decent option as a last resort (because of his meandering teaching style; but the expanse of the content is good).

For Spring, Chad Darby's Beginning Spring and Hibernate on Udemy is a decent primer for Spring. Once you get comfortable, you can look into things like QueryDSL etc.

Best of luck getting out of the QA rut.

1

u/CauseBecause_ Jul 14 '19

Can this schedule include front-end stuff somewhere or are you strictly talking about back-end? Can people even get hired as back-end devs without knowing basic front-end stuff?

I was generally thinking something like your suggestion but my plan starts with basic stuff for front-end and vanilla JavaScript for DOM interaction.

2

u/MPostman Jul 15 '19

I did self-study a bit for front end stuff before, it seems the competition is a lot higher in the front-end world with all those bootcamps and new grads all competing for a front-end role. And with the current javascript frameworks (React, angular) and "Javascript framework du jour" , front-end world could be more difficult than back-end.

1

u/CauseBecause_ Jul 15 '19

Speaking of which, I spoke to someone who's lead dev in a company and he said the ratio of CV's they receive for frontend positions compared to backend is 10:1 (his company works with .NET though not Java).

1

u/___catalyst___ Jul 17 '19

Lately, I have been trying to hire a full stack dev for my employer, and the sheer amount of resumes where the candidate claims to know everything under the sun is overwhelming. When such a candidate is interviewed, typically the knowledge and experience turns out to be very shallow.

1

u/CauseBecause_ Jul 18 '19

Wouldn't that mean that as a beginner I'd rather focus on back-end (learn Java and the popular tools accompanying it in Java web developer positions) and either leave the front-end or learn enough front-end to make a UI that connects with my back-end?

1

u/___catalyst___ Jul 18 '19 edited Jul 18 '19

If you are on a path to becoming a Full Stack developer, you will need to choose which area (back, or front end) to focus on more than the other in the early phase. I chose focusing on the back-end, but I also learned enough Angular 4 before I did that, so the whole plan to connect both ends made enough sense to me and I could, so to speak, see the "light at the end of the tunnel". Just as an anecdote, I was also easily distracted and seduced by other concepts, like Concurrency and Design Patterns ...but if you chart out a specific plan with definitive goals, you can avoid such distractions...but then again, learning Java in all its depth has massive pay offs, since the in-depth knowledge leaves you with more tools at your disposal when it comes to real projects. Learning everything all at once is very difficult...I revisit topics in iterations; first a little primer, later, more in-depth and keep revisiting as time allows.

If you would rather focus on the back end at this stage, by all means, go for it. To be reasonably comfortable with one end, you will need at least a few months anyway.

2

u/CauseBecause_ Jul 18 '19

Yeah, back-end is certainly my cup of tea!

1

u/___catalyst___ Jul 18 '19

Cool. It is easier to focus when you genuinely enjoy something.

1

u/___catalyst___ Jul 17 '19

I agree. There are too many front-end frameworks competing for the same space at this point in time. They all do have some pros over the other, but front-end development needs to be a little easier to understand and adopt.

1

u/___catalyst___ Jul 17 '19 edited Jul 17 '19

Yes, you can get hired as a purely back-end, or front-end developer.

Of course, if you are well-versed with both components, your employability and compensation is a lot higher. Full Stack developers command a much higher salary, but the learning curve and effort to get there is also commensurate.

I would think that a good path to becoming a Full Stack developer is to undertake indie projects on sites like Upwork etc., and develop a portfolio.

On vanilla JS, you are absolutely right - you cannot go wrong with expertise in vanilla JS, HTML5 and CSS3. Frameworks come and go, but core languages stay for decades. The way it appears, JS, HTML5 and CSS are not going anywhere for a while. The modern browser literally only works because of these languages/concepts. Until the next "browser" comes along, these are not going anywhere.

7

u/joranstark018 Jul 12 '19

You have lots of links to good resources in the meny to the right.

Spring definitely, Spring boot possibly (probably not for large enterprise monolithic systems), EJB may still be used in some enterprises, Servlets hopefully not (possibly JSP), REST most likely. I have only been developing web-based system for the last decades so I'm not sure what is currently used for desktop-apps.

Depending on your level you might take a look at "Effective Java", by Joshua Bloch.

1

u/nutrecht Jul 14 '19

Spring boot possibly (probably not for large enterprise monolithic systems)

Spring Boot is used a lot in enterprise systems in fact.

4

u/dg098765 Jul 12 '19

I am currently in a QA role doing automation but moving to a java development role within my company so am in the process of getting up to speed with java. We can do this 💪

1

u/BigLustyPanda Jul 12 '19

currently in the same situation but working as PC Support. want to get some experience as a developer and not settle in IT world

1

u/MPostman Jul 15 '19

I had also considered a career path in IT rather than developer. I heard they have good career progression too, like IT support> Sys Admin > IT security(Very hot field now)
But then, it is not easy to landed a Sys admin job at first...

2

u/aceinthedeck Jul 12 '19

I have moved from .NET to Java development (Spring to be exact).

Now assuming you don't have much programming experience. I would start with basic OOP concepts in Java. Then go on to the Web development using Spring. MOOC from edx seems good (I haven't done it personally but heard good things about it).

I have one more course but I will update the link after I get home.

Also, it is a good idea to create your own projects in Github (for example a e commerce website) for practice.

Good luck!

1

u/babbagack Jul 12 '19 edited Jul 12 '19

after you do MOOC parts I and II, look up Chad Darby, Udemy, he has a small course on building a database app with JSP, Servlets and JDBC, I think it is great after doing the MOOCs(disclaimer, I haven't completed Part II but I come from another language anyways). Then I heard great things about his Spring/Hibernate course on Udemy too. Don't buy those things full price, at most like $10, ask their support for promo codes and tell them you are a new learner to Java, etc,

2

u/gnnro Jul 12 '19

Chad* Darby. His Spring & Hibernate course is great. If you have the Honey chrome app you can get pretty much any uDemy for $10.

1

u/babbagack Jul 12 '19

oh sweet, have heard of Honey, is that a really good app?

and woops, thanks, yeah it is Chad, interestingly enough, he pronounces it "Shad" :)

1

u/gnnro Jul 12 '19

Honey is hit or miss but it’s great for uDemy. As a serial uDemy purchaser, it comes in handy lol

2

u/babbagack Jul 12 '19

haha... now make sure you finishes/do the courses - speaking to myself as well!! But sometimes it's great to be on /r/learnprogramming, every once in a while someone will make an announcment about a free programming course from Udemy, it just happened this week with an iOS or other course

2

u/Java_Junior Jul 12 '19

this is exactly what I was looking to brush up on. Thank you

1

u/babbagack Jul 12 '19

you got it, was helped by others here also. someone also mentioned if you use the Honey chrome attachment, you can get Udemy courses cheaper - well by that I mean a standard like $10 or so price.

0

u/abcoolynr Jul 12 '19

Move to python for long term insurance, after Java being non-free after JDK 8, it's popularity is declining rapidly. Python is becoming a universal language like Java was a time ago, whether it's desktop, web, mobile, cloud etc.

1

u/MPostman Jul 12 '19 edited Jul 12 '19

Correct me if I'm wrong, but from what I heard. Python is popular now due to AI/ML hype.Python is not suitable for big enterprise applications. Heard people jump blindly to Python and then later find out it's actually very hard to maintain for big enterprise apps and then moving back to Java.

Also, I'm in my late 3x, all these new kids fresh grad are all about python now, maybe hard for me to compete with them due to my age.

Btw, the jJava being non-free after JDK 8 sounds scary...are they out of their minds? Are they trying to kill the language?

2

u/nutrecht Jul 14 '19

Btw, the jJava being non-free after JDK 8 sounds scary.

It's complete bullshit. Java is open source.

1

u/abcoolynr Jul 13 '19

Python gjango: web applications. dekstop applications using python. automation using python. ai im android and ios applications use python and list goes on. java is only used in web backend in limit. Java is now totally absent in desktop applications. Kotlin has replaced java in mobile. Fushia OS the successor to android is free from java for application development.

-1

u/differentshade Jul 12 '19

If you are going to be a software developer just for the money, you are going to be hating your job. Either find better reasons or do something else.

3

u/MPostman Jul 12 '19

True. But the thing is, this decision is based on my skills (Current degree) so it must be something in IT. There is just no anything else I can choose....

1

u/[deleted] Jul 28 '19

I've done loads of different jobs just for the money and I wouldn't say I hated them. As long as its not crazy stressful then that's fine. And programming is really good money for what you do!

0

u/[deleted] Jul 12 '19

I’m also embarking the journey of the Java. I don’t know if Spring framework is a use for you.