r/learnjava • • May 13 '25

Best courses to learn Java

76 Upvotes

I am starting my new grad job as a software engineer in about a month. I have been told by my manager that the majority of the work is in Java. I have never coded in Java before for any internship or class. I was wondering what are the best online courses to learn Java. Thanks!!


r/learnjava • • May 10 '23

Just passed my Jave SE 8 Programmer I exam!

76 Upvotes

My company is providing bonuses for new certifications so I decided to give it a shot. They provided me with access to Oracle University where I watched a prerecorded lesson and did practice questions, programming exercises, quizzes, and a short exam prep course which I completed over the course of a month. I also learned Java in college and have been using it as an automation engineer for the past 5 years.

I felt confident going into the exam. It was an online proctored exam with 56 multiple choice questions and 2 hours to complete. While some questions were tough, I thought I did good. To my surprise I failed my first attempt, by 3 questions. The results only tell you the areas you answered incorrectly, like constructors, Java basics, or inheritance. They don’t provide any feedback on why.

Afterwards, I did some research on how people passed the test and decided to start doing practice exams using Enthuware. They have several practice exams, a bank of 600 practice questions, and many other features for learning. The format and content were similar to my first exam attempt. My favorite part was each question came with an explanation on why answers were right or wrong. They also have videos and a forum to ask questions. This helped me understand concepts better. It also helped me learn how the test will try to trick you with small details. An example would be a question that looks like it has to do with exceptions, but there’s a line of code where an array is out of bounds by 1 and won’t compile. I highly recommend Enthuware to anyone prepping for exams. It was only $10 and they have many other exam banks available as well.

I drilled practice exams for several days and passed the exam on my 2nd attempt. Hope this helps anyone looking to get a certification!


r/learnjava • • Jan 13 '22

I want to be a Java back end dev, I think I finally got Java under my belt, whats next?

76 Upvotes

Where to go now?


r/learnjava • • Sep 16 '21

Baeldung $400 Spring Security Master Class Review + Warning

75 Upvotes

I am writing this post to partial review Baeldung Spring Security Master Class. For reference, the cost of this course is almost $400. With such a high price one expects the quality of the course to be exceptional, this couldn't be farther from the truth. I will begin by saying that the course videos are dated and use a GitHub repository as its backbone. From what I've done so far the course doesn't really cover a lot of depth, it's rather superficial and it has failed at teaching me the underlying concepts behind spring security.

I also encountered other issues with the course. The instructor skips certain concepts in the videos and delegates them to the repository e.g. sending emails. For a $400 course, I wouldn't expect the instructor to skip out on these things as a beginner could greatly benefit. Inconsistencies occur at certain times like when he implements something as a Spring Event and then further down the line he's implementing an identical feature but as a plain java method without explanation (one way vs the other?). Things are implemented right on the spot, organization and consistency be dammed. I feared that I was learning anti-patterns and/or just plain bad Spring programming practices.

Now, I've only done about 1/6 of the entire Spring Security Master Class. This is not a comprehensive review but from what I've seen so far I'm really not interested in finishing the course so I email Baeldung support for a refund. After all, it's been less than 30 days and I am not happy with the quality of the course. After I tell them that I'm not happy with the depth of the course given the amount of money I paid he refused to process a refund. His reasoning is that the refund reason is not related to the course content. If the depth of the course is not related to the course content I'm not sure what is. I was looking for a course to teach me Spring Security in-depth and while the course was practical it ignored the big picture.

I have refuted the refund rejection and have yet to hear back from Baeldung, I don't think anyone should have to chase Baeldung for a refund when It's been expressed that the course content has been disappointing and they would like to process a refund. This reeks of questionable business practices and the 30-day money-back guarantee shouldn't be splattered all over the Baeldung website for this outcome. I hope this post can help those who are on the fence about whether they should buy Baeldung courses.

TLDR: Do not be fooled by the cost of the course, it does not correlate with the depth/quality of the content.

EDIT: I want to inform everyone that I received an email from Eugen sometime after this post went live and he has agreed to refund the course.


r/learnjava • • Aug 27 '21

Why to never use == with Strings and instead use .equals()

75 Upvotes

In class we were discussing this and basically I understood == tests the EXACT same thing... since Strings are each their own object, we need a special method to check for if they are actually the same words. Furthermore, == tests the address I believe?

