What’s the problem?
We have to deal with properties in almost every projects that we write. Properties class, which we use in these cases, is Read more
We have to deal with properties in almost every projects that we write. Properties class, which we use in these cases, is Read more
Suppose you want submit job to ExecutorService.
You could create a class that implements Callable:
class MyJob implements Callable<Integer>{ @OverrideRead more
Suppose you want write a jaxb class in groovy. Why? Because you do not have to write these all getters, setters and other methods. You Read more
TupleConstructor annotation in Groovy generate constructors for class with each of its properties (eventually also fields). The class below
@TupleConstructor(includeFields = true) class Person {Read more
java.lang.IllegalStateException: No thread-bound request found: Are you referring toRead more
If you use IntelliJ IDEA for your Grails development you might encounter this error running integration tests:
Error Error generating web.xml file (Use --stacktrace toRead more
Grails controllers are not very DRY. It’s easy to find duplicated code fragments in default generated controller. Take a look at code sample below. It Read more