r/learnjava • • Aug 29 '22

Best Fastest way to learn Java for a job?

I am basically looking for the best resource to learn java as fast as possible. I am currently looking at codegym but some people are telling me its too basic. Could you guys help me out as I am going to have to be skilled enough to get a job in around 8 months and Im ready to work hard!

77 Upvotes

37 comments sorted by

31

u/mckenna36 Aug 30 '22 edited Aug 30 '22

First learn Java fundamentals using mooc fi course. Depending on your pace this should take about 3 months. It's possible to finish it sooner but also later. Depends on you. Solve all the questions on your own. Check solutions in google only if you are really stuck and cant move forward.

Learn very basics of SQL. I mean just basics like creating new record in table, reading it, updating and deleting. Nothing fancy. Leave table joins etc for other day if you are in hurry. This should take about 1-2 days.

Create some small app on your own from the scratch. Make sure you use there most of your new Java knowledge and SQL. After mooc fi you will use JavaFX for the User interface but it's really important that you dont waste time for UI. JavaFX is useless and you will waste time on it if you will try to do something too complex. You can consider you app being REST client and include something from outside(I dont know some weather information or nice quote. Check free REST api's and choose something for yourself.) Keep this app very simple. You don't want to spend more than 1 month on it and it's very easy to over-estimate time required to write an app especially if it's your first solo app.

Prepare you CV and do 1-2 exercises from codility every day. This shouldnt take more than 1 week. After that you can start slowly applying. Spend 1-2 hours every week for applications and do 1-2 codility exercises every week.

So basically after 4 months you can start applying. It's too early however but some companies are looking for a junior to train who is keen on learning. If you are lucky they might choose you.

So one day a week you will spend on job search and codility. Use the other 5/6 days to learn Spring with Java Brains. Once you will feel confident with Spring do your own Spring app(you will need some very basic HTML but very basic that you can learn in few days). This should take 2-3 months.

Now after 7 months increase job applications pace. But keep learning Spring and Java.

Never hurry in the study. Make sure you understand topics very well and take your time to understand it. Your lack of understanding of the topic will always sooner or later come out and you will waste more time as a result.

However, dont give yourself such deadline. First job is often about luck; finding that one company that sees your potential. For some it happens after 3 months for others after 3 years. But you need to keep consistent if you really want to become software developer. Aim for 8 months but know that it can take much much more. As you will learn you will increase your chances so persistent person will eventually get it but nobody will promise you it will happen after 8 months. If you will starve after 8 months due to uneplmployment consider finding part-time job just to live and study programming the rest of time.

3

u/[deleted] Aug 30 '22

This was a very helpful and well thought out response. I’m going to do exactly that thank you so much for the help!

39

u/beepo9 Aug 29 '22

For a job you would need to learn mainly 4 topics but only need to do one thing. The topics are

  1. Find the current best book for interview questions (google can help). Focus on design patterns, data structures and some simple algorithms like sorting

  2. Choose a java version (stable one like java 8 or 11 could be a mininum) and read oracle java tls for that version

  3. Create a personal project

  4. When you get stuck, google a lot and try to understand how the program works with the debugger.

The one thing to do and the hardest one is practice every day all the topics. 1-3h per day and in 2 months you should be ready. Took me an insane 10h+ per day 2 weeks of learning (yeah i had a statistics background and was in need of cash) to nail a junior position. Best instructor that got my attention on youtube is a guy named Bucky. Hope his videos are still around. Good luck!

6

u/[deleted] Aug 29 '22

woahhh thanks for the reply! I saw a comment on here saying 8 months is a really short amount of time but knowing you learned it enough for a job in 2 weeks is super helpful!

2

u/AppenH Aug 30 '22

What kind of project did you build to get your job so quick?

4

u/beepo9 Aug 31 '22

It was a web scraper that gave me the local store offers. Basically there was a black friday offer in the past that advertised that they sold a samsung galaxy s for the price of 1 euro during black friday. I created a web scraping job that ran once a minute and let it tell me if there is such an offer by comparing actual price and discounts. To my surprise not only that there wasn't such an offer during BF, but also the actual prices and discounts increased during BF and were more expensive than in other stores. It was a simple 1 class java file that used java swing to popup a window on desktop in case an offers appear

1

u/codeworks0301 Aug 31 '22

