Win a copy of Design for the Mind this week in the Design forum!
    Bookmark Topic Watch Topic
  • New Topic

Talking to Grails Project?

 
J Solomon
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 4566
8
  • Mark post as helpful
  • send pies
  • Report post to moderator
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)
 
    Bookmark Topic Watch Topic
  • New Topic