Spring Boot vs. Node | express.js vs Spring Boot

  Рет қаралды 54,371

Jan Goebel

Jan Goebel

Күн бұрын

🔥More exclusive content: productioncoder.com/you-decid...
Twitter: / _jgoebel
Blog: productioncoder.com
Should you use Spring / Spring Boot or Node in your next project?
Spring Boot seems to be a great fit for the enterprise because you can fulfill all the security and compliance requirements.
Node is great when you need to get something done as quickly as possible.

Пікірлер: 158
@jgoebel
@jgoebel 3 жыл бұрын
Do you prefer Node or Spring Boot? When do you use what?
@emeryarturo8991
@emeryarturo8991 3 жыл бұрын
i know I am kinda off topic but does anyone know of a good website to stream newly released series online?
@treybrayden1622
@treybrayden1622 3 жыл бұрын
@Emery Arturo Try flixzone. Just search on google for it :)
@maddoxzain920
@maddoxzain920 3 жыл бұрын
@Trey Brayden yup, I've been watching on Flixzone for since march myself =)
@emeryarturo8991
@emeryarturo8991 3 жыл бұрын
@Trey Brayden Thank you, I went there and it seems to work :D I really appreciate it !
@treybrayden1622
@treybrayden1622 3 жыл бұрын
@Emery Arturo Happy to help :D
@kassiomaaia
@kassiomaaia 3 жыл бұрын
Really good explanation, I'll take time to look at Spring boot. I've been working with Node for 4 year and I felt all those pain that you've mentioned, Thanks!
@jgoebel
@jgoebel 3 жыл бұрын
nice 👍
@xaviernavarro1578
@xaviernavarro1578 Жыл бұрын
Thanks. Very good and clear explanation. You do touch on points that are important for startup that are watching their cost but not at the expense of scalability.
@mohamedbensalah7169
@mohamedbensalah7169 3 жыл бұрын
Thank you for this video. We will wait for spring boot videos on your channel. good luck ;)
@jgoebel
@jgoebel 3 жыл бұрын
thx
@albertoplebani77
@albertoplebani77 3 жыл бұрын
I agree with your disquisitions. I have a long time experience with java and SpringBoot and i like it a lot (i respect and hate hibernate though!) but since a few years i'have been developing nodejs based web-applications too. Today i'm working on a project for a customer where i have to choose between NodeJs (expressjs) vs SpringBoot for kind a medium/big web-application that has a lot of functionalities that aren't so much cpu intensive and should be mainly db operations. I decided to use nodejs because it's faster to develop with and working with Sequelize (db orm) is easier and leaner and less prone to edge conditions than with hibernate. In case a very small set of the functionalities may become bottlenecks due to unexpected computation needs, i'll develop specific external web services in SpringBoot that will perform only computational tasks and return results to node. I hope this strategy will pay :)
@jgoebel
@jgoebel 3 жыл бұрын
yeah that strategy sounds reasonable. Because after all time to market is also crucial
@marklenet1743
@marklenet1743 2 жыл бұрын
am planning to implement the same strategy, thinking of using django for the data computation part then send the results to node...i however don't know if this option will be more expensive than using spring alone
@albertoplebani77
@albertoplebani77 2 жыл бұрын
@@marklenet1743 I consider a great benefit in terms of development productivity using node instead of spring if this is a feasible scenario. But if you are already developing stuffs with django then i think you don't even need node and maybe you should stick simply with django
@Rogueixpresents
@Rogueixpresents 2 жыл бұрын
awesome!
@shrinilthakkar4589
@shrinilthakkar4589 Жыл бұрын
@@jgoebel As Alberto suggested to make an external service in SpringBoot to do heavy computation. Is making too many such API calls to a different service a good idea to leverage its computation strength?
@letsgodevs
@letsgodevs 3 жыл бұрын
Thank you very much , this will be very help full for my interview
@jgoebel
@jgoebel 3 жыл бұрын
good luck for your interview
@oncelearner
@oncelearner 3 жыл бұрын
Man I just love the way you break things down ! I agree 100% with you ! I have made an online judge using nodeJs and since it needs doing code compilation and execution in the machine , the wait time for a new user get longer . That 's where I used Spring boot : and honestly the thread staff is an overkill for that really get the job done . Finally , as you said all of that are only tools , I always start with what I know and if it gets things done That s what I want , otherwise I move to learn what will get the the job done !
@jgoebel
@jgoebel 3 жыл бұрын
Exactly 👍
@LearnWithNeeraj777
@LearnWithNeeraj777 2 жыл бұрын
The channel name itself speaks a lot ❤️
@jgoebel
@jgoebel 2 жыл бұрын
👍👍👍
@malg5547
@malg5547 2 жыл бұрын
Best video i've seen on the topic, really informed and opinionated. Good job.
@jgoebel
@jgoebel 2 жыл бұрын
Glad you liked it!
@thekeykan
@thekeykan 3 жыл бұрын
Very useful and accurate comparison 👌Totally agree with you that Java Spring Boot has a very steep learning curve. "Everybody's grandmother can do Javascript" 😂 I need to buy a new pack of cigarette now 🚶‍♂️
@jgoebel
@jgoebel 3 жыл бұрын
😁 yeah although I would need to add even though everybody's grandmother can do JS, not many people know it really well. I think the original spec has hundreds of pages
@codedestiny6955
@codedestiny6955 3 жыл бұрын
Great video BTW 👍 our company just moving from java to NODEJS
@jgoebel
@jgoebel 3 жыл бұрын
thx
@liberalManifesto68
@liberalManifesto68 2 жыл бұрын
You can use typescript
@CASLOAcademy
@CASLOAcademy 3 жыл бұрын
great video! thanks a lot!
@jgoebel
@jgoebel 3 жыл бұрын
Glad you liked it!
@olumideolaleye1834
@olumideolaleye1834 2 жыл бұрын
Thanks for the explanation. But I will to say that Nodejs too can do cpu intensive task. Worker threads and clusters do not just exist in Node for nothing. It's to be able to do these things. A good Nodejs developer knows what to do when it comes to cpu intensive task.
@muhammadyasir1895
@muhammadyasir1895 Жыл бұрын
I have done my final year project on spring web and android app. One thing I have noticed is that, if you are stuck on an error, it takes a lot of time to figure out the problem.
@ugurkaraaslan9285
@ugurkaraaslan9285 2 жыл бұрын
Nice explanation👍
@jgoebel
@jgoebel 2 жыл бұрын
thx UĞUR 👍
@andrewswan9103
@andrewswan9103 2 жыл бұрын
Things I wish you had talked about: - what are the fundamental differences between Node and the JVM? You mentioned threads, but didn't really expand on that. - TypeScript gives you static types in a Node environment, so maybe static vs dynamic is less of a differentiator, but how does it compare to Java's type system? - how does the testing story compare between TS and Java? - how does tool support compare between TS and Java, e.g. IDEs, etc?
@jgoebel
@jgoebel 2 жыл бұрын
Hi Andrew, thx for this comment. Regarding your questions: - with the Node event loop you only have one thread and computations would kill your performance. But Node is very fast at async stuff. Although Spring and Spring Boot kind of upgraded here with Webflux (which is in a very oversimplified way async/await in Java) - I agree. The issue I often encountered that some libraries I wanted to use did not have types. - I find testing with Spring / Spring Boot with Mockito very easy and more flexible. You can even do nice integration test with test containers where you can spin up a docker container with your db and execute all db migrations to see if the changes you did might break something. In JS the "quick and dirty patching" by overriding properties is just very common - tool support for both TS and Spring Boot are pretty good. I see Spring Boot ahead here because Java is so common in the enterprise that there is a tool for pretty much everything. - I see the main advantage of Java / Spring Boot in the nice ecosystem. E.g. ORM support with Hibernate is much better than Node ORMs. The cost of using Spring and Spring Boot is more resource consumption and longer startup times due to component scanning and if the task is only async and no computations, Node might be faster. The big advantage of Java is that there is a nice library for pretty much anything
@KangoV
@KangoV 2 жыл бұрын
@@jgoebel Use Micronaut or Quarkus which uses annotation processing to build everthing at compile time. Combine that with GraalVM and native compilation, you have a beast. Also, Netty has multiple event loops (one per thread).
@TheOnewhothinks
@TheOnewhothinks 4 ай бұрын
​@@jgoebelI am a beginner and final year Engineering student and I am just not understanding what you guys are talking... Can you please help me choose one frame work to start with to get good job??
@gabriellamarao2612
@gabriellamarao2612 2 жыл бұрын
Thanks for the video.
@jgoebel
@jgoebel 2 жыл бұрын
my pleasure Gabriel 👍
@n4nart323
@n4nart323 3 жыл бұрын
How does java compare to node in the front-end part, there are servlets but why do you need them when you can simply use angular with java?
@jgoebel
@jgoebel 3 жыл бұрын
typically you'd probably only build an API with Node or Spring Boot. And then you would have some SPA (React, Angular, Vue) consume the API. Theoretically you could also do server side rendering with some templating engine with both Node (e.g. Pug) and Java (e.g. Thymeleaf)
@sriramakusu
@sriramakusu 3 жыл бұрын
Thanks... Nailed it
@jgoebel
@jgoebel 3 жыл бұрын
thx SriRama
@shehabeldinadel8531
@shehabeldinadel8531 3 жыл бұрын
What would you recommend for a starter? Well, I was looking to build API that I'd consume on a Flutter project for example. In addition that I mainly prefer Java over JavaScript (yeah I know that sounds stupid, but it's just a personal preference idk), and I was looking for getting into Enterprise Applications in the future. So, should I give JS another try or start with Spring?
@jgoebel
@jgoebel 3 жыл бұрын
I would pick what you already know and if you want to go into Enterprise applications anyway, I think Spring and Spring Boot is a great choice
@shehabeldinadel8531
@shehabeldinadel8531 4 ай бұрын
@@jgoebel It has been a while actually lol, I came across this video while checking my likes. A lot has happened since then. I started learning JavaScript for during an internship, started learning Node.js and Express, and built a platform from scratch that serves thousands monthly so far, and currently I am working as a Backend SWE using Go (lmao). Who would have thought we will be here? life is crazy.
@jgoebel
@jgoebel 4 ай бұрын
@@shehabeldinadel8531 nice 👍
@dkayk1985
@dkayk1985 2 жыл бұрын
What will you recommend for college student who finished with javascript and fundamentals of programing...??
@jgoebel
@jgoebel 2 жыл бұрын
I would first make sure you get to a good level in one technology and then move to the next
@centurion3708
@centurion3708 3 жыл бұрын
What are your thoughts on the new spring native project? it dramatically changes the way spring apps are packaged, it reduces your app size since it does not pack the jdk with it, a regular app can go from 250mb to just 80mb of disk space, start up times are heavily reduced from 9s up to 300ms, and the memory usage reduces aswell from 140mb to 20mb, this project will address this heaviness issue with spring boot, i've never used node myself, but i'm excited for this new project, it's in beta tho.
@jgoebel
@jgoebel 3 жыл бұрын
I haven't looked into it yet, but it looks very promising. Making the containers smaller and having faster startup times is really nice if you use a container orchestration tool like Kubernetes
@DevlogBill
@DevlogBill Жыл бұрын
Hi productioncoder, I made 1 year now with JavaScript client side. My aim is full stack. I did a little bit of PHP where you download XAMP or MAMP. It already had built in an Apache server and MySQL. I decided to stop with PHP because in NYC most corp jobs are in Java. Anyways, my question is with Java are you able to launch an Apache server and does it come with SQL? Does Java run similarly to PHP? I am really confused with backend technologies, thank you.
@SirMonk
@SirMonk Жыл бұрын
Spring Boot does come with an embedded Apache Tomcat Server. So you could just compile the code into a jar and run it as an executable but again using a war and deploying it on actual Tomcat Server isn't really hard. You do not have embedded SQL DB at least not the ones you use on production. You shouldn't really be using XAMPP and other tools on production either? Those are more like development tools to be honest. The most difficult thing to consider is learning spring boot is not easy. It is tiring, the official documentation is really bad for a beginner and most of the Stack Overflow solutions may not work for you! I just started learning Spring Boot too and honestly speaking, use ChatGPT! Just use it. It's the only way! Only good way!
@jeremiahhasudungansihombin1882
@jeremiahhasudungansihombin1882 3 жыл бұрын
Can i ask some noob question, is it really necessary that we learn spring ecosystem (spring and spring mvc) first before jumping into spring boot ? . I am a c# developer , and now learning JDBC in process , i want to go to spring after JDBC but i kinda confused , should i go for spring or immediately taste spring boot and pickup "some" necessary spring along the way
@jgoebel
@jgoebel 3 жыл бұрын
I would immediately go with Spring Boot. Initially there was only the Spring framework. But it required a lot of configuration. That's why an opinionated framework on top of the Spring framework was created (that is Spring Boot). Spring Boot sets reasonable defaults for the Spring framework. A lot of things just work out of the box. As you pick up Spring Boot, you are implicitly using Spring. If you did JDBC, maybe you want to take a look at JPA and Hibernate. It is way easier to use than plain SQL with JDBC.
@jeremiahhasudungansihombin1882
@jeremiahhasudungansihombin1882 3 жыл бұрын
@@jgoebelUnderstood, thank you for your reply Sir . Keep up the good works
@badripaudel77
@badripaudel77 3 жыл бұрын
If you can make small complete real time project with common functions (beyond CRUD ) whether it's with thymeleaf or api that would be great.
@jgoebel
@jgoebel 3 жыл бұрын
what would you like to see beyond CRUD concretely?
@badripaudel77
@badripaudel77 3 жыл бұрын
@@jgoebel I mean to say, it can be crud but with some extra important features like JWT, conditional redirecting with spring security and JWT. That would be great 💡
@jgoebel
@jgoebel 3 жыл бұрын
@@badripaudel77 thx for the idea. Will add it to my list of potential topics
@sree9051
@sree9051 2 жыл бұрын
I'm a fresher I know something about spring but now I need to learn in between Angular, ReactJs and Spring boot which one is best choice to learn..?
@jgoebel
@jgoebel 2 жыл бұрын
depends on your needs. If you want to do FE, then React / Angular. If you want to do backend and you already know React, learning Node would be easier.
@evam796
@evam796 3 жыл бұрын
I am a freelancer and I know Spring Boot. Should I also learn Node ? If so what npm modules are important for production apps?
@jgoebel
@jgoebel 3 жыл бұрын
I think if you are really good at Spring and Spring Boot, you should have a lot of opportunities because this technology is just so common in the enterprise. So imo there is no real pressing need to learn Node for you. I also think that you can ask for higher rates if you do Spring and Spring Boot because it is mainly used in large enterprises that can afford to pay you higher rates. Also I think Spring and Spring Boot is here to stay because there are just so many systems written in it.
@damaroro
@damaroro 3 жыл бұрын
So its all depend on business goals? What about ease of use? Which better from that two
@jgoebel
@jgoebel 3 жыл бұрын
Software is a tool that executes on the business model. So you would pick accordingly depending on what domain you are in and what you want to achieve. Both are just tools that provide business value (reduce cost, increase revenue by solving the customers' problems). Both technologies have their place and their usage. Node is clearly easier to get started and easier at the beginning for the software engineers. But once the project reaches a certain size, Node is very hard to maintain in my experience. Spring Boot does a lot better in that regard imo. Spring Boot has a steeper learning curve, but supports pretty much everything out of the box (monitoring, tracing, application performance monitoring) and it has a very rich ecosystem and. Plus if you are doing something with numbers (calculations and so on) and the application is not just primarily I/O, then Spring Boot will do much better imo. However if you just want to get something done as quickly as possible, Node or even Low code tools like Bubble will be much better. Also Node is very good for real time stuff like chats (socket.io). Spring Boot is chosen very frequently in the enterprise and oftentimes the (reasonable) default
@pstha4537
@pstha4537 11 ай бұрын
I use MERN and Typescript.
@prabhuraam5271
@prabhuraam5271 3 жыл бұрын
I'm a second year student . Which framework do you prefer to me for building personal projects
@jgoebel
@jgoebel 3 жыл бұрын
Hi Prabhu, that would depend on what you want to do. With express it is very easy to get something up and running quickly and Spring Boot is more suited for larger projects with more sophisticated requirements. In the large companies, Spring Boot is more popular than express
@prabhuraam5271
@prabhuraam5271 3 жыл бұрын
@@jgoebel sir, Can you suggest me five projects to do and that will attract the recruiter.. I'm confusing what framework to learn and what types of projects to do .. plz tell me 5 projects. If I did those projects,then definitely my resume gets selected.I want those types of projects.
@harambetidepod1451
@harambetidepod1451 3 жыл бұрын
Good vid
@jgoebel
@jgoebel 3 жыл бұрын
thx harambe 👍
@alexkude9199
@alexkude9199 3 жыл бұрын
The biggest stereotype of last few years is that NodeJS cannot do business logic. Dude!!! NodeJS REALLY can do business logic as good as SPRING does!!! You must finally understand that Java, C#, Spring are old. They are simply old!!! At the beginning of 1970s people used to say that C would never replace Assembler language because of performance.
@jackfrost8969
@jackfrost8969 3 жыл бұрын
very true. It's just about time that these old technologies like Java will be obsolete. Everyone prefers easier and less effortful options so you have to keep up with the new trends.
@gurung1812
@gurung1812 3 жыл бұрын
Java developers has the superiority complex over dynamically typed languages like js,php
@Reaper21154
@Reaper21154 3 жыл бұрын
@@jackfrost8969 I've been reading things like this for 10 years, people saying that Java is very old, that it is already obsolete, they make me laugh too much. Java is not going to die as it is the most required language in the business sector.
@jackfrost8969
@jackfrost8969 3 жыл бұрын
@@Reaper21154 yeah that's the unfortunate truth. Infact even I'm now considering to learn it😂
@ultimatum97
@ultimatum97 2 жыл бұрын
@@jackfrost8969 Java is like sugar. You know it's bad and you should probably get rid of it.... But everyone loves having it and hence it is still being used 😂
@rishupawar2233
@rishupawar2233 2 жыл бұрын
Thnk u bro 👍👍👍👍
@jgoebel
@jgoebel 2 жыл бұрын
you're welcome man!
@ayushbhardwaj6783
@ayushbhardwaj6783 3 жыл бұрын
thankyou
@jgoebel
@jgoebel 3 жыл бұрын
You're welcome!
@venkatasubrahmanyamkondeti1033
@venkatasubrahmanyamkondeti1033 3 жыл бұрын
thank u💖💖💖💖💖💖💖💖💖💖💖
@shreyasjejurkar1233
@shreyasjejurkar1233 3 жыл бұрын
Any plans to look at aspnetcore? Better and faster than node and spring!
@jgoebel
@jgoebel 3 жыл бұрын
Not really at the moment. Simply because Spring is so dominant in the industry
@shreyasjejurkar1233
@shreyasjejurkar1233 3 жыл бұрын
@@jgoebel it isn't!
@jgoebel
@jgoebel 3 жыл бұрын
@Warrior ts for historical reasons. So Java came out in 1996, C# in 2002. And back in the day Java was really a revolution because it made software development much easier. The thing was also that C# at the very beginning was primarily bound to proprietary Microsoft technology. So they were pushing SQL server and you probably needed to pay licensing fees. That's why the industry went with Java. So even though C# as a language was developing faster (C# had Lambdas way earlier than Java), the industry sticked with Java. Later on the C# ecosystem openend up especially with .NET Core but by then there was already a huge amount of software written in Java. And since C# does not provide substantial advantages, the industry sticks with Java until today
@vallurisrinivas692
@vallurisrinivas692 3 жыл бұрын
thank U
@jgoebel
@jgoebel 3 жыл бұрын
you're welcome valluri 👍
@pstha4537
@pstha4537 11 ай бұрын
Typescript is strongly typed. It can fix the JS flaw
@FeLiNe418
@FeLiNe418 11 ай бұрын
If you are willing to deal with extra long error messages that are hard to read
@pstha4537
@pstha4537 11 ай бұрын
@@FeLiNe418 it is annoying that there are always some flaws in programming languages don't u think? Humans are flawed.
@swasti.b
@swasti.b 5 ай бұрын
Compare spring boot and .net core
@musicfreaks5529
@musicfreaks5529 3 жыл бұрын
I got a job offer on node js & java spring frame ..what should I do go with java or join node js job? What will be better?java or node for future
@jgoebel
@jgoebel 3 жыл бұрын
I think with Spring Boot you have better chances because it is so common in the industry - especially in large companies. Large companies typically pay better and have better benefits. Ideally though you can do both
@musicfreaks5529
@musicfreaks5529 3 жыл бұрын
@@jgoebel thanks ❤️
@mming_my
@mming_my 2 жыл бұрын
There are enterprise framework like nestjs
@jgoebel
@jgoebel 2 жыл бұрын
yes, NestJS in general leads to better project structures in my experience and just like Spring Boot, it uses dependency injection. I personally prefer Spring Boot for the enterprise because Spring Boot and friends have support from pretty much anything out of the box (table auding with Hibernate, database migrations, Java provides multi thread support).
@MrMrbannanapants
@MrMrbannanapants 3 жыл бұрын
You think you could do a video on a node js MongoDB/ mongoose clean architecture implementation
@jgoebel
@jgoebel 3 жыл бұрын
I've put it on my list of potential topics 👍
@roselpadilla
@roselpadilla 3 жыл бұрын
Aye 1st view. You're welcome homie.
@jgoebel
@jgoebel 3 жыл бұрын
thanks man, I appreciate that 👍
@josbexerra8115
@josbexerra8115 2 жыл бұрын
Gracias mister por las recomendaciones.....saludo de los andes peruanos...note que su media tiene un huequito en la pierna izquierda... ;)
@jgoebel
@jgoebel 2 жыл бұрын
thx jos 👍
@surajchougala
@surajchougala 3 жыл бұрын
Hi Can I use node js and spring boot both in single project
@jgoebel
@jgoebel 3 жыл бұрын
Not sure if I understand what you mean. You could use Node and Spring Boot in the same cluster (e.g. in a Kubernetes cluster with multiple microservices).
@akeemovic
@akeemovic 2 жыл бұрын
Yes, you can, and communicate between whatever part of the project you build with the other language as a microservice.
@HandledToaster2
@HandledToaster2 Жыл бұрын
You can build microservices in whatever language you want, and communicate via REST API.
@awzsdrcfgybhjimklp
@awzsdrcfgybhjimklp Жыл бұрын
I don't think I will sleep tonight after hearing "just use what you know". I need definitive answers or I am going to have some big development anxiety. If I choose a screw driver because it's what I know and show up to the job just to find out I need to put 1024 screws in the wall I will wish I knew to buy a drill.
@darshmostafa6044
@darshmostafa6044 3 жыл бұрын
What is The Best In Big Companey and Money ( Spring BOOT or .Net Core or Node JS ) Please You reply me and Show ?? and i am a Beginner ........
@jgoebel
@jgoebel 3 жыл бұрын
Hi Darsh, I would say Spring Boot. So both Spring Boot and .NET Core are used in the enterprise. However .NET Core is relatively new and that's why Spring Boot is more widespread. Node.js is not so common in big companies because it is hard to fulfill all the security and compliance guidelines and it might be hard to write complex business logic with it (e.g. building an accounting system for example)
@darshmostafa6044
@darshmostafa6044 3 жыл бұрын
@@jgoebel in your Opinion I Choose Node js or Spring BooT And i want to get a Big Job in Big Company ???
@jgoebel
@jgoebel 3 жыл бұрын
@@darshmostafa6044 Hi Darsh, I would go with Spring Boot because it is very common in the enterprise
@aqibishaq885
@aqibishaq885 3 жыл бұрын
I am learning spring and i am worried will it help me to make a career as a java spring developer by the end of 2021 kindly guide me.Boss can u answer
@jgoebel
@jgoebel 3 жыл бұрын
Spring Boot is very common in the enterprise sector and there are a lot.of jobs for it. So if you're proficient in it, I think there should not be any issues.
@aqibishaq885
@aqibishaq885 3 жыл бұрын
@@jgoebel thanks i am improving and polishing my skills daily thanks
@kamikaze9785
@kamikaze9785 3 жыл бұрын
@@aqibishaq885 how u doing so far bro
@sidharthcs2110
@sidharthcs2110 10 ай бұрын
The learning curve for Java spring boot is super steep.
@dustin_echoes
@dustin_echoes 3 жыл бұрын
It really depends... on what time period you live in. If you live the 20th century when you need to build a vcd renting website that gets about 100 page views a day, sure use java.
@TheWordBecameFleshJ114
@TheWordBecameFleshJ114 Жыл бұрын
You can make it statically typed by adding Typescript, so this con vanishes. I don't understand what you mean by "business logic" and why node is not good for that.
@jgoebel
@jgoebel Жыл бұрын
I mean doing computations, calculations. Anything you would need in a business environment e.g. building an accounting system or storing transactions
@ishangarg9199
@ishangarg9199 3 жыл бұрын
4 months back I move from node.js to java according to u it is a good decision or not?
@jgoebel
@jgoebel 3 жыл бұрын
Hi Ishan, now you can do both. That's great 👍
@kirthijain9891
@kirthijain9891 Жыл бұрын
Can you list out which is the best Mern stack Or postgresql+angular+ springboot?
@grammenoudis
@grammenoudis Жыл бұрын
if you are new go for MERN, there is much more information online since it is trending right now.
@jgoebel
@jgoebel Жыл бұрын
MERN is probably easier to get started with. Dealing with relational databases is way easier in Spring Boot than with Node thanks to Hibernate
@krooshum3215
@krooshum3215 Жыл бұрын
As far as I am concerned, I think Java is much bigger than Node, and it somehow contained NodeJS in functional aspect. If your enterprise is getting bigger, you will change to Java. Why don't we use Java directly? "You will finally use JAVA"
@rommellagera8543
@rommellagera8543 2 жыл бұрын
Grandpa programmer here, it rubs me in a wrong way when someone tells Javascript is easier than Java. Not in my experience, there are so many things going in Javascript that are different from other languages like non blocking I/O and prototypal inheritance. Even after coding for 2 to 3 years I always gets tripped by non blocking I/O and other JS wierdness like functionName()(). Also it ask a lot from a programmer to write clean, stable and maintainable code in JS. For me JS is for experienced devs, not for newbie trying to write enterprise code. But the IT industry is to blame, it is common to hear oh you know Java you automatically know JS and code the React/RN/Ionic frontend. This is bullpoo, just because many are saying JS is easy, IT shops did not check if it is true in an enterprise development.
@jgoebel
@jgoebel 2 жыл бұрын
In my experience, it is easier to get started with JS and get something small to work, but it's quite hard to maintain a large code base properly and run a larger JS project in prod in a stable way. I think maintaining a larger code base is a little bit easier with Spring and Spring Boot because it is opinionated and static typing also helps (although TS can help here, too). In addition Spring supports pretty much everything out of the box and if not there is a high quality third party library (feature flags, metrics, application performance monitoring, table auditing, high quality ORMs). It is mostly just a matter of configuration with Spring Boot
@rommellagera8543
@rommellagera8543 2 жыл бұрын
@@jgoebel for me it is much easier to code in Java because of the tooling available. But there cases you need to use JS like frontend or multi platform mobile development like RN or single skill set for frontend and backend (node). JS is an odd language, it has things not present in other procedural and/or OOP languages. After experiencing JS for 3 years I will say JS is harder than other languages and Java in most cases much easier. Those who say JS is easier are either have not developed non-trivial system in JS or does not know JS in detail. Also, the way I see it there are less available capable JS devs than capable Java devs.
@ItsNothingAmazing
@ItsNothingAmazing 6 ай бұрын
Difficulty is subjective. Just because you find JS harder, doesn't mean others should too. And it's a fact that most people find it easier.@@rommellagera8543
@lovetyagi5266
@lovetyagi5266 Жыл бұрын
SPRING BOOT
@ziranshuzhang6831
@ziranshuzhang6831 Жыл бұрын
I don't like Spring simply because Java in 2022 seems a bit too verbose. To implement a simple map...
@paroxyzm21
@paroxyzm21 2 жыл бұрын
I'm I the only one worried about the floor being scratched?
@jgoebel
@jgoebel 2 жыл бұрын
😁
@qaiseriqbal2696
@qaiseriqbal2696 2 жыл бұрын
it depends ... wtf
@FeLiNe418
@FeLiNe418 11 ай бұрын
"you don't have to deal with the type system" what a way to say that nodejs is a piece of s***
@soneshengg
@soneshengg 2 жыл бұрын
Well.... there is TypeScript !
@jgoebel
@jgoebel 2 жыл бұрын
Yes, Typescript would mitigate the typing issue. But there's more in my opinion: Spring Boot with Hibernate supports pretty much everything out of the box (e.g. auditing database tables and so on). You would need to build something custom for that I guess in Typescript. Plus with Typescript you are still only single threaded
@martinmengh
@martinmengh Жыл бұрын
please wear shoes
@jgoebel
@jgoebel Жыл бұрын
only in winter 😁
1 класс vs 11 класс  (игрушка)
00:30
БЕРТ
Рет қаралды 3,6 МЛН
La revancha 😱
00:55
Juan De Dios Pantoja 2
Рет қаралды 51 МЛН
Китайка и Пчелка 10 серия😂😆
00:19
KITAYKA
Рет қаралды 2,1 МЛН
A pack of chips with a surprise 🤣😍❤️ #demariki
00:14
Demariki
Рет қаралды 35 МЛН
What is the Java Job delusion?
12:23
Stefan Mischook
Рет қаралды 105 М.
What Theo Won't Tell You About Next.js
8:37
Dev Agrawal
Рет қаралды 80 М.
Is TypeScript (NodeJS) Faster than Go?? |  A server comparison
9:54
ThePrimeagen
Рет қаралды 212 М.
What is the Spring framework really all about?
10:45
Java Brains
Рет қаралды 769 М.
Monolithic vs Microservice Architecture: Which To Use and When?
10:43
Node.js is a serious thing now… (2023)
8:18
Code With Ryan
Рет қаралды 627 М.
What is Node js? | Simplified Explanation
8:49
Telusko
Рет қаралды 744 М.
Back End Developer Roadmap 2024
10:30
freeCodeCamp.org
Рет қаралды 414 М.
1 класс vs 11 класс  (игрушка)
00:30
БЕРТ
Рет қаралды 3,6 МЛН