Notes on multiple Grails apps sharing a DB
Multiple Apps Two logical partitions of services, perhaps one public-facing with GSPs serving up UI and one headless with REST services, can be easier to maintain if implemented as separate…
Multiple Apps Two logical partitions of services, perhaps one public-facing with GSPs serving up UI and one headless with REST services, can be easier to maintain if implemented as separate…
Services Content here applies to Grails 2.1.3 and may also apply to newer versions. Setup We start with three service classes: OneService, TwoService, and ThreeService. OneService uses TwoService which uses…
Prerequisite Maven 3.x installed - try http://maven.apache.org/download.cgi Important: earlier versions of Maven, such as 2.x, won't work correctly Set-up Locate a subdirectory and run: mvn archetype:generate When prompted, use maven-archetype-quickstart…
Scripts vs. parameters The "grails run-script" task allows running a bunch of scripts, and therein lies the problem: the parameters passed to the command are interpreted by the command to…
Seems like there are many flavors of the name for a Grails class: fullName -- Returns the full name of the class in the application with the the trailing convention part…
Within any Web application, there is the Web site, which is pretty well served by Grails. Very soon, there will inevitably be some background processing that needs to be done…
Stop that condensation By default, my mobile Web browser attempts to make everything smaller so that a "normal" web page will fit in the phone's screen, even when the page…