<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Giving Groovy a Chance</title>
	<atom:link href="http://daniel.gredler.net/2007/03/18/giving-groovy-a-chance/feed/" rel="self" type="application/rss+xml" />
	<link>http://daniel.gredler.net/2007/03/18/giving-groovy-a-chance/</link>
	<description></description>
	<lastBuildDate>Tue, 24 Jan 2012 01:02:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Karik</title>
		<link>http://daniel.gredler.net/2007/03/18/giving-groovy-a-chance/#comment-745</link>
		<dc:creator><![CDATA[Karik]]></dc:creator>
		<pubDate>Wed, 15 Jun 2011 02:22:20 +0000</pubDate>
		<guid isPermaLink="false">http://gredler.wordpress.com/2007/03/18/giving-groovy-a-chance/#comment-745</guid>
		<description><![CDATA[Glad I\&#039;ve fialnly found something I agree with!]]></description>
		<content:encoded><![CDATA[<p>Glad I\&#8217;ve fialnly found something I agree with!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Gredler</title>
		<link>http://daniel.gredler.net/2007/03/18/giving-groovy-a-chance/#comment-13</link>
		<dc:creator><![CDATA[Daniel Gredler]]></dc:creator>
		<pubDate>Mon, 26 Mar 2007 16:32:08 +0000</pubDate>
		<guid isPermaLink="false">http://gredler.wordpress.com/2007/03/18/giving-groovy-a-chance/#comment-13</guid>
		<description><![CDATA[I agree with the assertion that &lt;a href=&quot;http://graemerocher.blogspot.com/2007/03/jruby-groovy-java-integration.html&quot; rel=&quot;nofollow&quot;&gt;Groovy enjoys a slight advantage over JRuby&lt;/a&gt; in terms of ecosystem integration, given that JRuby needs to remain compatible with C Ruby. However, only time will tell how large that advantage actually is, or whether it will tip the scales one way or another for us users.]]></description>
		<content:encoded><![CDATA[<p>I agree with the assertion that <a href="http://graemerocher.blogspot.com/2007/03/jruby-groovy-java-integration.html" rel="nofollow">Groovy enjoys a slight advantage over JRuby</a> in terms of ecosystem integration, given that JRuby needs to remain compatible with C Ruby. However, only time will tell how large that advantage actually is, or whether it will tip the scales one way or another for us users.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cliff</title>
		<link>http://daniel.gredler.net/2007/03/18/giving-groovy-a-chance/#comment-10</link>
		<dc:creator><![CDATA[Cliff]]></dc:creator>
		<pubDate>Mon, 26 Mar 2007 13:39:13 +0000</pubDate>
		<guid isPermaLink="false">http://gredler.wordpress.com/2007/03/18/giving-groovy-a-chance/#comment-10</guid>
		<description><![CDATA[Daniel,

I feel your pain regarding the M2 stuff. Incidentally I did manage to post an article on my blog regarding the old Groovy plugin for M2 shortly after I wrote the M2-Ant-Groovy-compile docs you linked to above. That support worked relatively well until I hit a snag myself. I&#039;m happy to be bailed out with the more recent Groovy M2 plugin submitted by Jason. Good luck getting your groove on and keep spreading the good news! By the way, even though JRuby is planning M2 plugins and IDE integration I&#039;d still advocate the Groovy stuff because it just fits the Java ecosystem better overall.]]></description>
		<content:encoded><![CDATA[<p>Daniel,</p>
<p>I feel your pain regarding the M2 stuff. Incidentally I did manage to post an article on my blog regarding the old Groovy plugin for M2 shortly after I wrote the M2-Ant-Groovy-compile docs you linked to above. That support worked relatively well until I hit a snag myself. I&#8217;m happy to be bailed out with the more recent Groovy M2 plugin submitted by Jason. Good luck getting your groove on and keep spreading the good news! By the way, even though JRuby is planning M2 plugins and IDE integration I&#8217;d still advocate the Groovy stuff because it just fits the Java ecosystem better overall.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Gredler</title>
		<link>http://daniel.gredler.net/2007/03/18/giving-groovy-a-chance/#comment-8</link>
		<dc:creator><![CDATA[Daniel Gredler]]></dc:creator>
		<pubDate>Wed, 21 Mar 2007 00:55:41 +0000</pubDate>
		<guid isPermaLink="false">http://gredler.wordpress.com/2007/03/18/giving-groovy-a-chance/#comment-8</guid>
		<description><![CDATA[Mark,

Thanks for the info, it sounds like your Groovy experiment is going well. One of the commenters to HLS&#039;s post linked above (relating to Tapestry 5 and Groovy) also mentioned using Groovy with Struts 2. Do you know if this is a common choice?

I may give Groovy another try in the near future, with tempered expectations as to interoperability within a single project module. The Spring support for Groovy looks very nice, but I&#039;m not sure if I&#039;m ready to implement my service or DAO layers with Groovy yet :-)

As far as the XML, I estimated it at 50 in my last paragraph, so the 41 may be accurate. However, if you are in fact using the Ant task via Maven, as I was, I&#039;d encourage you to check out &lt;a href=&quot;http://mojo.codehaus.org/groovy-maven-plugin/examples/compiling.html&quot; rel=&quot;nofollow&quot;&gt;the new Maven 2 plugin&lt;/a&gt;, which looks much less verbose and was just released a couple of days ago.]]></description>
		<content:encoded><![CDATA[<p>Mark,</p>
<p>Thanks for the info, it sounds like your Groovy experiment is going well. One of the commenters to HLS&#8217;s post linked above (relating to Tapestry 5 and Groovy) also mentioned using Groovy with Struts 2. Do you know if this is a common choice?</p>
<p>I may give Groovy another try in the near future, with tempered expectations as to interoperability within a single project module. The Spring support for Groovy looks very nice, but I&#8217;m not sure if I&#8217;m ready to implement my service or DAO layers with Groovy yet <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>As far as the XML, I estimated it at 50 in my last paragraph, so the 41 may be accurate. However, if you are in fact using the Ant task via Maven, as I was, I&#8217;d encourage you to check out <a href="http://mojo.codehaus.org/groovy-maven-plugin/examples/compiling.html" rel="nofollow">the new Maven 2 plugin</a>, which looks much less verbose and was just released a couple of days ago.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Menard</title>
		<link>http://daniel.gredler.net/2007/03/18/giving-groovy-a-chance/#comment-7</link>
		<dc:creator><![CDATA[Mark Menard]]></dc:creator>
		<pubDate>Wed, 21 Mar 2007 00:31:33 +0000</pubDate>
		<guid isPermaLink="false">http://gredler.wordpress.com/2007/03/18/giving-groovy-a-chance/#comment-7</guid>
		<description><![CDATA[Daniel,

You&#039;ve experienced some of the things I have getting started with Groovy. I haven&#039;t run into the closure issue on hashCode and equals. (Don&#039;t ask me why, ok?)

I understand your issue with Java code depending on Groovy code. The compilation order is an issue. There are some methods of working with it though.

1. Interfaces: Have your domain entities implement interfaces that are written in Java. Then your domain entity clients can just depend on the interfaces.

2. Use a maven sub-project for your domain model. Then you can just code away in Groovy on the domain mode, and package it into a jar file. Your other code can depend on that artifact. This would overcome the compilation order issue, and at the same time make your domain model a releasable artifact.

I&#039;m in the process of implementing a project using Groovy for my Struts 2 actions, service beans, and DAO&#039;s. I haven&#039;t done my domain model, because I implemented it using JPA annotations. It would be a lot of work to redo in XML files.

My experience with Groovy has been really good to date. So much so that I made  a Struts 2 plugin to instantiate my action classes on the fly, with reload on change to the source file. I&#039;ve also started using Spring reloadable scripted beans too. This allows me to set up my interfaces for a process in Java, then code away in Groovy without needing to restart my application server. (Details on my site.)

As to the Maven and plugin to run groovyc... is your config really 100 lines? Mine is 41 lines, and that has two life cycle hooks in it, to compile and test-compile.

Take care,

Mark]]></description>
		<content:encoded><![CDATA[<p>Daniel,</p>
<p>You&#8217;ve experienced some of the things I have getting started with Groovy. I haven&#8217;t run into the closure issue on hashCode and equals. (Don&#8217;t ask me why, ok?)</p>
<p>I understand your issue with Java code depending on Groovy code. The compilation order is an issue. There are some methods of working with it though.</p>
<p>1. Interfaces: Have your domain entities implement interfaces that are written in Java. Then your domain entity clients can just depend on the interfaces.</p>
<p>2. Use a maven sub-project for your domain model. Then you can just code away in Groovy on the domain mode, and package it into a jar file. Your other code can depend on that artifact. This would overcome the compilation order issue, and at the same time make your domain model a releasable artifact.</p>
<p>I&#8217;m in the process of implementing a project using Groovy for my Struts 2 actions, service beans, and DAO&#8217;s. I haven&#8217;t done my domain model, because I implemented it using JPA annotations. It would be a lot of work to redo in XML files.</p>
<p>My experience with Groovy has been really good to date. So much so that I made  a Struts 2 plugin to instantiate my action classes on the fly, with reload on change to the source file. I&#8217;ve also started using Spring reloadable scripted beans too. This allows me to set up my interfaces for a process in Java, then code away in Groovy without needing to restart my application server. (Details on my site.)</p>
<p>As to the Maven and plugin to run groovyc&#8230; is your config really 100 lines? Mine is 41 lines, and that has two life cycle hooks in it, to compile and test-compile.</p>
<p>Take care,</p>
<p>Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://daniel.gredler.net/2007/03/18/giving-groovy-a-chance/#comment-6</link>
		<dc:creator><![CDATA[Robert]]></dc:creator>
		<pubDate>Tue, 20 Mar 2007 17:14:49 +0000</pubDate>
		<guid isPermaLink="false">http://gredler.wordpress.com/2007/03/18/giving-groovy-a-chance/#comment-6</guid>
		<description><![CDATA[Slava likes to lash out against anything Java or not his language of choice.]]></description>
		<content:encoded><![CDATA[<p>Slava likes to lash out against anything Java or not his language of choice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Gredler</title>
		<link>http://daniel.gredler.net/2007/03/18/giving-groovy-a-chance/#comment-5</link>
		<dc:creator><![CDATA[Daniel Gredler]]></dc:creator>
		<pubDate>Tue, 20 Mar 2007 00:01:30 +0000</pubDate>
		<guid isPermaLink="false">http://gredler.wordpress.com/2007/03/18/giving-groovy-a-chance/#comment-5</guid>
		<description><![CDATA[That&#039;s a bit of a mischaracterization, Slava. Granted there&#039;s some sort of trouble using closures in specific places. However, the speed hit was the result of my choice of a generic algorithm. It would have been just as slow in pure Java. The 100 lines of XML did indeed suck, but apparently a new Maven 2 plugin was released just a couple of days ago. According to the docs, all that&#039;s needed now is the standard minimal XML required for any Maven plugin.]]></description>
		<content:encoded><![CDATA[<p>That&#8217;s a bit of a mischaracterization, Slava. Granted there&#8217;s some sort of trouble using closures in specific places. However, the speed hit was the result of my choice of a generic algorithm. It would have been just as slow in pure Java. The 100 lines of XML did indeed suck, but apparently a new Maven 2 plugin was released just a couple of days ago. According to the docs, all that&#8217;s needed now is the standard minimal XML required for any Maven plugin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Slava Pestov</title>
		<link>http://daniel.gredler.net/2007/03/18/giving-groovy-a-chance/#comment-4</link>
		<dc:creator><![CDATA[Slava Pestov]]></dc:creator>
		<pubDate>Mon, 19 Mar 2007 20:55:18 +0000</pubDate>
		<guid isPermaLink="false">http://gredler.wordpress.com/2007/03/18/giving-groovy-a-chance/#comment-4</guid>
		<description><![CDATA[ClassCastExceptions, StackOverflowErrors, 7 times slower, 100 lines of XML... looks like Groovy has all the check list features one expects from an &#039;open sores&#039; Java project. This will surely be a hit in the &#039;enterprise&#039; market, guys.]]></description>
		<content:encoded><![CDATA[<p>ClassCastExceptions, StackOverflowErrors, 7 times slower, 100 lines of XML&#8230; looks like Groovy has all the check list features one expects from an &#8216;open sores&#8217; Java project. This will surely be a hit in the &#8216;enterprise&#8217; market, guys.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guillaume Laforge</title>
		<link>http://daniel.gredler.net/2007/03/18/giving-groovy-a-chance/#comment-2</link>
		<dc:creator><![CDATA[Guillaume Laforge]]></dc:creator>
		<pubDate>Sun, 18 Mar 2007 10:45:51 +0000</pubDate>
		<guid isPermaLink="false">http://gredler.wordpress.com/2007/03/18/giving-groovy-a-chance/#comment-2</guid>
		<description><![CDATA[Hi Daniel,
Thanks a lot for this great and detailed feedback.
IDE integration is progressing nicely for Groovy as there are now 4-5 persons working on the Eclipse plugin, and I&#039;m sure they&#039;d be happy to hear about your feedback. And JetBrains is investigating to provide full support for Groovy in IntelliJ IDEA. So on the IDE side of things, you should see some interesting things coming in the following months.
Regarding the Maven 2 plugin, there&#039;s also a Maven 2 expert working on the topic (http://mojo.codehaus.org/groovy-maven-plugin/) so you could also provide your feedback there or on our mailing-lists to see what you need for your projects.
Now that we have a nice and stable 1.0 of Groovy, we&#039;re focusing a lot on tooling support. Stay tuned!]]></description>
		<content:encoded><![CDATA[<p>Hi Daniel,<br />
Thanks a lot for this great and detailed feedback.<br />
IDE integration is progressing nicely for Groovy as there are now 4-5 persons working on the Eclipse plugin, and I&#8217;m sure they&#8217;d be happy to hear about your feedback. And JetBrains is investigating to provide full support for Groovy in IntelliJ IDEA. So on the IDE side of things, you should see some interesting things coming in the following months.<br />
Regarding the Maven 2 plugin, there&#8217;s also a Maven 2 expert working on the topic (<a href="http://mojo.codehaus.org/groovy-maven-plugin/" rel="nofollow">http://mojo.codehaus.org/groovy-maven-plugin/</a>) so you could also provide your feedback there or on our mailing-lists to see what you need for your projects.<br />
Now that we have a nice and stable 1.0 of Groovy, we&#8217;re focusing a lot on tooling support. Stay tuned!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

