Blog
There are very few things in Grain framework that need a detailed explanation except being described in the docs. However, there’s one thing, which I really want to clarify in details for Grain users. I wanted to…
There’s been three weeks since we made first public release of Grain and we’re back to share some release news with you. First of all, we’d like to thank to all the people, who showed interest in…
With the latest performance enhancements and great dynamic, functional and meta-programming features Groovy becomes a very good choice not only for scripting, but also for big and complex application building. Long term complex application development requires extensive…
Enterprise application might be developed using a variety of architectural styles. And REST is one of the most powerful of them. It allows us to build simple, scalable, highly productive APIs with independent components on the basis…
I’m using Slick library in my project and need to ensure that all required MySQL tables are created on application start. The common approach of creating DDL statements for a table in Slick is calling its ddl method that…
Slick documentation says how to perform update operation for specific column, but doesn’t contain any examples of updating entire record. Below is tiny example of how to do that. Let’s assume we have a mapped table that…
This example shows how to use pagination and sorting with many-to-many relationship in Grails. Suppose you have two domain classes: Author, Article and you want to display all articles of some author in a page with pagination. Domain classes: The…
When Groovy has grown up to version 2, it has gained a lot of brand new features and improvements in areas of productivity and security. Groovy now provides the ability to statically type check and statically compile…
Gpars (Groovy Parallel Systems) is the best solution for your concurrency problems with mutable objects. Gpars gives you a number of high-level abstractions for writing concurrent and parallel code in Groovy (map/reduce, fork/join, asynchronous closures, actors, agents,…
GORM (Grails Object Relational Mapping) is a plugin integrated with Grails and based on Java ORM – Hibernate. In this article, I’m going to describe how to make different kinds of associations in GORM. One-to-many relationships Let’s…
The ‘mysqldump’ command is used to dump databases managed by MySQL. Let’s consider three the most useful cases of MySQL database dumping. 2. Sometimes, there’s a need to dump a single table from your database. You can…
I had an issue with deploying my Grails project to Cloud Foundry with using cloudfoundry-grails-plugin. My application was using Tomcat 7 unlike Cloud Foundry, which use Tomcat 6. In other words, to have a Grails application with…
Boost your business with custom software
Tell us about your business needs and we’ll suggest a solution
We have received your request and will get back to you within 1 business day