rootnode.net

January 26th, 2010

A few weeks since the last post. A lazy start of the new year :-)

One of the significant things that happened recently was a hosting change - I moved my blogs to rootnode.net ("shell accounts from hell" as they say themselves). Beside PHP hosting there is a possibility to host Java apps so maybe some Grails project will come to life soon :-) Because of the transition period some of you probably got some mixed up feeds from my private and technical blog - sorry for that.

web |

Grails and Groovy Christmas

December 26th, 2009

This Christmas we got great presents from Grails and Groovy teams.

Read more...

Grails, Groovy |

New issue of JavaExpress

December 11th, 2009

A new issue of JavaExpress magazine is now available for download. You can download it at http://www.javaexpress.pl/. English version is not available yet but it will be soon.

Grails, JavaExpress, java |

EJB3 tutorial part 03: session bean’s lifecycle callbacks

November 17th, 2009

In previous posts we've learned how to create Session Beans (both Statless and Stateful). In this post I would like to show how to use lifecycle callbacks.

Read more...

EJB3, java |

Mocking static methods with PowerMock

November 16th, 2009

Unit testing is great. As we learn it it's excellent. As we work on greenfield projects it's beautiful and sweet. The real problems start on the real projects.

Read more...

java |

Building Grails from scratch

November 13th, 2009

If you need the latest possible version of Grails (not release) you can download a fresh build from Hudson or build it yourself. The second options is fairly easy.

  1. Clone the repository using git client. You can find the clone URL at http://github.com/grails/grails.
  2. In the mean time check that you've JDK 1.5+ and Ant installed.
  3. After the cloning is done go to grails/grails/ folder and run 'ant jar'. This will build the release.
  4. Set env variable GRAILS_HOME to your clone folder.
  5. In your Grails project (not the Grails sources) when you want to use your fresh build, go to application.properties and change app.grails.version to a new version. For example: app.grails.version = 1.2-SNAPSHOT

That's all. Your project should run now with your fresh build. More detailed information can be found here: http://www.grails.org/GrailsDevEnvironment

Grails, Groovy |

Google Wave Robot – Gaelyk

November 10th, 2009

I've found another Google Wave Robot tutorial. This one is based on Gaelyk, "a lightweight Groovy toolkit for Google App Engine Java."

Groovy |

Grails global configuration of GORM settings

November 4th, 2009

The upcoming release 1.2 of Grails will have an interesting feature: global configuration of GORM settings. You can have a first look here http://jira.codehaus.org/browse/GRAILS-5287.

Grails |

Google Wave Grails Plugin

October 28th, 2009

Not much time passed sinced Google Wave has been introduced to wider audience and there already is a Google Wave Grails plugin. David Trattnig prepared a great plugin that lets you embed waves in your app or do even more amazing thing - write Wave robots. See an example of a wave robot. If you add a sample robot to your wave you can ask it to execute a groovy code and return results :)

Grails, Groovy |

EJB3 Tutorial part 02 – Stateless vs. Stateful

October 27th, 2009

In the previous post we've set up our environment to work with EJB3. It's based on Eclipse, JBoss Tools and JBoss Application Server. However you can follow the tutorial with the environment set up of your choice. Another popular one would be Netbeans. You can download it as a bundle with Glassfish server. If you decide to switch it please remember that some things presented here might be environment specific and may work differently (but most of them shouldn't).

In this post we will say a little bit more about Session Beans and we will try to cover the differences between Stateless and Stateful Session Beans.

Read more...

EJB3, SCBCD, java |