Win a copy of Python Continuous Integration and Delivery this week in the Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

In which case is JSP used these days when website is possible with AngularJS and NodeJS combination?  RSS feed

 
Ranch Hand
Posts: 1045
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
These days websites are possible to be made using AngularJS and NodeJS combination. In which case is JSP used these days when website is possible with AngularJS and NodeJS combination itself?

thanks
 
Saloon Keeper
Posts: 2406
296
Android Angular Framework Eclipse IDE Java Linux MySQL Database Redhat TypeScript
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One case would be were the client-side does not support JavaScript, or it has been disabled for security purposes.

Another case would be where the bandwidth is not sufficient to perform the initial download of the Angular fat-client application.  The application that I am working at the moment has a 3kbps satellite link between the client and server.  Downloading a 500kB bundle for the GUI would take over 20 minutes.
 
Marshal
Posts: 67239
170
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Monica Shiralkar wrote:These days websites are possible to be made using AngularJS and NodeJS combination.


AngulurJS is obsolete and has been replaced by Angular (Google did not ask me about naming things, so don't shoot the messenger). Even Angular is downward trending in the face of the rising popularity of React and Vue.js.

So is your question about JavaScript SPAs in general, or just AngularJS?

Also, it's not a given that a front-end powered by an SPA framework (be it Angular, React, Vue.js, or whatever's going to be the hotness next week) is driven by a NodeJS backend. Most SPAs are layered on a RESTful API¹ which can be written using any server-side tool: Java, NodeJS, Python, or anything else.

In which case is JSP used these days when website is possible with AngularJS and NodeJS combination itself?


Again, I'll assume you are asking about SPAs in general, and one simple reason might be that a team already knows Java and its ecosystem, and doesn't want to take the time or expense to train in a new language and ecosystem.

Also, the JavaScript ecosystem changes so fast that companies might be frightened off by the churn. They might think "Things change so fast, why should we invest time in writing an Angular app when it will obsolete in a few years at best?"

And there are likely many more reasons that a company might choose to stick to Java web apps.




¹ GraphQL is getting a lot of buzz lately but it's not clear if it will "stick" or not.
 
Monica Shiralkar
Ranch Hand
Posts: 1045
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
 
Did you ever grow anything in the garden of your mind? - Fred Rogers. Tiny ad:
Become a Java guru with IntelliJ IDEA
https://www.jetbrains.com/idea/
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!