Here's the confusing part for me... Java has optimized == so SOMETIMES "hello" == "hello" will return true even if they are two unique Strings... but "hell" += "o" == "hello" returns false. Why ?


r/learnjava • • Apr 17 '21

How much Java to learn before start Android app development??

75 Upvotes

I am currently learning Java with the help of Mooc.fi Java course...I have completed the part 1 already.. My question is that how much knowledge of Java should I have before starting to learn Android app development...Are there certain concepts which are useful in Android app development which I should know.. And should I even learn Java for app development or should I jump straight into Kotlin??


r/learnjava • • Feb 02 '25

For those who missed it yesterday, the most watched Spring Boot course on Udemy is again temporarily free

74 Upvotes

edit: it's over

https://x.com/luv2codetv/status/1885946286408347688

(I'm not affiliated or related with this channel)


r/learnjava • • Nov 14 '20

HumbleBundle Java book bundle available

74 Upvotes

As some other people have already mentioned, the HumbleBundle currently offers up to 15 Java related books by O'Reilly in their book bundle.

For those that dont know HumbleBundle:

It is a website that sells bundles of video games, ebooks, software and other digital content for usually very low prices. A part of their revenue is donated to charity. The individual bundles are divided into tiers. Each tier offers more content. The more a customer is willing to pay, the more tiers they unlock with their purchase. Customers can pay more than is necessary to further support the charities. More information on their website's about. Some of the charities that benefit from purchases are listed here.

The contents of the Java bundle:

  • Tier 1 (pay at least 0.84 € to unlock)

    • Java 8 Lambdas

    • Java Threads, 3rd Edition

    • Technology Strategy Patterns

    • Continious Delivery in Java

    • (*) Java in a Nutshell, 7th Edition

  • Tier 2 (pay at least 6.74 € to unlock)

    • All books from tier 1

    • Semantic Software Design

    • Kotlin Cookbook

    • Real-World Software Development

    • (*) Think Java, 2nd Edition

    • 97 Things Every Java Programmer Should Know

  • Tier 3 (pay at least 12.65 € to unlock)

    • All books from tier 1 and 2

    • gRPC: Up and Running

    • Quarkus Cookbook

    • Java Performance, 2nd Edition

    • Java Cookbook, 4th Edition

    • (*) Learning Java, 5th Edition

So for less than 1 Euro you would get 5 books and for less than 13 Euros you would get 15 books.

More information about individual books can be found on the bundle page. Click on the image of the book that interests you to read the book description as well as a short preview in PDF form.

The purchased books will be available for download as PDF, EPUB and MOBI.

Please keep in mind that many books in this bundle are targeted at programmers that already know basic Java. The books that would also help completely new Java programmers, according to the authors, are marked with (*) in the list above.

The bundle is available for another 16 days, so you have plenty of time to decide. There have been multiple similar bundles in the past, so it is likely that another bundle will be available in the next 1-2 years.

We consider many books in this bundle to be good resources, but please, if you are interested in specific books, still do some research to see what other people have to say.

It would be great if you could share your experiences with these books in this thread. If you have questions regarding the bundle please also keep them in here, so that others can find them as well.

Disclaimer: We did not get rewarded in any way by HumbleBundle, O'Reilly or any other company for posting this.


r/learnjava • • Jul 10 '24

Sharing my favorite Youtube Teacher

73 Upvotes

Hey all! I wanted to share this guy's channel because he doesn't seem to be well known and has been CRUCIAL in my fundamental understanding of Java. By far the best teacher I've had on Java to date. Check him out!

https://www.youtube.com/@CodingWithJohn

EDIT: Please share your favorite teachers!


r/learnjava • • Nov 15 '20

Java for Beginners Video: Hangman Game in Terminal

73 Upvotes

Hi learners,

If you wish to make a Java game, but stuck with using the Terminal (as is normal for the first 2-6 months of learning Java), you might find this useful: Hangman in Terminal YouTube link

Thanks!


r/learnjava • • Nov 12 '19

A Full Stack Java+TypeScript App I created after working a year as a Junior Dev

73 Upvotes

I want to share this small project that I recently implemented. Initially, it was a code assignment task for a Full Stack position, but after I completed the task I decided to go further and cover the code with unit tests, establish CI, wrap it to Docker and set up code coverage... In the end, I really enjoyed implementing this app.

I used Java on the back end side, and TypeScript with Angular 8 on the front end. I am lucky to get a bit from both technologies as I was initially hired as a Java Dev but in fact, had to work with Angular.

I would love to get some feedback on the application in terms of code quality and improvements.

https://github.com/shpotainna/company-structure


r/learnjava • • Jun 09 '19

What your everyday job as java developer looks like?

73 Upvotes

Hi everyone. I am currently on third semester of my college (data science) and I thought about what real world java tasks look like. I have only worked on and developed projects from scratch and do not have any expirience with already existing projects. If you have any examples or can tell about what you do in your daily day as a java developer, can you please tell about it? Thanks in advance.


r/learnjava • • Jun 02 '25

Trying to learn Java backend the hard way — does this plan make sense?

72 Upvotes

Hey everyone,

So I’ve learned Java before and done some DSA and OOP stuff — like Leetcode and basic problem solving — but I kinda want to start fresh and go deeper this time. I’m planning to get into backend development with Java (eventually Spring Boot), but I don’t want to jump into frameworks right away without understanding what’s going on under the hood.

Here’s the rough plan I’m thinking:

  • Revisit OOP and DSA while I work on backend stuff (want to get better at problem solving too)

  • Learn Java multithreading and concurrency properly (threads, pools, sync, deadlocks, etc.)

  • Dive into networking — sockets, HTTP, how servers actually talk to clients

  • Build a basic HTTP server using just Java and ServerSocket, handle multiple requests with threads, parse basic HTTP manually

  • Connect it to a database with JDBC

  • Work with JSON

  • Then eventually move into Spring Boot when I understand what it's abstracting

I’ve got time to learn and I want to actually understand how things work instead of just throwing annotations around. Does this sound like a solid approach?

Also, if anyone knows good resources (videos, tutorials, books, whatever) for multithreading or building HTTP servers from scratch in Java, or any related topic to what I've mentioned — I’d love some recommendations!

Thanks 🙏


r/learnjava • • Feb 23 '25

Is it just me who feel java is hard?

72 Upvotes

Or everyone felt the same way and got on track by moving forward. Which on is it?? I don't understand some concepts how much ever I try, wt should I do of such? (I'm a beginner)


