r/javascript • u/Weird_Tree9182 • 6d ago
AskJS [AskJS] From Node Js to Java spring?????? 4.8 yrs EXP
I have node js and react js experience for 4.8 years. Recently trying for switch, but wherever I go JD contains Java and React. Cant find roles for Node.
Is realy Node got outdated?
should i move to java spring??
3
u/horangiwhakkatchi 5d ago
Node is newer and definitely easier to work with but old, large companies have a ton of stuff written in Java that they need to maintain and so have a ton of Java devs that build new stuff in Java.
If you want to use node, look at startups and smaller companies.
1
1
u/Dependent-Net6461 3d ago
"Node is easier to work with" 😂
The thing java code is only legacy is not funny anymore...that joke is as old as my grandpa
1
u/horangiwhakkatchi 2d ago
It's not only legacy but node is definitely easier IMO. Modern Java is nice. But, I still find it more complex than writing Typescript with Node. Maybe just because I learned Java second.
1
u/DustNearby2848 6d ago
Yeahhh… most jobs seem to be for Python these daysÂ
1
1
u/Over_Tart_916 6d ago
Anyone working in a single language is not going to get very far in the professional environment.
1
u/Weird_Tree9182 5d ago
Yeah, thats the reason I’m switching to java from scripting
1
u/Over_Tart_916 5d ago
My point is don't switch. Don't constrain yourself. Any good full stack web developer should know Java, C#, JavaScript, TypeScript, Python, CSS, HTML at a MINIMUM. Hell, PHP still has a place too.
1
u/Weird_Tree9182 5d ago
yeah, that will be however there, we cannot unlearn something though.
Will start with java and have both.0
u/Over_Tart_916 4d ago
Sure you can unlearn stuff. Don't use it for a while and you'll forget. Get a traumatic brain injury and you'll forget.Â
1
u/peterlinddk 6d ago
I don't think I have ever seen a job-posting where I live that asked for Node experience. Not in the past 8 years or so. Loads and loads and loads of React and other frontend JavaScript, but no backend. When they mention Node it seems to be mostly for build tools.
But check your local listings - here there's way more C# .NET positions than Java Spring, and also a lot of Python. And a lot still combines those backends with a React frontend.
1
u/Weird_Tree9182 6d ago
I am Actually a react js developer, but could not find good jobs for frontend alone. So, started learning Node js since it was just a extra framework since i know javascript already.
But I see there's no use right now. I should probably get some powerful backend to land in better place.0
u/peterlinddk 6d ago
To be fair - if you've learned Node.js and Express.js, and built REST API backend with those, learning Spring Boot or .NET should be fairly straightforward. All the basic principles are the same, things are just named slightly different.
So maybe try to learn both, and market yourself as a full stack with particularly good frontend expertise, or something ... Honestly, I have no idea what works these days, the job market seems crazy everywhere.
1
u/Weird_Tree9182 5d ago
job market is crazy and people who lacks in skill are also getting placed. i dont really see the logic, but when I go for the interviews there will be ROD questions and somehow I manage to answer it they expect same answer in different format.
1
u/Constant_Tomorrow_69 6d ago
Since you already know JS and Node, I'd mess around with NestJS for a little and get to know that framework...and then transitioning to Spring would be fairly easy IMO.
1
u/Weird_Tree9182 5d ago
I felt no point in switching to nest, atleast node and react, I’ve seen some of the job posts. Nest is complete out of scope.
1
u/Constant_Tomorrow_69 5d ago
It’s more about understanding the way the framework functions in terms of DI and IoC, AOP, request lifecycle, DTOs, configs, how to structure projects, etc. and there is a lot of overlap between the two having worked with both for many years. Maybe google the similarities and why it makes sense yourself, but I work with both and have been in the game for 17 years. Just trying to point you in the right direction
1
u/Weird_Tree9182 5d ago
I get your point, spring and next follow the similar flow. So I have two options here.
1. straight to Spring Boot: start with java and learn springboot and work on multiple personal projects and get grip on the flow.
2. Two weeks with NestJS then start java > spring: This helps me understand the flow better because i know javascript already so I can concentrate more on flow, then I can move to learnin java after spring.Need to think which to follow.
1
u/Constant_Tomorrow_69 5d ago
There are two unknowns down one path and only a single unknown at a time down the other…break the problem down into smaller more digestible pieces and you will be more successful
1
u/Over_Tart_916 6d ago
What the fuck is the question here?Â
First, Java and JavaScript aren't related AT ALL.Â
Second, whether you write in JavaScript or Java depends entirely on the tech stack chosen for the project. One isn't better than the other over all. It depends on the need.Â
Learn both. Most full stack developers work in both as well as many other languages, like python, c#, swift, haxe, etc.Â
1
u/horizon_games 6d ago
Node is oversaturated - there's lots of devs who know it, with more than 4.8yrs of experience. Same with React. Because that was the stack that got people hired for a decade. It's rarely used vanilla, but you see some Next.js and Nest.
Doesn't hurt to learn Java Spring, it's powerful and removes a ton of boilerplate and is used heavily in large enterprise apps. Only real annoyance is a rare corner case that their "magic" auto-wiring doesn't handle.
1
u/Weird_Tree9182 6d ago
Felt the same, thinking to come out of the Well and start the Java spring.
Catch is can i learn java and parallely apply for java roles? cause here only language is problem, i have enough knowledge in backend development, only syntax difference right?2
u/Over_Tart_916 6d ago
If you've never worked in Java before, then you have very little backend experience.Â
6
u/lucaaszsx 6d ago
I don't think the issue is that Node.js is outdated. It's more that Java is a much more established technology in the industry. That's why so many job postings list Java as a requirement.
Landing a job where Node.js is the main requirement is probably a bit harder for that reason. Java has been the go-to choice for enterprise applications for decades, so there are simply more companies, legacy systems, and teams built around it.