Tag: groovy
-
Groovy blob and mysql
In certain occasions e.g. when you want to save scrapped html page or just a specific part of it (e.g. div with its contents) the recommendation I found is to use the blob type and save xml document as binary stream. In groovy, this is achieved in a rather simple way: class Document { int…
-
Groovy meliorates and dries
Dynamic languages are very popular at this time and you probably had insight into at least one of them (Ruby, Python, Groovy). If you are bound to Java platform the best way to “be dynamic” IMHO is to work with Groovy. Apart from the http://groovy.codehaus.org/ where you can find documentation, getting started examples etc. there…