Griffon @ SpringHispano - No Fluff Just Stuff

Griffon @ SpringHispano

Posted by: Andres Almiray on October 8, 2009

Last Saturday (Oct 3rd) the SpringHispano community held its 9th community session. Domingo Suárez (@domix) kick-started the session with a talk on Apache Camel. If your daily job requires you to integrate disparate systems in order to get the job done you may want to give Apache Camel a closer look. The second talk of the day was given by yours truly, the topic being a fond one to my heart: Griffon. Both talks were live streamed thanks to the efforts of Erick Camacho (@ecamacho) and Wulfrano Moreno (@wulfrano), you can find the videos at this link.

Now if you pay attention to the Griffon video (even if Spanish is not your language du jour) you'll notice something funny with the slides. This happens because I didn't use any regular presentation software, it was a Griffon application. Yes, you're seeing a Swing-based, Griffon powered application. It wouldn't have been possible without the efforts of the following people and their Swing related projects (in no particular order): All those projects and Griffon come together to build the application in a seamless way. The code is available at http://github.com/aalmiray/griffon-talk. These are the app's stats:

    +----------------------+-------+-------+
    | Name                 | Files |  LOC  |
    +----------------------+-------+-------+
    | Models               |     2 |    37 |
    | Views                |    30 |   781 |
    | Controllers          |     2 |    53 |
    | Lifecycle            |     5 |     9 |
    | Groovy/Java Sources  |     1 |    28 |
    | Integration Tests    |     2 |     8 |
    +----------------------+-------+-------+
    | Totals               |    42 |   916 |
    +----------------------+-------+-------+
916 lines of code, and I have the feeling a few more can be shaved off. Oh, in case you're wondering, that application was developed in day, most of the time was spent tweaking the layouts and arranging the components. Who's up for a presentation DSL? The following is a short video of the application in action



UPDATE: take the app for a spin! download the jar from github [alternate link], then type 'java -jar griffon-talk.jar' (or double click on it on Windows). Requires JDK6.

Keep on Groovying!
Andres Almiray

About Andres Almiray

Andres is a Java/Groovy developer and a Java Champion with more than 20 years of experience in software design and development. He has been involved in web and desktop application development since the early days of Java. Andres is a true believer in open source and has participated on popular projects like Groovy, Griffon, and DbUnit, as well as starting his own projects (Json-lib, EZMorph, GraphicsBuilder, JideBuilder). Founding member of the Griffon framework and Hackergarten community event. https://ch.linkedin.com/in/aalmiray

Why Attend the NFJS Tour?

  • » Cutting-Edge Technologies
  • » Agile Practices
  • » Peer Exchange

Current Topics:

  • Languages on the JVM: Scala, Groovy, Clojure
  • Enterprise Java
  • Core Java, Java 8
  • Agility
  • Testing: Geb, Spock, Easyb
  • REST
  • NoSQL: MongoDB, Cassandra
  • Hadoop
  • Spring 4
  • Cloud
  • Automation Tools: Gradle, Git, Jenkins, Sonar
  • HTML5, CSS3, AngularJS, jQuery, Usability
  • Mobile Apps - iPhone and Android
  • More...
Learn More »