r/javahelp • • Jul 08 '21

Node dev wants to understand spring

I've been building APIs for a while now and I would consider myself pretty component in Node.js and Express. As a result I know a lot about the Node.js ecosystem (tools, packages, yada yada). I want to transition into Spring Boot and carry over as much of my Node.js knowledge as possible. I've done some research, but the whole Java world is very foreign to me. Can anyone recommend resources that explain Spring concepts while giving examples in Node.js. Asking for a friend.

17 Upvotes

12 comments sorted by

View all comments

Show parent comments

4

u/[deleted] Jul 08 '21

I know the very basics of Java from when I used to do android development, but OOP has always been difficult for me (which is why I gravitated towards the functional style of node). How much java would you recommend I learn before jumping into Spring?

11

u/wsppan Jul 08 '21

Enough to be fluent in OO programming. Spring is a Java framework. You write Java code when using Spring. Java is an OO language.

0

u/[deleted] Jul 08 '21

[deleted]

6

u/wsppan Jul 08 '21 edited Jul 08 '21

Java is an OO language with some FP enhancements. Try and write anything in Java without a Class. Spring is a framework written in Java that has some aspect oriented features. It is still Java and Java is OO at its core.

Edit:

"Java is a high-level, class-based, object-oriented  programming language" - Wikipedia

"Your programming language is object oriented, yet it's still dead simple." - James Gosling white paper May 1996 The Java Language Environment