Skip to content
Programming Notes
  • Home
  • Docker Starters
  • Author.instance().info()
  • Toggle website search
Menu Close
  • Home
  • Docker Starters
  • Author.instance().info()
  • Toggle website search

Programming

  1. Home>
  2. Programming>
  3. Page 8

Notes on multiple Grails apps sharing a DB

  • Post author:Van Ly
  • Post published:2013-08-16
  • Post category:Grails/Programming

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…

Continue ReadingNotes on multiple Grails apps sharing a DB

Grails unit vs integration tests

  • Post author:Van Ly
  • Post published:2013-06-15
  • Post category:Grails/Programming/test

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…

Continue ReadingGrails unit vs integration tests

SampleServlet: Java web app starter

  • Post author:Van Ly
  • Post published:2013-05-27
  • Post category:Java/Jetty/Maven/Programming

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…

Continue ReadingSampleServlet: Java web app starter

Grails run-script with parameters

  • Post author:Van Ly
  • Post published:2013-04-21
  • Post category:Grails/Programming
  • Post comments:0 Comments

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…

Continue ReadingGrails run-script with parameters

Grails class names

  • Post author:Van Ly
  • Post published:2013-04-17
  • Post category:Grails/Programming
  • Post comments:0 Comments

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…

Continue ReadingGrails class names

Grails scripting

  • Post author:Van Ly
  • Post published:2013-04-12
  • Post category:Grails/Programming
  • Post comments:0 Comments

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…

Continue ReadingGrails scripting

Mobile-enabling a Web page

  • Post author:Van Ly
  • Post published:2013-03-07
  • Post category:android/Mobile/Programming
  • Post comments:0 Comments

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…

Continue ReadingMobile-enabling a Web page
  • Go to the previous page
  • 1
  • …
  • 5
  • 6
  • 7
  • 8
  • 9
  • Go to the next page
  • Author.instance().info()
  • Docker Starters
  • Patience-impaired Navigation
Copyright - WordPress Theme by OceanWP