Examples is a project mainly written in JAVA and RUBY, it's free.
Example projects of various kind, like java, jruby and etc.