What do you mean by read the oracle java TLS for that version? Do you mean the javadoc?

1

u/beepo9 Aug 31 '22

My mistake. Meant technical language specification, but I think the correct abbreviation is JLS https://docs.oracle.com/javase/specs/jls/se11/html/index.html

1

u/codeworks0301 Sep 01 '22

Thanks, this is so cool. I thought something like this should exist but couldn't find it. Thanks again!!

1

u/jdbest21 Feb 11 '23

WOAH even with a statistics background and 10+ hours daily only 2 weeks? Zero coding experience before? That is wild. Which topics did you cover during those two weeks?

1

u/AutoModerator Aug 29 '22

Please, don't recommend/use thenewboston.

They are a discouraged resource as they teach questionable practice. They don't adhere to commonly accepted standards, such as the Java Code Conventions, use horrible variable naming ("bucky" is under no circumstances a proper variable name), and in general don't teach proper practices, plus their "just do it now, I'll explain why later" approach is really bad.

Derek Banas covers about the same ground, but in much better quality.

If you're looking for an in-depth, comprehensive, high quality, free Java course, use the MOOC Object Oriented Programming with Java from the University of Helsinki and maybe Java for Complete Beginners by John Purcell as secondary resource.

I am a bot and this message was triggered by you mentioning thenewboston. Please do not respond to this comment as I will not be able to reply.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

3

u/Macpaper23 Sep 23 '22

14 year old me would’ve never kept learning Java if it wasn’t for people like thenewboston. Everyone eventually knows his practices are “bad” but he at least makes it simple enough and fun for young people. Also his videos are free compared to Purcell’s course recommended here. Bad bot.

1

u/AutoModerator Sep 23 '22

Please, don't recommend/use thenewboston.

They are a discouraged resource as they teach questionable practice. They don't adhere to commonly accepted standards, such as the Java Code Conventions, use horrible variable naming ("bucky" is under no circumstances a proper variable name), and in general don't teach proper practices, plus their "just do it now, I'll explain why later" approach is really bad.

Derek Banas covers about the same ground, but in much better quality.

If you're looking for an in-depth, comprehensive, high quality, free Java course, use the MOOC Object Oriented Programming with Java from the University of Helsinki and maybe Java for Complete Beginners by John Purcell as secondary resource.

I am a bot and this message was triggered by you mentioning thenewboston. Please do not respond to this comment as I will not be able to reply.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

24

u/CSIWFR-46 Aug 30 '22

javabrains.io has a carreer path for Java if you are interested. It is 8.99 dollars per month though.

I would say:

Java Fundamentals(classes, loops, oop, etc)

Core Java(Generics, Collections, Stream, Multithreading, Jdbc, etc)

Datastructures and Algorithms

Version Control(Git/Github)

Spring/Springboot(Project Management Tools such as Maven/Gradle)

Jpa and Hibernate

Api, Microservices

I learned in this order.

0

u/[deleted] Aug 30 '22

I am currently learning java and I can't seem to find good projects, I googled it but most of them use awt or java applett that seems to be obsolete now. Can you point me some resource for good projects I can make.

4

u/CSIWFR-46 Aug 30 '22

What kind of projects do you want to do? I can recommend some full-stack projects if you are interested.

For other stuff, You can also search for University Programming assignments for Java if you want a project to practice DS and algorithms.

You can also learn about JDBC by connecting to a database. You can try to parse an excel file and save it in a database and do some CRUD operations. Can also create reporting(output to a .txt file for practice)based on the database. (You will learn about File Handling, JDBC, Exception Handling, OOP, some SQL, etc)

For a project that should go on a resume, I would suggest learning Spring and doing a full-stack project. But it is essential to practice the basics before jumping to frameworks and stuff.

2

u/_laplace-_- Aug 30 '22

Can i learn SpringBoot before Spring?
I have understanding in JavaCore and i need a project to put on the resume, inorder to apply a internship

5

u/CSIWFR-46 Aug 30 '22

I think you have some misunderstanding. Spring is the actual framework. When you work with spring, you have to configure a lot of things such as database, context, transaction, web context, etc.

Springboot makes these configuration easier. They are auto configured.

There are tutorials that will teach to build Rest API using Springboot. But it is essential to understand some topics such as Dependency Injection, Spring Context, Beans, Transaction before building application.

