Home » Tag Archives: Grails (page 4)

Tag Archives: Grails

Grails: Applying build information to your builds

grails-logo

Occasionally, when I buy some food I check the label to see how unhealthy it is in an effort to remind myself to eat better. I probably should do this more often but that’s another story. With software, I take a more strict approach. I like to know exactly what version of what I am using and if it pertains ...

Read More »

Grails Goodness: Accessing Resources with Resource and ResourceLocator

grails-logo

Grails uses Spring and we can piggyback on the Spring support for resource loading to find for examples files in the classpath of our application. We can use the Spring org.springframework.core.io.Resource or org.springframework.core.io.ResourceLoader interface to find resources in our application. And since Grails 2.0 we can also use the org.codehaus.groovy.grails.core.io.ResourceLocator interface. In our code we can use the grailsResourceLocator service ...

Read More »

The Pros and Cons of Play and Grails Java Framework

play-framework-logo

Frameworks simplify the process of application development by providing some helpful features to programmers. Java frameworks are often used by developers and thanks to their popularity; you can find a range of Java development frameworks in the market. Newbie developers often post a common question in forums, “which Java framework is the best?” First of all, there is no one ...

Read More »

Grails – GORM Tutorial

grails-logo

Grails is known as domain driven language that means we can build application using bottom to top approach which is more nearer to object oriented programming. GORM (Grail Object Relational Mapping) uses intern Hibernate to map the domain with table which gives life to Domain modeling. If we combined everything just only based on domain we could build the whole ...

Read More »

SOA and REST with Grails

grails-logo

I discussed on my previous article about REST and how to leverage RESTful web services on Grails platform. We will further discuss Grails on SOA & REST and try to visualize architecture in details. REST and SOA are different architecture pattern with lots of commonality to make application highly interoperable. As per Thomas Erl SOA is “SOA is a term ...

Read More »

Converting Grails Applications to Plugins and vice versa

grails-logo

I was in London last week on vacation with my family and was lucky that there was a London GGUG meetup during my visit. David Dawson discussed modularizing Grails applications by refactoring them into multiple plugins (you can see the video of his talk here). One thing that he mentioned was the idea of plugins that can be run like ...

Read More »

Grails – RESTful Webservice using JAX-RS plugin

grails-logo

I discussed about RESTful architecture consideration and how to build RESTful web services using Jersey JAX-RS [JSR 311]  in JAVA. Today I am going to discuss how to build the RESTful web services using Grails framework. GRAILs framework is the platform which provides end to end solution to build web application from scratch to advance intuitive RIA web application. Grails ...

Read More »

How to use mocks in controller tests

grails-logo

Even since I started to write tests for my Grails application I couldn’t find many articles on using mocks. Everyone is talking about tests and TDD but if you search for it there isn’t many articles. Today I want to share with you a test with mocks for a simple and complete scenario. I have a simple application that can ...

Read More »

How to keep session in HttpBuilder with cookies

grails-logo

In my real-world scenario I have a REST service for AJAX purposes. It renders data series for graphs. I want to test it with groovy’s excellent HttpBuilder. There is a problem though – these requests are only available for already logged in users. In this post I present a complete solution to maintain a session state between HttpBuilder‘s requests. Session ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close