Articles with tag: groovy
In this article I would like to introduce Grails framework using a practical example and a way of generating the application based on a model called scaffolding. We will configure our work environment step by step and run our first application. It will serve as an entry point to further work with Grails.
What is Grails?Grails is a
In the previous issue of JavaExpress I showed how to start working with Grails; install the environment, create the first project, domain classes with restrictions and how to use dynamic scaffolding. Now let us create a simple to-do list in Grails bottom-up. You will see how to develop a controller, use basic facilities of GORM and create custom views –
In this article I would like to present some basic information on GORM (Grails Object Relational Mapping) and further issues of this topic. After reading the article you will know how the persistence layer works in Grails.
Let's beginGORM, the persistence layer in Grails is implemented as object relational mapping. Under its name we will find Hibernate or
Groovy language is more and more riveting the attention of people enthusiastic about Java technologies, which is confirmed by the articles published in Java exPress. Simplicity and syntax clarity are its unquestionable advantages, both of which allow to improve productivity and let you avoid monotonous boilerplate code, so well known to all Java users.
In this article I would
IntroductionWhat tool do you use to build your project and why? In general there are two main answers to this questions in the Java world:
I use Maven. Thanks to fantastic plugins I need 3 lines to achieve effects, that would require a lot of XML pseudo-coding, if I used Ant. Sometimes Maven is not flexible enough,