File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Groovy and the fly likes Talking to Grails Project? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Groovy
Reply locked New topic
Forums: Web Services Groovy
Author

Talking to Grails Project?

J Solomon
Greenhorn

Joined: Oct 08, 2012
Posts: 28
I currently have a grails project running in tomcat that acts as a container for a bunch of various information. I would like to build a client app (using java) that is capable of querying the grails project for particular information, based on parameters passed to it. I'm curious as to the best approach for something like this. My first inclination is to build the client in such a way that it just directly querys the DB on the back end of the grails project (the grails project will then just be used as an entry/modification method for the data). I was wondering if there is a better approach, maybe building a particular URI and then sending a GET request to the URI (this seems like a better approach as you only have one entry point then and you are not mucking directly with the DB). Just looking for some input from anyone who has worked on anything similar. Thanks in advance.
Matthew Brown
Bartender

Joined: Apr 06, 2010
Posts: 4387
    
    8

Duplicate post at http://www.coderanch.com/t/603882/java/java/Talking-Grails-Project (replies there, please, as there's already a response to that one)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Talking to Grails Project?