https://youtube.com/playlist?list=PLEocw3gLFc8Vli5p6rWHnNcYxFRbaIfIJ

I would watch above playlist before starting to build projects.

1

u/_laplace-_- Aug 30 '22

Thank you, i will start learning from that.

1

u/[deleted] Aug 30 '22

I am currently tackling basics so any project that does that. And full stack projets as in an application with java as backend?

1

u/CSIWFR-46 Aug 30 '22

If it is basic then search for some University projects. MIT Open Courseware has their course in Java with 5 to 6 assignments.

15

u/Owldud Aug 29 '22

Run thru the MOOC Java and then learn Spring Boot, make a couple projects, try to network with people, apply for all the Java jobs, ???, profit.

4

u/iryan6627 Aug 30 '22

I actually just started a Java role 2 weeks ago after my recruiter lied for me and said I was well-versed in Java. Long story short, they still took me in after I told them I know nothing about Java lol.

Pickup a Java fundamentals book or Udemy course and study exactly the same way you would with any other language. I’m staring to see that it does not matter the language; if you want to solve a problem, you will Google and learn to solve that problem as you go, you don’t need to know everything about Java first before starting.

3

u/popey123 Aug 29 '22

Entry level in a open minded place but 8 months is pretty short if you don t have much programing skill.
Learn the basics that you will find anywhere and some usefull design pattern to ehence your object knowledge. At one point java spring but it will be very limited without html, css and javascript skills.
Udemy is doing a 9.99 for a few days, you might find good courses there.

3

u/MuslinBagger Aug 30 '22

I think Jetbrains Academy has some pretty good tracks to learn Java that you can finish within that timeline. Provided you do it full time. It will cost you a few hundred dollars though, and you need to have some basic knowledge of programming.

4

u/AutoModerator Aug 29 '22

It seems that you are looking for resources for learning Java.

In our sidebar ("About" on mobile), we have a section "Free Tutorials" where we list the most commonly recommended courses.

To make it easier for you, the recommendations are posted right here:

Also, don't forget to look at:

If you are looking for learning resources for Data Structures and Algorithms, look into:

"Algorithms" by Robert Sedgewick and Kevin Wayne - Princeton University

Your post remains visible. There is nothing you need to do.

I am a bot and this message was triggered by keywords like "learn", "learning", "course" in the title of your post.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

•

u/AutoModerator Aug 29 '22

Please ensure that:

  • Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions

  • You include any and all error messages in full - best also formatted as code block

  • You ask clear questions

  • You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.

If any of the above points is not met, your post can and will be removed without further warning.

Code is to be formatted as code block (old reddit/markdown editor: empty line before the code, each code line indented by 4 spaces, new reddit: https://imgur.com/a/fgoFFis) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.

Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.

Code blocks look like this:

public class HelloWorld {

    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.

If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.

To potential helpers

Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/tekorei69 Sep 06 '22

I'm going thru java now, you can start with java course on YT by simplilearn, a little annoying the voice but well explained and one from freecodecamp. Also i'm reading a good book "Beginning Java 17 fundamentals 3rd edition, by Sharan Kishori". when u jump between YT courses, they also changes the IDEs and creates a little confusion, so, stick to one(netbeans or vs code).

3

u/alexjonestownkoolaid Aug 29 '22

You might not get a lot of replies because this is a common post (hence the automod comment giving you the best resources). Nobody can accurately answer because people learn differently. Most resources are online, so it's all at your own pace. You can watch Youtube videos at 1.5x speed or work on MOOC for 12 hours a day, that's all up to you. Just figure out the most practical way to self-teach and do that, a lot.

1

u/Crammucho Aug 30 '22

Oh nice, lots of good ideas in here. I'm self learning for the next two months full-time.

1

u/themeansr Aug 30 '22

Hyperskill is what I’m learning with. Like it so far. It’s free as well.

2

u/Alberto_Borges Oct 10 '22

By free you mean the 7 days free trial?

1

u/[deleted] Sep 06 '22

A lot of smarter people will give better answers than me, but design patterns! Absolutely put some serious emphasis on design patterns no matter what curriculum you set up for yourself. It was definitely the subject I was most lacking in when I got my first job.

-5

u/[deleted] Aug 29 '22

Youtube