This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Groovy and the fly likes grails frontend/ Java REST backend Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Languages » Groovy
Bookmark "grails frontend/ Java REST backend" Watch "grails frontend/ Java REST backend" New topic
Author

grails frontend/ Java REST backend

mike molin
Greenhorn

Joined: Nov 11, 2010
Posts: 17
I have Java backend project with REST implementation which is a warfile, I also have Grails as frontend, i can run theese two separeted projects on their own using tomcat, but how do i configure the grails part so that i can use the java backend RESTfull webbservice within it, do i have to make a war file from the java backend and import it to the grails frontend ? make a jarfile ? if so, how do i do that ? or are there any other way to to this to make it work.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

All you'll need to do is have a way of making calls to the RESTful web services. The rest plugin should suffice.


GenRocket - Experts at Building Test Data
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Please BeForthrightWhenCrossPostingToOtherSites

http://stackoverflow.com/questions/9017767/connect-grails-front-with-java-rest-backend
 
GeeCON Prague 2014
 
subject: grails frontend/ Java REST backend