r/learnjava • • Jun 21 '22

The Modulus Operator is Powerful!

72 Upvotes

This may be obvious to most of you, but recently I've been working through the Computer Science textbook from Princeton to fill in knowledge gaps and so far the modulus operator has been used a lot.

I can't think of a single case where I used the modulus operator in any of my school projects and I really wish I knew then what I know now. It may seem simple, but this little guy is incredibly useful! Below are two examples that really stood out to me.

There is an exercise where you need to sum the digits of an integer from right to left, and it's really as simple as taking the result of n % 10 and then performing the calculation because the remainder is the right most digit. Then to get the next digit you just need to n /= 10 until n == 0. Most of you may have known this, but my mind was blown. My solution was not nearly as elegant.

Another exercise has you iterate from 1000 to 2000 and printing only 5 results per line. Again...this is as simple as checking if i + 1 % 5 == 0 before printing. There's no need for some kind of sentinel variable or anything fancy...just the modulus operator checking if 5 divides the iterator evenly.

Sorry if this is known to everyone, but I wanted to share these two things with you because nobody I know cares, and from now on I am going to try and work the modulus operator into my code more often.


r/learnjava • • Apr 10 '22

Spring Boot, Spring Core, Spring MVC, Spring Rest, Spring Data, JPA, Hibernate, ORM - Where is a beginner meant to start?

72 Upvotes

I feel pretty comfortable with core Java, and I have a decent grasp on Java servlets, JDBC, and JSP.

I'm now looking into Spring as that seems to be the next logical step, but there are so many options to choose from that it's a bit overwhelming.

Everytime I search Spring on Youtube, I see stuff like Spring boot, Spring MVC, Spring Rest, Spring Data, JPA, ORM, Hibernate which are all supposedly meant to be targeted at beginners.

Is there a logical path that I should follow/can I skip some of these? I think Spring Boot is the one that gets talked about the most, but does that mean I can skip Spring Core for example?

Any guidance much appreciated, thank you.


r/learnjava • • Jun 05 '20

Where to learn Advanced Java?

72 Upvotes

