Archive for the 'Groovy and Grails' Category
The best Markup Builder I could build in Java
8 Comments Published November 30th, 2007 in Beautiful Java, Fluent Interface, Groovy and Grails, Java, Java 7Using Groovy MarkupBuilders spoiled me for other ways to create HTML pages from code. Others think the same. But in some organizations you have to use Java and can’t use Groovy - at least when you can’t sneak it in.
So I tinkered around in Java to see what’s the best MarkupBuilder I can write […]
Graeme - the Grails bug buster
2 Comments Published October 26th, 2007 in Grails, Groovy and Grails, RepositaWhile testing Reposita with the Grails repository, I was amazed about Graeme who is the Grails project lead and recently became the CTO of G2One.
Scanning the Grails subversion commits and searching for bug fixes, Graeme seems to be a very very active bug buster. One in four commits is a bug fix. Perhaps this […]
More Hibernate JPA troubles
2 Comments Published October 25th, 2007 in Grails, Groovy and Grails, Hibernate, JPAWhen running JPA together with Grails (not tested on it’s own), with a Hibernate ORM either Hibernate, or with a pool the pool (c3p0), runs out of connections. The architecture of Reposita has a Grails frontend with a (Java) JPA backend to enable switching the frontend and backend independently. The MySQL database barks about to […]
JPA hangs Grails, Part 2
0 Comments Published October 24th, 2007 in Grails, Groovy and Grails, Hibernate, JPA, JavaAs I wrote before, using Java JPA in my Grails application, the Grails application (0.6) hanged. After not much help from the mailing list, I updated to Grails RC1.0 without success. Adding the newest Hibernate JARs and Annotations JARs to the grails/lib directory solved my issue though. Grails no happily uses my JPA/Dao backend. Puh.
var […]
Creating a fluent interface for Google Collections
6 Comments Published October 17th, 2007 in Fluent Interface, Google collections, Groovy and Grails, JavaChris wrote about functional programming in Java. As an example he used Google Collections which “is a suite of new collections and collection-related goodness for Java 5.0″.
Looking at his post he gives the following code on how to use Goolge Collections
files = Iterables.transform(
Iterables.filter(
Iterables.filter(getPagesList(),WebPage.class),undeletedPages),
new PagesToFilesTransformation()))
This […]
Grails, Hibernate and JPA: hanging application
5 Comments Published October 15th, 2007 in Grails, Groovy and Grails, Hibernate, JPAWhen developing an application in Grails I’ve been adding a backend written for JPA. This should be no problem - you think. But while the unit test for the JPA backend work fine for themselves, when adding the backend to the Grails application, Grails hangs when accessing the EntityManager. It does not help that all […]
Drop IDEA, move to Eclipse? No open source license from IntelliJ
23 Comments Published October 7th, 2007 in Eclipse, Groovy and Grails, IDEA, Java, Netbeans, SeamI need a tough decision to make. I’ve been using and evangelizing IDEA from the first IDEA release several years back. Whenever I came to a new company I introduced IDEA as an IDE and kept using it for commercial and open source use since then. Because I’m less productive with other IDEs I moved […]
Grails more productive than Rails
5 Comments Published August 2nd, 2007 in Groovy and Grails, Productivity, Rails, Seam, Software developmentCatchy title. But the guys from ALTERthought have some - much needed - numbers. Their numbers show Grails to be more productive than Rails, which is in turn more productive than Spring and pure JEE. As I’ve argued for years, there is no science in computer science. We need to put facts back into computer […]
Convention over Configuration Framework in Ruby from 2002
0 Comments Published July 27th, 2007 in Groovy and Grails, JavaI thought about what I did in the past. In the 90s I was heavily into developing applications with dynamic languages. Mostly Perl and Python. And a lot of Ruby later. They were much easier and faster to develop than C. Especially Python had the best web frameworks back then. Other languages we used like […]
After reading about new Groovy and Grails user groups around the world, I thought there might be Groovy and Grails users in Berlin. I would be interested in meeting to exchange ideas and experiences. Anyone interested?
var dzone_style=”2″;