<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>creatified.com &#187; Groovy</title>
	<atom:link href="http://creatified.com/blog/tag/groovy/feed/" rel="self" type="application/rss+xml" />
	<link>http://creatified.com/blog</link>
	<description>code creative.</description>
	<lastBuildDate>Fri, 05 Mar 2010 15:42:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SpringSource: A Groovier Eclipse experience</title>
		<link>http://creatified.com/blog/2009/08/springsource-a-groovier-eclipse-experience/</link>
		<comments>http://creatified.com/blog/2009/08/springsource-a-groovier-eclipse-experience/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 17:48:10 +0000</pubDate>
		<dc:creator>mat.i.am</dc:creator>
				<category><![CDATA[Grails]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Groovy]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://creatified.com/blog/?p=249</guid>
		<description><![CDATA[For a very long time developing Grails applications in Eclipse using the Groovy-Eclipse-Plugin was everything but enjoyable for me. Matthias Käppler summed it up best when he wrote:
Grails and Eclipse: Not So Groovy
In fact I struggled to get the Groovy-Eclipse-Plugin installed those days, and after finally having done that I found out that developing Grails [...]]]></description>
			<content:encoded><![CDATA[<p>For a very long time developing Grails applications in Eclipse using the Groovy-Eclipse-Plugin was everything but enjoyable for me. <a href="http://brainflush.wordpress.com/2008/05/03/grails-and-eclipse-not-so-groovy/">Matthias Käppler</a> summed it up best when he wrote:</p>
<blockquote><p>Grails and Eclipse: Not So Groovy</p></blockquote>
<p>In fact I struggled to get the Groovy-Eclipse-Plugin installed those days, and after finally having done that I found out that developing Grails applications in Eclipse was really painful for me.</p>
<p>But now with the <a href="http://blog.springsource.com/2009/07/30/a-groovier-eclipse-experience/">first pre-M1 release</a> of the next version of the Groovy-Eclipse plugin many things are better than ever. I finally got around using Grails and Eclipse for some of my projects at work but on the Mac at home I still prefer the combination of TextMate and Console.app. I&#8217;m looking forward to the final release which should improve UI performance in Eclipse, especially when using Code Assist.</p>
]]></content:encoded>
			<wfw:commentRss>http://creatified.com/blog/2009/08/springsource-a-groovier-eclipse-experience/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grails Instruments in public SVN now</title>
		<link>http://creatified.com/blog/2009/06/grails-instruments-in-public-svn-now/</link>
		<comments>http://creatified.com/blog/2009/06/grails-instruments-in-public-svn-now/#comments</comments>
		<pubDate>Sun, 14 Jun 2009 09:53:19 +0000</pubDate>
		<dc:creator>mat.i.am</dc:creator>
				<category><![CDATA[Grails]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[benchmark]]></category>
		<category><![CDATA[flot]]></category>
		<category><![CDATA[Groovy]]></category>
		<category><![CDATA[Instruments]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://creatified.com/blog/?p=209</guid>
		<description><![CDATA[This weekend I've been very busy on Instruments again.
Instruments now sports a core Java library which takes care of caching the states of system usage for the last time. This is included in an all new "InstrumentsService" which will provide the necessary methods to controllers.
At the moment this is all trimmed for using flot. There are no other "export options" for now.
I decided to make this publicly available in my Subversion repository. ]]></description>
			<content:encoded><![CDATA[<p>This weekend I&#8217;ve been very busy on Instruments again.</p>
<p>Instruments now sports a core Java library which takes care of caching the states of system usage for the last time. This is included in an all new &#8220;InstrumentsService&#8221; which will provide the necessary methods to controllers.</p>
<p>At the moment this is all trimmed for using flot. There are no other &#8220;export options&#8221; for now.</p>
<p>I decided to make this publicly available in my Subversion repository. You can checkout the source tree of the Grails application here:</p>
<p><a href="http://creatified.com/svn/creatified/Instruments/" target="_blank">http://creatified.com/svn/creatified/Instruments/</a></p>
<p>The trunk includes the latest development version. Don&#8217;t forget the &#8220;grails upgrade&#8221;-command after checking out the source tree.</p>
<p>When you run the app, all you&#8217;ll find there for the moment is the following site which will be located unter http://localhost:8080/instruments/</p>
<p>You will then be able to see something like this:</p>
<p><a href="http://creatified.com/blog/wp-uploads/2009/06/Instruments-CPU.png"><img class="alignnone size-medium wp-image-211" title="Instruments - CPU" src="http://creatified.com/blog/wp-uploads/2009/06/Instruments-CPU-300x147.png" alt="Instruments - CPU" width="300" height="147" /></a></p>
<p>for the CPU usage and this:</p>
<p><a href="http://creatified.com/blog/wp-uploads/2009/06/Instruments-Memory.png"><img class="alignnone size-medium wp-image-212" title="Instruments - Memory" src="http://creatified.com/blog/wp-uploads/2009/06/Instruments-Memory-300x129.png" alt="Instruments - Memory" width="300" height="129" /></a></p>
<p>for the Memory usage</p>
<p>This will be all for now, be sure to check out your own version &#8211; I&#8217;ll also be testing this on the Google AppEngine soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://creatified.com/blog/2009/06/grails-instruments-in-public-svn-now/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Eclipse and Grails</title>
		<link>http://creatified.com/blog/2009/06/eclipse-and-grails/</link>
		<comments>http://creatified.com/blog/2009/06/eclipse-and-grails/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 21:18:27 +0000</pubDate>
		<dc:creator>mat.i.am</dc:creator>
				<category><![CDATA[Grails]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Groovy]]></category>

		<guid isPermaLink="false">http://creatified.com/blog/?p=206</guid>
		<description><![CDATA[In the last weeks I&#8217;ve been working on quite some different Grails applications. In my opinion Grails is really a great framework.
But one aspect that&#8217;s often annoying me is the Eclipse integration. Like many other guys I&#8217;d like to use Eclipse because for me TextMate is no full-blown IDE. But the default integration into Eclipse [...]]]></description>
			<content:encoded><![CDATA[<p>In the last weeks I&#8217;ve been working on quite some different Grails applications. In my opinion Grails is really a great framework.</p>
<p>But one aspect that&#8217;s often annoying me is the Eclipse integration. Like many other guys I&#8217;d like to use Eclipse because for me TextMate is no full-blown IDE. But the default integration into Eclipse is &#8220;incomplete&#8221; at best.</p>
<p>Here are some things I encountered with some possible solutions:</p>
<p>Unfortunately the generated Eclipse project files do not include a source link to the plugins directory of your project. Since Grails 1.1 this will be in your home-directory (at least on Unix-based systems) like ~/.grails/{GRAILS_VERSION}/projects/{PROJECT}/plugins, you will have to link this as a source folder when you&#8217;re using any plugins (which will often be the case)</p>
<p>The other thing is: if you&#8217;re including jars in the &#8220;lib&#8221; directory under your Grails project you will either add these jars manually to your build path or once again add this folder as a linked source folder.</p>
<p>I hope these issues will be addressed in a future release of Grails, hopefully as soon as 1.1.2 since these should not be too complicated to fix.</p>
]]></content:encoded>
			<wfw:commentRss>http://creatified.com/blog/2009/06/eclipse-and-grails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A few updates on GInstruments</title>
		<link>http://creatified.com/blog/2009/05/a-few-updates-on-ginstruments/</link>
		<comments>http://creatified.com/blog/2009/05/a-few-updates-on-ginstruments/#comments</comments>
		<pubDate>Wed, 27 May 2009 20:50:43 +0000</pubDate>
		<dc:creator>mat.i.am</dc:creator>
				<category><![CDATA[Grails]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[benchmark]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Groovy]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web apps]]></category>

		<guid isPermaLink="false">http://creatified.com/blog/?p=136</guid>
		<description><![CDATA[After some days off last week I&#8217;m on it again&#8230; GInstruments definitely on the way I&#8217;d like it to be.
First things first: Fortunately Hyperic had placed an exception-statement into its GPL-licensed SIGAR &#8211; which allows to include the SIGAR binaries in &#8211; for example &#8211; Apache-licensed works. For me that&#8217;s really good news, because this [...]]]></description>
			<content:encoded><![CDATA[<p>After some days off last week I&#8217;m on it again&#8230; GInstruments definitely on the way I&#8217;d like it to be.</p>
<p>First things first: Fortunately Hyperic had placed an exception-statement into its GPL-licensed SIGAR &#8211; which allows to include the SIGAR binaries in &#8211; for example &#8211; Apache-licensed works. For me that&#8217;s really good news, because this means GInstruments could also be used in productive environments which I think often would not be GPL-compliant.</p>
<p>Second: One of the basic things I always wanted to have seems really close now. At the moment GInstruments only displays your current system usage &#8211; not too useful, because most times you&#8217;d be interested in the usage over time, say for the past 30 seconds or so. So that&#8217;s one of the core features I&#8217;ll be implementing before releasing anything to the public &#8211; sorry for the delay, I&#8217;m very busy in other projects right now, too.</p>
<p>For the next few weeks I&#8217;ll also be testing on various kinds of systems (Windows, Linux, &#8230;) and of course testing on Google AppEngine whether they support all the necessary features.</p>
<p>And for a great user experience I&#8217;ll also be working very hard on a prototype of the UI.</p>
<p>Some things that will probably make it into the first public release include:</p>
<ul>
<li>logging system usage and events to a set of CSV-files (configurable in later versions)</li>
<li>usage graphs on the client-side using <a href="http://code.google.com/p/flot/" target="_blank">flot</a></li>
<li>more? yeah, sure!</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://creatified.com/blog/2009/05/a-few-updates-on-ginstruments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GInstruments &#8211; a new Grails plugin&#8230; soon!</title>
		<link>http://creatified.com/blog/2009/05/ginstruments/</link>
		<comments>http://creatified.com/blog/2009/05/ginstruments/#comments</comments>
		<pubDate>Sat, 23 May 2009 19:03:59 +0000</pubDate>
		<dc:creator>mat.i.am</dc:creator>
				<category><![CDATA[Grails]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[benchmark]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Groovy]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[web apps]]></category>

		<guid isPermaLink="false">http://creatified.com/blog/?p=123</guid>
		<description><![CDATA[As a developer I&#8217;m very often on the hunt for every last bit of performance &#8211; trying to optimize every single function of my program.
In the past weeks I&#8217;ve been thinking of, designing and developing on a new plugin for the growing framework Grails. It will be called GInstruments and it aims to provide some [...]]]></description>
			<content:encoded><![CDATA[<p>As a developer I&#8217;m very often on the hunt for every last bit of performance &#8211; trying to optimize every single function of my program.</p>
<p>In the past weeks I&#8217;ve been thinking of, designing and developing on a new plugin for the growing framework Grails. It will be called GInstruments and it aims to provide some useful clues for Grails developers who want to know how their application is performing.</p>
<p>The plugin uses Hyperic&#8217;s (<a href="http://www.hyperic.com/springsource/" target="_blank">now SpringSource</a>) <a href="http://support.hyperic.com/display/SIGAR/Home" target="_blank">SIGAR</a> (System Information Gatherer And Reporter) to report vital system information such as CPU usage or memory comsumption overall or for the current process.</p>
<p>The first release (0.1) is only going to be a snapshot of my first ideas, hence I&#8217;ll not release it to the official Grails plugin repositories. It will show you some information about your system like name, version, vendor or architecture, the current CPU and memory consumption. Especially for your current process (which will be the relevant information to know). Take a look at this:</p>
<div id="attachment_127" class="wp-caption alignnone" style="width: 408px"><a href="http://matiam.creatified.com/blog/wp-uploads/2009/05/ginstruments-01.png"><img class="size-full wp-image-127" title="First draft of GInstruments 0.1" src="http://matiam.creatified.com/blog/wp-uploads/2009/05/ginstruments-01.png" alt="First draf of GInstruments 0.1" width="398" height="302" /></a><p class="wp-caption-text">First draft of GInstruments 0.1</p></div>
<p>All these features are subject to change (I first wanted to know whether there could be a future for this). Possible features for the future may include</p>
<ul>
<li>logging of metrics (cpu, memory, swap, network, &#8230;)</li>
<li>tracking of Grails events (requests, &#8230;)</li>
<li>visualization of these two and more components over time to detect points of interest</li>
</ul>
<p>I&#8217;m open to all kinds feature requests but please bear in mind that I&#8217;m only doing this in my spare time, after work, school whatsoever ;-)</p>
<p>At last let me point you to a link (for the non-Apple-developers) to <a href="http://www.apple.com/macosx/developertools/instruments.html" target="_blank">how Apple&#8217;s Instruments-app looks like</a>. I think it has some other cool possibilities.</p>
<p>At the moment I&#8217;m also waiting for some response from the guys from Hyperic. I really want to license the plugin under the terms of the Apache License (the license Grails uses and many other plugins) &#8211; SIGAR is GPL-only at the moment.</p>
<p>Do you think this could be a useful plugin for the Grails infrastructure? What&#8217;s your opinion.</p>
]]></content:encoded>
			<wfw:commentRss>http://creatified.com/blog/2009/05/ginstruments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grails &#8211; ImageTools-Plugin</title>
		<link>http://creatified.com/blog/2009/05/grails-imagetools-plugin/</link>
		<comments>http://creatified.com/blog/2009/05/grails-imagetools-plugin/#comments</comments>
		<pubDate>Fri, 08 May 2009 20:05:37 +0000</pubDate>
		<dc:creator>mat.i.am</dc:creator>
				<category><![CDATA[Grails]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Groovy]]></category>
		<category><![CDATA[ImageMagick]]></category>
		<category><![CDATA[JAI]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JDK]]></category>
		<category><![CDATA[JPEG]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[web apps]]></category>

		<guid isPermaLink="false">http://creatified.com/blog/?p=103</guid>
		<description><![CDATA[There have already been some posts about the Grails Framework on my blog, so here&#8217;s one about the ImageTools plugin. This plugin leverages some functionality of the Java Advanced Imaging API (JAI) to make handling images a lot easier for Grails developers. However, some people seem to be complaining about poor image quality &#8211; I [...]]]></description>
			<content:encoded><![CDATA[<p>There have already been some posts about the <a href="http://www.grails.org">Grails Framework</a> on my blog, so here&#8217;s one about the <strong><a href="http://www.grails.org/ImageTools+plugin">ImageTools plugin</a>.</strong> This plugin leverages some functionality of the <a href="https://jai-imageio.dev.java.net/">Java Advanced Imaging API (JAI)</a> to make handling images a lot easier for Grails developers. However, some people <a href="http://javazquez.com/juan/category/grails/">seem to be complaining</a> about poor image quality &#8211; I guess they&#8217;re about the poor resizing-results when using the thumbnail functionality.</p>
<p>The default method for creating thumbnails is the following</p>
<blockquote>
<pre>def imageTool = new ImageTool()</pre>
<pre>imageTool.load("/path/to/image.jpg")</pre>
<pre>imageTool.thumbnail(640)</pre>
</blockquote>
<p>This will load the file, create a new ImageTool instance and make a thumbnail out of it, where the max width/height will be 640px. However the resizing quality is very bad because by default it uses nearest neighbor for interpolation. You will encounter this especially when you&#8217;re rendering small thumbnails out of large images.</p>
<h3>A possible solution</h3>
<p>Because there is no detailed documentation about the ImageTools plugin (actually I didn&#8217;t find any) one will have to inspect the source code to find something very cool: ImageTools also provides a method called &#8220;<strong>thumbnailSpecial</strong>&#8221; which can use other interpolation and rendering algorithms and you can use it instead of the basic &#8220;thumbail()&#8221;. It&#8217;s signature is as follows</p>
<blockquote>
<pre>thumbnailSpecial(float maxWidth,
                 float maxHeight,
                 int interPolationType,
                 int renderingType)</pre>
</blockquote>
<p>maxWidth and maxWidth are pretty self-explaining, just set them to the same values (for example 640) to achieve the same dimensions as above.</p>
<p>interPolationType is one of</p>
<p><strong>1</strong>: &#8220;bilinear interpolation&#8221; &#8211; which is at least better than nearest<br />
<strong>2</strong>: &#8220;bicubic interpolation&#8221; &#8211; which is even better and<br />
<strong>3</strong>: &#8220;bicubic2 interpolation&#8221; &#8211; which may even better</p>
<p>these are JAI names for them, don&#8217;t ask me about the details</p>
<p>renderingType is one of<br />
<strong>1</strong>: &#8220;scale&#8221; &#8211; the default function JAI uses<br />
<strong>2</strong>: &#8220;SubsampleAverage&#8221; &#8211; which will provide better results</p>
<p>Please keep in mind that all the &#8220;better results&#8221; require <strong>a lot more rendering time</strong> and are likely to consume more memory &#8211; but the results will be way smoother then.</p>
<p>So that may help some people out there which have experienced poor quality at this end.</p>
<p>For me there are only two further caveats when using ImageTools/JAI.</p>
<p>First: <strong>performance</strong> is very bad when using pure Java mode (which will be the default unless you provide a &#8220;native accelerator&#8221; for JAI). On my Mac this is no problem &#8211; as far as I know Apple provides a native accelerator in its own JDK on Mac OS X (and I never got messages like <a href="http://www.grails.org/ImageTools+plugin">detailed on the plugin page</a>) &#8211; yeah, using CoreGraphics/CoreImage, whatever&#8230; correct me if I&#8217;m wrong ;-) but I never got it to run on my production system (Ubuntu Server).</p>
<p>Second: JAI seems to have some other <strong>strange problems with JPEGs on Linux</strong> (I tried both OpenJDK and Sun&#8217;s JDK, always JAI in pure Java mode): some JPEGs will have inverted colors in the resulting thumbnail &#8211; couldn&#8217;t find out any details but I think something about the JPEG implementation is broken. This also affects saving JPEGs for me. It got strange exceptions when saving images as JPEGs causing that to fail &#8211; so I fell back to using PNGs &#8211; which is everything but cool in many cases :-(</p>
<p>As said these two problems only occurred on Linux (Ubuntu 9.04) &#8211; not on Mac OS X (couldn&#8217;t test on Windows) &#8211; but since most web apps I&#8217;m writing will be running on Linux some day this is a very annoying problem &#8211; and unfortunately I don&#8217;t see any progress on the ImageTools plugin or JAI. Anybody else got this kind of problem?</p>
<p>So I&#8217;m very tended to give something like good old <a href="http://www.imagemagick.org/">ImageMagick</a> a try &#8211; maybe using <a href="http://im4java.sourceforge.net/">im4java</a> or <a href="http://www.jmagick.org/index.html">JMagick</a> &#8211; or something else.</p>
]]></content:encoded>
			<wfw:commentRss>http://creatified.com/blog/2009/05/grails-imagetools-plugin/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Bewertungsplattform</title>
		<link>http://creatified.com/blog/2009/05/bewertungsplattform/</link>
		<comments>http://creatified.com/blog/2009/05/bewertungsplattform/#comments</comments>
		<pubDate>Mon, 04 May 2009 17:10:55 +0000</pubDate>
		<dc:creator>mat.i.am</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[study]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web 2.0]]></category>
		<category><![CDATA[BA Mosbach]]></category>
		<category><![CDATA[digital media]]></category>
		<category><![CDATA[Grails]]></category>
		<category><![CDATA[Groovy]]></category>
		<category><![CDATA[JEE]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Trac]]></category>

		<guid isPermaLink="false">http://creatified.com/blog/?p=98</guid>
		<description><![CDATA[Die letzten beiden Semester arbeitete ich mit meinen Kommilitonen Jan Laermann, Norman Schemel und Lino StrÃ¼mann an einem Projekt im Rahmen der Vorlesung Projektmanagement. Unser Kunde war der Studiengangsleiter Herr Mester. Sein Ziel war es, eine generische Bewertungsplattform anzulegen. Es sollten mit minimalem Aufwand Bewertungsportale zu beliebigen Themen aufgestellt werden kÃ¶nnen.
Projektplanung
Im ersten der beiden Semester [...]]]></description>
			<content:encoded><![CDATA[<p>Die letzten beiden Semester arbeitete ich mit meinen Kommilitonen Jan Laermann, Norman Schemel und Lino StrÃ¼mann an einem Projekt im Rahmen der Vorlesung Projektmanagement. Unser Kunde war der Studiengangsleiter Herr Mester. Sein Ziel war es, eine <strong>generische Bewertungsplattform</strong> anzulegen. Es sollten mit minimalem Aufwand Bewertungsportale zu beliebigen Themen aufgestellt werden kÃ¶nnen.</p>
<p><strong>Projektplanung</strong></p>
<p>Im ersten der beiden Semester kÃ¼mmerten wir uns maÃŸgeblich um die Projektplanung, dies ergab am Ende ein Pflichtenheft, das vom Kunden unterzeichnet wurde und uns im Folgenden als Basis fÃ¼r unsere Entwicklung diente.</p>
<p><strong>Projektumsetzung</strong></p>
<p>Im zweiten (diesem) Semester des Projekts ging es dann an die konkrete Implementierung der Software, sowie den geplanten Rollout. Wir hatten uns aus diversen GrÃ¼nden dafÃ¼r entschieden, fÃ¼r die Entwicklung das <a href="http://grails.org/">Grails-Framework</a> zu benutzen.</p>
<p>Zur weiteren Entwicklungsumgebung gehÃ¶rten bei uns folgende Komponenten:</p>
<ul>
<li>ein Subversion-Repository zur Versionierung und Zusammenarbeit</li>
<li>Trac als Task-Tracking-Tool um die einzelnen Aufgaben und auch Bugs zu koordinieren</li>
<li>anfangs ein MediaWiki welches dann durch das Wiki von Trac abgelÃ¶st wurde</li>
<li>eine lokale Testumgebung (von Grails bereitgestellt) und zum Ende auch ein serverseitiger Test mit Tomcat und MySQL</li>
</ul>
<p>Da wir aus vergangenen Projekten leider nicht sehr gute Erfahrungen mit LÃ¶sungen aus der BA-Infrastruktur gemacht hatten (dass das SVN-Repository z.B. nicht von auÃŸerhalb der BA erreichbar war, oder hÃ¤ufig nicht funktionierte) wÃ¤hlten wir meinen eigenen Server um die Tools dort zu hosten. Eine meiner Grundaufgaben war deshalb die Verwaltung dieser Entwicklungsumgebung, damit das Team verlÃ¤sslich damit arbeiten konnte.</p>
<p>AuÃŸerdem arbeitete ich danach als Java/Groovy-Entwickler an den Backend-Funktionen mit Grails um die Logik zu implementieren.</p>
<p><strong>Abgabe</strong></p>
<p>Unserem Kunden war es gegen Ende des Projektes leider nicht mehr mÃ¶glich die entsprechende Live-Umgebung zur VerfÃ¼gung zu stellen. Deshalb konnten wir die Bewertungsplattform nicht aus unserer Test-Umgebung auf das Live-System Ã¼bertragen.</p>
<p>Aus dem geplanten Roll-Out wurde so die Abgabe aller Entwicklungsressourcen, inkl. SVN-Repository, Trac-Backups etc. so dass z.B. ein anderer Jahrgang dieses Projekt dann inklusive einer (ursprÃ¼nglich geplanten) Werbekampagne online stellen kann.</p>
<p><strong>Erfahrungen</strong></p>
<p>Dies war fÃ¼r mich ein weiteres groÃŸes Software-Projekt innerhalb unseres Studiengangs. Man sieht, dass mich meist mehr die Technik reizt, als gestalterische oder statistische Arbeiten. Da wir den Prozess der Erstellung durch das Trac ebenfalls sehr einheitlich ablaufen lassen konnten, lief in diesem Projekt wieder einiges besser planbar als in frÃ¼heren Projekten (jedes Mal kommen ein paar weitere Tools und Erfahrungen hinzu bei denen man sich fragt wie man das bisher nur ohne sie geschafft hat).</p>
<p>Die Arbeit mit Grails war im weitesten Sinne sehr angenehm. Das GrundgerÃ¼st der Anwendung war innerhalb von ein paar Stunden erstellt und einsatzbereit. Ein paar Bereiche sind noch naja&#8230; meines Erachtens nicht unbedingt produktiv einsetzbar &#8211; z.B. Web Flows hatten bei mir auch in anderen Projekten bisher noch einige StabilitÃ¤tsprobleme. Und die Doku reicht auch von supermegatoll bis mittelprÃ¤chtig. Fragen wie &#8220;wie bekomme ich den info-Loglevel fÃ¼r Controller oder Services?&#8221; lieÃŸen sich nur durch langwierige Recherche im Internet beantworten. Aber es gibt auch Bereiche wie die Konfiguration mittels der jeweiligen &#8220;DSLs&#8221; (z.B. fÃ¼r die <a href="http://grails.org/doc/1.1/guide/single.html#3.3%20The%20DataSource">DataSources</a>) oder die <a href="http://groovy.codehaus.org/Builders">Groovy-Builder</a>, mit denen die Arbeit eine reine Freude sein kann, sofern die Doku sie entsprechend erlÃ¤utert.</p>
<p>Wir hatten sehr viel Zeit zur eigenen Einteilung zur VerfÃ¼gung, so konnten auch die einzelnen Entwickler ihren eigenen Rhythmus leben (meine Commits kamen z.B. meist in der Zeit von 8-20 Uhr, andere zwischen 14-2Uhr ;-) ). Das wurde auch durch die strikte Trennung von Grails ermÃ¶glicht, weshalb z.B. die einen weiterhin an den Layouts arbeiten konnte, wÃ¤hrend andere die Logik implementierten.</p>
<p><strong>Ausblick</strong></p>
<p>Ich werde mich mit Sicherheit weiterhin mit Grails beschÃ¤ftigen. FÃ¼r die schnelle Erstellung von Web-Anwendungen eignet es sich hervorragend. Integriert sich auf Wunsch auch gut in bestehende Umgebungen (eigenes Mapping fÃ¼r Persistenz z.B.) bietet viele sinnvolle Features &#8211; und noch mehr durch die immer weiter wachsende Zahl von Plugins.</p>
<p>Ein Task-Tracking-System wie Trac ist ebenfalls sehr sinnvoll, allerdings fand ich es wÃ¤hrend dieses Projekts teilweise etwas umstÃ¤ndlich zu bedienen &#8211; und es lief (Python, Apache, Ubuntu, VPS, wer auch immer dafÃ¼r verantwortlich ist&#8230;) leider lange Zeit nicht unbedingt flink.</p>
<p>Auf eine Versionsverwaltung kann ich selbst bei Ein-Mann-Projekten nicht mehr verzichten!</p>
]]></content:encoded>
			<wfw:commentRss>http://creatified.com/blog/2009/05/bewertungsplattform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enterprise-Vorlesung</title>
		<link>http://creatified.com/blog/2009/04/enterprise-vorlesung/</link>
		<comments>http://creatified.com/blog/2009/04/enterprise-vorlesung/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 18:31:28 +0000</pubDate>
		<dc:creator>mat.i.am</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[study]]></category>
		<category><![CDATA[BA Mosbach]]></category>
		<category><![CDATA[enterprise]]></category>
		<category><![CDATA[Grails]]></category>
		<category><![CDATA[Groovy]]></category>
		<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JBoss]]></category>

		<guid isPermaLink="false">http://creatified.com/blog/?p=93</guid>
		<description><![CDATA[In der Enterprise-Vorlesung lernten wir dieses Semester verschiedene Technologien kennen, die fÃ¼r die Entwicklung und den Einsatz von Unternehmens-Anwendungen wichtig sind.
Neben einem schriftlichen Test erarbeiteten wir in verschiedenen Gruppen unseres Kurses einzelne Module an einem &#8220;Downloadportal&#8221;. Dazu sollten wir unter Anderem den JBoss Portal Server einsetzen.
Aufgabe/Gruppe
Ich war gemeinsam mit meinen Kommilitonen Claudia FrÃ¶hlich, Katrin Plaumann [...]]]></description>
			<content:encoded><![CDATA[<p>In der <strong>Enterprise</strong>-Vorlesung lernten wir dieses Semester verschiedene Technologien kennen, die fÃ¼r die Entwicklung und den Einsatz von Unternehmens-Anwendungen wichtig sind.</p>
<p>Neben einem schriftlichen Test erarbeiteten wir in verschiedenen Gruppen unseres Kurses einzelne Module an einem <strong>&#8220;Downloadportal&#8221;</strong>. Dazu sollten wir unter Anderem den <a href="http://www.jboss.org/jbossportal/">JBoss Portal Server</a> einsetzen.</p>
<p><strong>Aufgabe/Gruppe</strong></p>
<p>Ich war gemeinsam mit meinen Kommilitonen Claudia FrÃ¶hlich, Katrin Plaumann und Lino StrÃ¼mann, in der Gruppe <strong>&#8220;Persistenz&#8221;</strong>. Unsere Aufgabe war es, mittels des ORM-Frameworks <a href="https://www.hibernate.org/">Hibernate</a> dafÃ¼r zu sorgen, dass jegliche Objekte aus dem Downloadportal transparent in einer relationalen Datenbank abgespeichert und aus dieser auch wieder ausgelesen werden konnten. Hibernate ist ein sog. objekt-relationaler-Mapper (kann also objektorientierte Strukturen in relationale Strukturen mappen) und hat sich auf diesem Gebiet als Quasi-Standard etabliert.</p>
<p>Dazu entwickelten wir eine Hilfsklasse, welche den anderen Gruppen nicht nur eine Hibernate-Session bereitstellte, sondern auch Methoden um verschiedene Objekte in die Datenbank schreiben zu kÃ¶nnen. ErgÃ¤nzt wurde dies durch einige &#8220;Finder&#8221;-Methoden die z.B. einen Benutzer anhand seines Nicknames finden konnte. Diese Klasse wurde allen anderen Gruppen zur VerfÃ¼gung gestellt.</p>
<p><strong>zur Entwicklungs-Umgebung</strong></p>
<ul>
<li>Da wir keine Testumgebung innerhalb des Portal Servers hatten, sicherten wir unsere Ergebnisse allein durch eine umfangreiche Test-Abdeckung durch JUnit ab</li>
<li>zur Versionskontrolle nutzten wir ein Subversion-Repository dass ich auf meinem privaten Server eingerichtet habe</li>
</ul>
<p><strong>Erfahrungen</strong></p>
<p>Ich hatte bisher schon Erfahrungen mit Hibernate gemacht &#8211; vor allem durch verschiedene Arbeiten mit <a href="http://grails.org/">Grails </a>das ebenfalls Hibernate einbindet. Allerdings war die &#8220;Low-Level-Arbeit&#8221; mit Hibernate eine andere Anforderung, ganz im Vergleich zu dem <a href="http://www.grails.org/GORM">&#8220;Luxus&#8221; den Grails dabei anbietet</a>. Dennoch kam ich damit sehr gut zurecht und konnte meinen Kommilitonen die bisher noch nicht damit gearbeitet hatten eine kurze EinfÃ¼hrung in das Thema geben.</p>
<p><strong>MÃ¶gliche Verbesserungen</strong></p>
<p>aus diversen GrÃ¼nden kamen wir erst in den letzten Wochen des Semesters dazu diese Anwendung zu entwickeln. Unser Teil wurde dabei relativ flott in weniger als einer knappen Woche fertig. Dabei wurde natÃ¼rlich einiges weggelassen, damit wir so schnell fertig wurden. Optimieren kÃ¶nnen hÃ¤tten wir zum Beispiel durch</p>
<ul>
<li>mehr Finder-Methoden fÃ¼r die Objekte anzubieten (wÃ¤re in Groovy dank Meta-Methoden sehr einfach, wie <a href="http://www.grails.org/DomainClass+Dynamic+Methods#findAllBy*">z.B. bei Grails</a>)</li>
<li><a href="http://logging.apache.org/log4j/">log4j</a> (miteingebunden) weiter nutzen um detaillierte Logs auszugeben</li>
<li>Aufbau des gesamten Projekts z.B. mit <a href="http://maven.apache.org/">Maven</a>, um AbhÃ¤ngigkeiten von Libraries transparent auflÃ¶sen zu kÃ¶nnen (hÃ¤tte leider wiederum eine EinfÃ¼hrung benÃ¶tigt, da Ant, Maven oder auch JUnit den meisten noch unbekannt waren)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://creatified.com/blog/2009/04/enterprise-vorlesung/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