Incoming college freshman here who took APCSA in HS. We learned the basics of java, now that I'm learning android development I need to learn the advanced Java concepts, (things like static initializers, anonymous classes, inner classes, threading, static factory methods etc). Do you guys have any free resources for to learn advanced Java?

Do not tell me to learn Kotlin, I'll get to that after Java, since Java can be used across nearly all platforms.


r/learnjava • • Jan 06 '25

It's tough to learn spring boot

71 Upvotes

It's so difficult to learn spring boot. Maybe it's not...but it's so difficult to find a good resource... I had initially started with eazy bytes course... And later it became difficult to follow ...because the instructor would just copy paste the code. I left it because it was difficult to follow along. Then I came across Chad darby's course. He has written:Spring boot, spring MVC, security and HIBERNATE ....as the course hedline I was expecting him to explain hibernate in detail...or atleast imp concepts..but 😔..he just explained some CRUD operations and mappings that's it. What about @transactional , persistence context, some concepts like detach , transient, flush?????... They were not covered at all... He has also not covered JWT in security section. I feel as if none of the courses cover imp topics...and I understand that it's difficult to cover everything...but I atleast expect some basics to be covered.. For an instance he just explained what @ControllerAdvice does but didn't explain how it works behind the scenes...

I feel lost and don't actually know from where to learn spring boot. My aim is to learn spring boot and microservices... But it seems really tough... I have to learn it for my company project...it's so frustrating Could someone please guide me?


r/learnjava • • Jun 02 '21

What would you consider to be the things which you should 100% know in Java?

71 Upvotes

So basically I was browsing Stack overflow and people answering questions explain like deep features of Java. Are these things fundamentals? What concepts should every java developer know?


r/learnjava • • Oct 11 '20

What are some not very complex but interesting programs to code while learning multi-threading?

71 Upvotes

I am being taught multi-threading in class but the code snippets shown for it are boring stuff which just prints integers on screen. Is there something cooler I could make to understand multi-threading better? I don't want it to be too complex with UI and stuff because I don't yet know how to do UI in Java.


r/learnjava • • Oct 17 '19

Seeking a roadmap to learn Java as a beginner.

71 Upvotes

Hi all.

I am planning to go back to software development path (I've studied some of the basics in university, including programming in C, so it's not like I am complete newbie, but I haven't gone further than learning basic stuff like using IDE, variables, reading input and such). Decided to go with learning Java, as it is quite popular on local IT market. I have already started Helsinki MOOC course, but I wanted to ask if there is some kind of roadmap for self-taught developer in Java? I am interested especially in the steps after finishing the course. I've read it's best to join some open-source project and start practicing, are there any resources/sites to find out projects that are looking for people to join their team? Also are there any good books on Java (or development in general) to read alongside the course ?


r/learnjava • • Sep 09 '19

Creating Spring Boot and React CRUD Full Stack Application with Maven

71 Upvotes

This guide helps you create a full stack application with all the CRUD (Create, Read, Update and Delete) features using React as Frontend framework and Spring Boot as the backend REST API. We will be using JavaScript as the frontend language and Java as the backend language.

You will learn

  • What is a full stack application?

  • Why do we create full stack applications?

  • How do you use React as a Frontend Framework?

  • How do you use Spring to create Backend REST Service API?

  • How do you call Spring Boot REST API from React using the axios framework?

  • How and When to use different REST API Request Methods - GET, POST, PUT and DELETE?

  • How do you perform CRUD (Create, Read, Update and Delete) operations using React as Frontend framework and Spring Boot as the backend REST API?

  • How do you create a form in React using Formik?

https://www.springboottutorial.com/spring-boot-react-full-stack-crud-maven-application


r/learnjava • • Aug 05 '22

Dont understand CodeWars or Leetcode after finishing MOOC Java

70 Upvotes

Idk but I feel like a literal idiot, even the basic basic "very easy/easy questions" are hell for me. I don't get it. How do I understand these questions more?

Its like theres a gap between the two courses/websites that I havent filled yet


r/learnjava • • Mar 16 '20

10 Tips For Working With Core Spring Framework

70 Upvotes

For those new to the Spring framework I wrote a short article with some tips I have picked up over the years:

https://medium.com/priceline-labs/10-tips-for-working-with-core-spring-framework-22a7a1bb4d94

Enjoy!