r/learnjava • • Jun 16 '20

Where/how to learn frameworks (Spring boot or hibernate)?

hey guys,

i started around 8 months ago to learn java/programming. when i started out i knew nothing about programming or java.

so far i learned:

- the basic Java tutorial (from basic syntax to exceptions, I/O, so on...)

- object oriented stuff (inheritance, packages, interfaces,....)

- advanced stuff like generics, data structures, multithreading,...

(mostly through YT videos, Udemy courses, online guides or just by google about the topics)

for the last few weeks i tried to learn more about JavaFX, SQL (MySQL, Postgres, SQLite) and Maven (made my own Project with Maven, JavaFX and SQL)

now i want to learn more about frameworks like hibernate or spring boot but its really hard to find good tutorials online (like youtube, udemy or other sources)

i watched some youtube tutorials and followed step by step, but they did not explain the whole topic very well, it was just like "then you make this, and then that, then this..." and so on.

my goal is to apply for a Java Backend developer jobs by the end of this year and i would like to prepare some projects to show my skills. i think once i fully understand the frameworks and can combine my knowledge i learned so far with them, i can start making my own website to show off some nice stuff. can anyone recommend me something where i can learn more about them? (videos, guides, tutorials, pdf, books,....)

56 Upvotes

13 comments sorted by

12

u/vjrocks96 Jun 16 '20

Order to follow for Java Basics, JDBC, JSP n Servlets, Hibernate, Spring Core or JavaEE or Struts.

10

u/Nephyst Jun 16 '20

While JavaFx is probably an easy way to build a front-end for an app, I would keep in mind that almost nobody uses it outside of universities. In 10+ years of professional development, literally the only place I've ever heard anyone even mention it in in this subreddit. It's massively more common for java to be used to build back-end systems that either do data processing with no front-end, or they support websites build in react/angular/etc.

Spring is fairly easy to pick up, and is something you are likely to be asked in any java interview. There are a lot of tutorials, and you can use the spring initializr to create a project template to get you started at https://start.spring.io/ I think the most important concepts you want to understand with spring are dependency injection and the spring context.

16

u/Juggernaut0079 Jun 16 '20 edited Jun 16 '20

My 2 cents. Don't go for Spring boot unless your concepts are strong in Spring. Same with hibernate, try to understand how jdbc works and then move on to hibernate and jpa.

Frameworks are easy to learn if your basics are strong. I would strongly advice you to learn the basics of servlet even before moving to spring.

5

u/Theorem101 Jun 16 '20

I would recomend to get familiar yourself first with java EE and some basic concepts of server side development. When I started I learned by reading the book Begining Java EE 7 by A. Goncavles. After that I think spring will feel much more familiar and you could take and understand online courses.

4

u/nhxv Jun 16 '20

Check out Chad Darby Spring & Hibernate course on udemy.

3

u/therealdanvega Jun 17 '20

I have a course on Udemy that walks you through creating an application in Spring Boot 2 and deploying it to AWS. If you're interested I can give you a free coupon. If you're not interested I won't be offended. I would start with the Spring Framework and Spring Boot documentation, they are both excellent. Spring also has some really good guides on their website that walk you through a particular problem or feature. I really love Spring / Java and wish you the best of luck on your learning adventures!

https://spring.io/guides

1

u/tridiumcontrols Jun 17 '20

I’m interested, can you link to your udemy course?

1

u/mdayann Jun 30 '20

I'm interested on your udemy course, i'm learning spring currently and doing some mini project with spring boot

0

u/[deleted] Jun 17 '20

[deleted]

1

u/therealdanvega Jun 17 '20

Thank you so much! Right now I don't have any plans for a course but I am working on videos for my YouTube channel.

2

u/s_131 Jun 16 '20

There is a spring boot course on Udemy by in28minutes, which I find good. You can also refer to spring documentations, it is very thorough. Most importantly, I think building something is a great way to learn.

2

u/LeBinhAn21 Jun 17 '20

To be honest, I having the same question even when I'm a college student, not a self-taught. My instructor didn't taught me much, he struggled to find a way to open the Java IDE and install packages for Spring and he even didn't know how to code some basic component. Actually, he have a PhD in Mathematics, not computer science, I really like him when he taught us Algorithm, but hate him a lot for wasting my time in his programming class. University/college in my country often let people with Math major teaching computer science instead of people who actually study CS, I have no idea why they do that. So, I have to learn Spring MVC by myself. Back then, I have tried both freeCodeCamp tutorials, some courses on coursera, some tuts on youtube... and at the end, I found that tutorial from blogger is the most suitable for me, people who wrote them are senior developers who still working in the industry, they have knowledge and experience, they know what a newbie need. In their tutorials, they not tell me to do this, do that then do this, do that... but only explain some basic concept used in the framework, components of the framework and how they interact with others, then I had to build the code myself from that foundation knowledge. Spring's documentations help me a lots as well, you should check it out. And if you are interested in the blogs in mentioned, you can search for o7planing spring or loda.me, they are written in Vietnamese but the author did tried to make an English version for each of their post, or maybe you can just search for blogger who speak your language, that should be better.

2

u/wimdeblauwe Jun 19 '20

You might want to be interested in my book about Spring Boot (the ebook version is free): https://www.wimdeblauwe.com/books/

It takes you through building a REST API with Spring Boot step by step.