Here's a Groovy POJO:
package org.my.apppublic class DemoPojo { def foo}
And here's my ModuleInstall class (which is a NetBeans module's
lifecycle manager), which uses its restored() method to instantiate
the POJO, set the variable, and then print out the variable. Oh, by
the way, the class below is, just like the above, a Groovy class.
The thing to notice is that I defined no getter/setter in the POJO
above, because Groovy simply assumes I have them, and that there
are...