<p>I'm working on getting an Introduction to <a href="http://en.wikipedia.org/wiki/Groovy_%28programming_language%29" rel="nofollow noreferrer">Groovy</a> presentation ready for my local Java User's Group and I've pretty much got it together.  What I'd like to see is what you all think I just have to cover.  </p>

<p>Remember, this is an introductory presentation.  Most of the people are experienced Java developers, but I'm pretty sure they have little to no Groovy knowledge.  I won't poison the well by mentioning what I've already got down to cover as I want to see what the community has to offer.</p>

<p>What are the best things I can cover (in a 1 hour time frame) that will help me effectively communicate to these Java developers how useful Groovy could be to them?</p>

<p>p.s. I'll share my presentation here later for anyone interested.</p>

<p>as promised now that my presentation has been presented <a href="http://docs.google.com/Presentation?id=dhd8kj8d_17cx6gwfch" rel="nofollow noreferrer">here it is</a></p>

[{'answer_id': 29573, 'author': 'SCdF', 'author_id': 1666, 'author_profile': 'https://Stackoverflow.com/users/1666', 'pm_score': 4, 'selected': True, 'text': "<p>I don't know anything about groovy so in a sense I've qualified to answer this...</p>\n\n<p>I would want you to:</p>\n\n<ul>\n<li>Tell me why I would want to use Scripting (in general) as opposed to Java-- what does it let me do quicker (as in development time), what does it make more readable. Give tantalising examples of ways I can use chunks of scripting in my mostly Java app. You want to make this relevant to Java devs moreso than tech-junkies.</li>\n<li>With that out of the way, why Groovy? Why not Ruby, Python or whatever (which are all runnable on the JVM).</li>\n<li>Don't show me syntax that Java can already do (if statements, loops etc) or if you do make it quick. It's as boring as hell to watch someone walk through language syntax 101 for 20min.\n\n<ul>\n<li>For syntax that has a comparible feature in Java maybe show them side by side quickly.</li>\n<li>For syntax that is not in Java (closures etc) you can talk to them in a bit more detail.</li>\n</ul></li>\n<li>Remember those examples from the first point. Show me one, fully working (or at least looking like it is).</li>\n<li>At the end have question time. That is <strong>crazy</strong> important, and with that comes a burden on you to be a psuedo-guru :P.</li>\n</ul>\n\n<p>I'm not sure about how the Java6 scripting support works but I'm fairly sure it can be made secure. I remember something about defining the API the script can use before it's run.</p>\n\n<p>If this is the case then an example you could show would be some thick-client application (e.g. a music player) where users can write their own scripts with an API you provide them in Groovy which allows them to script their app in interesting and secure ways (e.g. creating custom columns in the playlist)</p>\n"}, {'answer_id': 29983, 'author': 'Rich Lawrence', 'author_id': 1281, 'author_profile': 'https://Stackoverflow.com/users/1281', 'pm_score': 3, 'selected': False, 'text': "<p>I'd go for:</p>\n\n<ol>\n<li>Closures</li>\n<li>Duck typing</li>\n<li>Builders (XML builder and slurper)</li>\n<li>GStrings</li>\n<li>Grails </li>\n</ol>\n"}, {'answer_id': 30031, 'author': 'Ed.T', 'author_id': 3014, 'author_profile': 'https://Stackoverflow.com/users/3014', 'pm_score': 2, 'selected': False, 'text': '<p>Include an example of how making Java code more groovy takes away soooo much code. Wait for them to pick their jaws up off of the floor before continuing. Scott Davis has a simple example at the beginning of Groovy Recipes that takes 35 lines of Java or 3 lines of Groovy.</p>\n'}, {'answer_id': 49122, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 1, 'selected': False, 'text': "<p>You should definitely show them how to create a quick Grails application.  Two domain classes that are related.  Build a basic CRUD app.  Explain that tables are being created behind the scenes using GORM(Hibernate).  Then explain that you can create a war file and deploy it as you would any other Java war file. You can also add Grails/Groovy to an existing Java/JSP project so it doesn't require a huge commitment or paradigm change.  </p>\n\n<p>Groovy/Grails is simply Ruby/Rails for Java people. I'd cover the plugins for Netbeans/Eclipse too.  Groovy/Grails are just now getting full support in the major IDE's.</p>\n\n<p>Finally, if you can find a good diagram that shows how Grails is built on top of Spring, Hibernate, Quartz, Sitemesh and Groovy, I think people will understand that there is a treasure chest waiting to be unlocked.</p>\n"}, {'answer_id': 49135, 'author': 'Anthony Cramp', 'author_id': 488, 'author_profile': 'https://Stackoverflow.com/users/488', 'pm_score': 2, 'selected': False, 'text': "<p>I'd mention the following things in addition to what has already been stated:</p>\n\n<ul>\n<li>GDK - extensions/additions to existing JDK classes</li>\n<li>Interaction between Groovy and Java code (basically a non-issue)</li>\n<li>Compiling Groovy code to Java .class files</li>\n<li>XML parsing and mechanisms for accessing document content</li>\n</ul>\n\n<p>One thing I like doing with Groovy is implementing an interface defined in Java as a map from method names to closures. It's a cool thing you can do with Groovy, but probably well beyond an introductory presentation though.</p>\n"}]
['https://Stackoverflow.com/questions/29461', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/3030/']