• 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

React integration Spring MVC app  RSS feed

 
Ranch Hand
Posts: 1301
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I would like to build a web app using React and then integarte the view in a Spring MVC app. I have read that the integration between both requires very deep React knowledge.

Could someone bring some light about this topic, please?

Regards, Isaac
 
Sheriff
Posts: 13176
219
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is quite a vague and broad ask. Have you tried searching for articles about integrating React.js and Spring?
 
Angus Ferguson
Ranch Hand
Posts: 1301
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Of course, in fact I am reading about it  :https://spring.io/blog/2015/09/01/react-js-and-spring-data-rest-part-1-basic-features

But what I meant is integrate a front end React app already built into the view.

 
Junilu Lacar
Sheriff
Posts: 13176
219
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well then perhaps you cite the source where you read that "integration ... requires very deep React knowledge" to give us some more context around your question.
 
Angus Ferguson
Ranch Hand
Posts: 1301
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It comes from here : https://medium.com/@TechMagic/reactjs-vs-angular5-vs-vue-js-what-to-choose-in-2018-b91e028fa91d

The thing is that I would like to avoid the use of Angular, beceuse then the front end shoul dbe built again.
 
Marshal
Posts: 67241
170
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
React apps are written as SPAs (single page applications) and are just static HTML/JavaScript pages. Serve them from any web app just as you would any other static pages.

That said, I always keep my SPA apps and backend APIs separate. Things are more versatile that way.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!