HTML-Templates für die direkte Kontrolle als UTF-8-Kodiert markiert
[website] / dist / blog / article.html
1 <!DOCTYPE html>
2 <html
3     xmlns="http://www.w3.org/1999/xhtml"
4     xmlns:layout="http://www.thymeleaf.org"
5     layout:decorator="templates/layout"
6     >
7   <head>
8     <title>juplo - blog - Combining jetty-maven-plugin and wro4j-maven-plugin for Dynamic Reloading of LESS-Resources</title>
9     <!--/*-->
10     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
11     <link rel="stylesheet" type="text/css" href="../css/base.min.css"/>
12     <style type="text/css">
13       @import '../css/screen.min.css' screen;
14       @import '../css/print.min.css' print;
15     </style>
16     <!--*/-->
17   </head>
18   <body>
19     <ol layout:fragment="breadcrumb">
20       <li class="b"><a class="b" href="../index.html" th:href="@{/index.html}">Home</a></li>
21       <li class="b"><strong class="b">Blog</strong></li>
22     </ol>
23     <nav layout:fragment="navigation">
24       <hr class="n"/>
25       <a class="hide" href="#top" title="Show Content">Jump back to the top of the page</a>
26       <h1 class="nav">Navigation</h1>
27       <h2 class="nav menu">Section-Menu</h2>
28       <ul id="menu" class="cf">
29         <li class="m blog"><strong class="m">Blog</strong></li>
30         <li class="m projects"><a href="../projects.html" th:href="@{/projects.html}" class="m">Projects</a></li>
31         <li class="m about"><a href="../about.html" th:href="@{/about.html}" class="m">About</a></li>
32       </ul>
33     </nav>
34     <article class="main" layout:fragment="maincontent">
35       <article id="post-140" class="post-140 post type-post status-publish format-standard hentry category-jetty category-less category-maven category-wro4j">
36         <div class="entry-header">
37           <h1 class="entry-title">Combining jetty-maven-plugin and wro4j-maven-plugin for Dynamic Reloading of LESS-Resources</h1>
38           <div class="entry-meta">
39             Posted on <a href="http://juplo.de/combining-jetty-maven-plugin-and-wro4j-maven-plugin-for-dynamic-reloading-of-less-resources/" title="12:58" rel="bookmark"><time class="entry-date" datetime="2013-12-06T12:58:17+00:00">December 6, 2013</time></a><span class="byline"> by <span class="author vcard"><a class="url fn n" href="http://juplo.de/author/kai/" title="View all posts by Kai Moritz" rel="author">Kai Moritz</a></span></span>
40           </div><!-- .entry-meta -->
41         </div><!-- .entry-header -->
42         <div class="entry-content">
43           <p>Ever searched for a simple configuration, that lets you use your <a href="http://wiki.eclipse.org/Jetty/Feature/Jetty_Maven_Plugin" onclick="javascript:_gaq.push(['_trackEvent','outbound-article','http://wiki.eclipse.org']);" title="See the documentation for mor information">jetty-maven-plugin</a> as you are used to, while working with <a href="http://www.lesscss.org/" onclick="javascript:_gaq.push(['_trackEvent','outbound-article','http://www.lesscss.org']);" title="See LESS CSS documentation for mor informations">LESS</a> to simplify your stylesheets?</p>
44           <p>You cannot do both, use the <a href="http://www.lesscss.org/#usage" onclick="javascript:_gaq.push(['_trackEvent','outbound-article','http://www.lesscss.org']);" title="More about the client-side usage of LESS">Client-side mode</a> of LESS to ease development and use the <a href="https://github.com/marceloverdijk/lesscss-maven-plugin" onclick="javascript:_gaq.push(['_trackEvent','outbound-article','http://github.com']);" title="Homepage of the official LESS CSS maven plugin">lesscss-maven-plugin</a> to automatically compile the LESS-sources into CSS for production. That does not work, because your stylesheets must be linked in different ways if you are switching between the client-side mode &#8211; which is best for development &#8211; and the pre-compiled mode &#8211; which is best for production. For the client-side mode you need something like:</p>
45           <pre class="prettyprint linenums">
46   <code class="html">
47   &lt;link rel="stylesheet" type="text/css" href="styles.less" /&gt;
48   &lt;script src="less.js" type="text/javascript"&gt;&lt;/script&gt;
49   </code>
50           </pre>
51           <p>While, for the pre-compiled mode, you want to link to your stylesheets as usual, with:</p>
52           <pre class="prettyprint linenums">
53   <code class="html">
54   &lt;link rel="stylesheet" type="text/css" href="styles.css" /&gt;
55   </code>
56           </pre>
57           <p>While looking for a solution to this dilemma, I stumbled accross <a href="https://code.google.com/p/wro4j/" onclick="javascript:_gaq.push(['_trackEvent','outbound-article','http://code.google.com']);" title="See the documentation of ths wounderfull tool">wro4j</a>. Originally intended, to speed up page-delivery by combining and minimizing multiple resources into one through the use of a servlet-filter, this tool also comes with a maven-plugin, that let you do the same offline, while compiling your webapp.</p>
58           <p>The idea is, to use the <a href="http://code.google.com/p/wro4j/wiki/MavenPlugin" onclick="javascript:_gaq.push(['_trackEvent','outbound-article','http://code.google.com']);" title="See the documentation of hte wro4j-maven-plugin">wro4j-maven-plugin</a> to compile and combine your LESS-sources into CSS for production and to use the <a href="http://code.google.com/p/wro4j/wiki/Installation" onclick="javascript:_gaq.push(['_trackEvent','outbound-article','http://code.google.com']);" title="See how to configure the filter">wro4j filter</a>, to dynamically deliver the compiled CSS while developing. This way, you do not have to alter your HTML-code, when switching between development and production, because you always link to the CSS-files.</p>
59           <p>So, lets get dirty!</p>
60           <h2>Step 1: Configure wro4j</h2>
61           <p>First, we configure <strong>wro4j</strong>, like as we want to use it to speed up our page. The details are explained and linked on wro4j&#8217;s <a href="http://code.google.com/p/wro4j/wiki/GettingStarted" onclick="javascript:_gaq.push(['_trackEvent','outbound-article','http://code.google.com']);" title="Visit the Getting-Started-Page">Getting-Started-Page</a>. In short, we just need two files: <strong>wro.xml</strong> and <strong>wro.properties</strong>.</p>
62           <h3>wro.xml</h3>
63           <p>wro.xml tells wro4j, which resources should be combined and how the result should be named. I am using the following configuration to generate all LESS-Sources beneath <code>base/</code> into one CSS-file called <code>base.css</code>:</p>
64           <pre class="prettyprint linenums">
65   <code class="xml">
66   &lt;groups xmlns="http://www.isdc.ro/wro"&gt;
67     &lt;group name="base"&gt;
68       &lt;css&gt;/less/base/*.less&lt;/css&gt;
69     &lt;/group&gt;
70   </code>
71           </pre>
72           <p>wro4j looks for <code>/less/base/*.less</code> inside the root of the web-context, which is equal to <code>src/main/webapp</code> in a normal maven-project. There are <a href="http://code.google.com/p/wro4j/wiki/ResourceTypes" onclick="javascript:_gaq.push(['_trackEvent','outbound-article','http://code.google.com']);" title="See the resource locator documentation of wro4j for more details">other ways to specifie the resources</a>, which enable you to store them elswhere. But this approach works best for our goal, because the path is understandable for both: the wro4j servlet-filter, we are configuring now for our development-environment, and the wro4j-maven-plugin, that we will configure later for build-time compilation.</p>
73           <h3>wro.properties</h3>
74           <p>wro.properties in short tells wro4j, how or if it should convert the combined sources and how it should behave. I am using the following configuration to tell wro4j, that it should convert <code>*.less</code>-sources into CSS and do that on <em>every request</em>:</p>
75           <pre class="prettyprint linenums">
76   <code class="properties">
77   preProcessors=less4j
78   disableCache=true
79   </code>
80           </pre>
81           <p>You can do a lot more here. There are countless <a href="http://code.google.com/p/wro4j/wiki/ConfigurationOptions" onclick="javascript:_gaq.push(['_trackEvent', 'outbound-article', 'http://code.google.com']);" title="See all configuration options">configuration options</a> to fine-tune the behaviour of wro4j. The <code>disableCache=true</code> is crucial, because we would not see the changes take effect when developing with <strong>jetty-maven-plugin</strong> later on. You can also do much more with your resources here, for example <a href="https://code.google.com/p/wro4j/wiki/AvailableProcessors" onclick="javascript:_gaq.push(['_trackEvent', 'outbound-article', 'http://code.google.com']);" title="See all available processors">minimizing</a>. But for our goal, we are now only intrested in the compilation of our LESS-sources.</p>
82           <h2>Step 2: Configure the wro4j servlet-filter</h2>
83           <p>Configuring the filter in the <strong>web.xml</strong> is easy. It is explained in wro4j&#8217;s <a href="https://code.google.com/p/wro4j/wiki/Installation" onclick="javascript:_gaq.push(['_trackEvent', 'outbound-article', 'http://code.google.com']);" title="See the installation instructions for the wro4j servlet-filter">installation-insctuctions</a>. But the trick is, that we do not want to configure that filter for the production-version of our webapp, because we want to compile the resources offline, when the webapp is build. To acchieve this, we can use the <code>&lt;overrideDescriptor&gt;</code>-Parameter of the <a href="http://wiki.eclipse.org/Jetty/Feature/Jetty_Maven_Plugin#Configuring_Your_WebApp" onclick="javascript:_gaq.push(['_trackEvent', 'outbound-article', 'http://wiki.eclipse.org']);" title="Read more about the configuration of the jetty-maven-plugin">jetty-maven-plugin</a>.</p>
84           <h2>&lt;overrideDescriptor&gt;</h2>
85           <p>This parameter lets you specify additional configuration options for the web.xml of your webapp. I am using the following configuration for my jetty-maven-plugin:</p>
86           <pre class="prettyprint linenums">
87   <code class="xml">
88   &lt;plugin&gt;
89     &lt;groupId&gt;org.eclipse.jetty&lt;/groupId&gt;
90     &lt;artifactId&gt;jetty-maven-plugin&lt;/artifactId&gt;
91     &lt;configuration&gt;
92       &lt;webApp&gt;
93         &lt;overrideDescriptor&gt;${project.basedir}/src/test/resources/jetty-web.xml&lt;/overrideDescriptor&gt;
94       &lt;/webApp&gt;
95     &lt;/configuration&gt;
96     &lt;dependencies&gt;
97       &lt;dependency&gt;
98         &lt;groupId&gt;ro.isdc.wro4j&lt;/groupId&gt;
99         &lt;artifactId&gt;wro4j-core&lt;/artifactId&gt;
100         &lt;version&gt;${wro4j.version}&lt;/version&gt;
101       &lt;/dependency&gt;
102       &lt;dependency&gt;
103         &lt;groupId&gt;ro.isdc.wro4j&lt;/groupId&gt;
104         &lt;artifactId&gt;wro4j-extensions&lt;/artifactId&gt;
105         &lt;version&gt;${wro4j.version}&lt;/version&gt;
106         &lt;exclusions&gt;
107           &lt;exclusion&gt;
108               &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
109               &lt;artifactId&gt;servlet-api&lt;/artifactId&gt;
110           &lt;/exclusion&gt;
111           &lt;exclusion&gt;
112               &lt;groupId&gt;org.apache.commons&lt;/groupId&gt;
113               &lt;artifactId&gt;commons-lang3&lt;/artifactId&gt;
114           &lt;/exclusion&gt;
115           &lt;exclusion&gt;
116               &lt;groupId&gt;commons-io&lt;/groupId&gt;
117               &lt;artifactId&gt;commons-io&lt;/artifactId&gt;
118           &lt;/exclusion&gt;
119           &lt;exclusion&gt;
120               &lt;groupId&gt;commons-pool&lt;/groupId&gt;
121               &lt;artifactId&gt;commons-pool&lt;/artifactId&gt;
122           &lt;/exclusion&gt;
123           &lt;exclusion&gt;
124               &lt;groupId&gt;org.springframework&lt;/groupId&gt;
125               &lt;artifactId&gt;spring-web&lt;/artifactId&gt;
126           &lt;/exclusion&gt;
127           &lt;exclusion&gt;
128               &lt;groupId&gt;com.google.code.gson&lt;/groupId&gt;
129               &lt;artifactId&gt;gson&lt;/artifactId&gt;
130           &lt;/exclusion&gt;
131           &lt;exclusion&gt;
132               &lt;groupId&gt;com.google.javascript&lt;/groupId&gt;
133               &lt;artifactId&gt;closure-compiler&lt;/artifactId&gt;
134           &lt;/exclusion&gt;
135           &lt;exclusion&gt;
136               &lt;groupId&gt;com.github.lltyk&lt;/groupId&gt;
137               &lt;artifactId&gt;dojo-shrinksafe&lt;/artifactId&gt;
138           &lt;/exclusion&gt;
139           &lt;exclusion&gt;
140               &lt;groupId&gt;org.jruby&lt;/groupId&gt;
141               &lt;artifactId&gt;jruby-core&lt;/artifactId&gt;
142           &lt;/exclusion&gt;
143           &lt;exclusion&gt;
144             &lt;groupId&gt;org.jruby&lt;/groupId&gt;
145             &lt;artifactId&gt;jruby-stdlib&lt;/artifactId&gt;
146           &lt;/exclusion&gt;
147           &lt;exclusion&gt;
148               &lt;groupId&gt;org.jruby&lt;/groupId&gt;
149               &lt;artifactId&gt;jruby-stdlib&lt;/artifactId&gt;
150           &lt;/exclusion&gt;
151           &lt;exclusion&gt;
152               &lt;groupId&gt;me.n4u.sass&lt;/groupId&gt;
153               &lt;artifactId&gt;sass-gems&lt;/artifactId&gt;
154           &lt;/exclusion&gt;
155           &lt;exclusion&gt;
156               &lt;groupId&gt;nz.co.edmi&lt;/groupId&gt;
157               &lt;artifactId&gt;bourbon-gem-jar&lt;/artifactId&gt;
158           &lt;/exclusion&gt;
159           &lt;exclusion&gt;
160               &lt;groupId&gt;org.codehaus.gmaven.runtime&lt;/groupId&gt;
161               &lt;artifactId&gt;gmaven-runtime-1.7&lt;/artifactId&gt;
162           &lt;/exclusion&gt;
163           &lt;exclusion&gt;
164               &lt;groupId&gt;org.webjars&lt;/groupId&gt;
165               &lt;artifactId&gt;jshint&lt;/artifactId&gt;
166           &lt;/exclusion&gt;
167           &lt;exclusion&gt;
168               &lt;groupId&gt;org.webjars&lt;/groupId&gt;
169               &lt;artifactId&gt;less&lt;/artifactId&gt;
170           &lt;/exclusion&gt;
171           &lt;exclusion&gt;
172               &lt;groupId&gt;org.webjars&lt;/groupId&gt;
173               &lt;artifactId&gt;emberjs&lt;/artifactId&gt;
174           &lt;/exclusion&gt;
175           &lt;exclusion&gt;
176               &lt;groupId&gt;org.webjars&lt;/groupId&gt;
177               &lt;artifactId&gt;handlebars&lt;/artifactId&gt;
178           &lt;/exclusion&gt;
179           &lt;exclusion&gt;
180               &lt;groupId&gt;org.webjars&lt;/groupId&gt;
181               &lt;artifactId&gt;coffee-script&lt;/artifactId&gt;
182           &lt;/exclusion&gt;
183           &lt;exclusion&gt;
184               &lt;groupId&gt;org.webjars&lt;/groupId&gt;
185               &lt;artifactId&gt;jslint&lt;/artifactId&gt;
186           &lt;/exclusion&gt;
187           &lt;exclusion&gt;
188               &lt;groupId&gt;org.webjars&lt;/groupId&gt;
189               &lt;artifactId&gt;json2&lt;/artifactId&gt;
190           &lt;/exclusion&gt;
191           &lt;exclusion&gt;
192               &lt;groupId&gt;org.webjars&lt;/groupId&gt;
193               &lt;artifactId&gt;jquery&lt;/artifactId&gt;
194           &lt;/exclusion&gt;
195         &lt;/exclusions&gt;
196       &lt;/dependency&gt;
197     &lt;/dependencies&gt;
198   &lt;/plugin&gt;
199   </code>
200           </pre>
201           <p>The dependencies to <strong>wro4j-core</strong> and <strong>wro4j-extensions</strong> are needed by jetty, to be able to enable the filter defined below. Unfortunatly, one of the transitive dependencies of <code>wro4j-extensions</code> triggers an uggly error when running the jetty-maven-plugin. Therefore, all unneeded dependencies of <code>wro4j-extensions</code> are excluded, as a workaround for this error/bug.</p>
202           <h2>jetty-web.xml</h2>
203           <p>And my jetty-web.xml looks like this:</p>
204           <pre class="prettyprint linenums">
205   <code class="xml">
206   &lt;?xml version="1.0" encoding="UTF-8"?&gt;
207   &lt;web-app xmlns="http://java.sun.com/xml/ns/javaee"
208     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
209     xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
210     version="2.5"&gt;
211     &lt;filter&gt;
212       &lt;filter-name&gt;wro&lt;/filter-name&gt;
213       &lt;filter-class&gt;ro.isdc.wro.http.WroFilter&lt;/filter-class&gt;
214     &lt;/filter&gt;
215     &lt;filter-mapping&gt;
216       &lt;filter-name&gt;wro&lt;/filter-name&gt;
217       &lt;url-pattern&gt;*.css&lt;/url-pattern&gt;
218     &lt;/filter-mapping&gt;
219   &lt;/web-app&gt;
220   </code>
221           </pre>
222           <p>The filter processes any URI&#8217;s that end with <code>.css</code>. This way, the wro4j servlet-filter makes <code>base.css</code> available under any path, because for exampl <code>/base.css</code>, <code>/css/base.css</code> and <code>/foo/bar/base.css</code> all end with <code>.css</code>.</p>
223           <p>This is all, that is needed to develop with dynamically reloadable compiled LESS-resources. Just fire up your browser and browse to <code>/what/you/like/base.css</code>. (But do not forget to put some LESS-files in <code>src/main/webapp/less/base/</code> first!)</p>
224           <h2>Step 3: Install wro4j-maven-plugin</h2>
225           <p>All that is left over to configure now, is the build-process. If you would build and deploy your webapp now, the CSS-file <code>base.css</code> would not be generated and the link to your stylesheet, that already works in our jetty-maven-plugin environment would point to a 404. Hence, we need to set up the <strong>wro4j-maven-plugin</strong>. I am using this configuration:</p>
226           <pre class="prettyprint linenums">
227   <code class="xml">
228   &lt;plugin&gt;
229     &lt;groupId&gt;ro.isdc.wro4j&lt;/groupId&gt;
230     &lt;artifactId&gt;wro4j-maven-plugin&lt;/artifactId&gt;
231     &lt;version&gt;${wro4j.version}&lt;/version&gt;
232     &lt;configuration&gt;
233       &lt;wroManagerFactory&gt;ro.isdc.wro.maven.plugin.manager.factory.ConfigurableWroManagerFactory&lt;/wroManagerFactory&gt;
234       &lt;cssDestinationFolder&gt;${project.build.directory}/${project.build.finalName}/css/&lt;/cssDestinationFolder&gt;
235     &lt;/configuration&gt;
236     &lt;executions&gt;
237       &lt;execution&gt;
238         &lt;phase&gt;package&lt;/phase&gt;
239         &lt;goals&gt;
240           &lt;goal&gt;run&lt;/goal&gt;
241         &lt;/goals&gt;
242       &lt;/execution&gt;
243     &lt;/executions&gt;
244   &lt;/plugin&gt;
245   </code>
246           </pre>
247           <p>I connected the <code>run</code>-goal with the <code>package</code>-phase, because the statically compiled CSS-file is needed only in the final war. The <code>ConfigurableWroManagerFactory</code> tells wro4j, that it should look up further configuration options in our <code>wro.properties</code>-file, where we tell wro4j, that it should compile our LESS-resources. The <code>&lt;cssDestinationFolder&gt;</code>-tag tells wro4j, where it should put the generated CSS-file. You can adjust that to suite your needs.</p>
248           <p>That&#8217;s it: now the same CSS-file, which is created on the fly by the wro4j servlet-filter when using <code>mvn jetty:run</code> and, thus, enables dynamic reloading of our LESS-resources, is generated during the build-process by the wro4j-maven-plugin.</p>
249           <h2>Cleanup and further considerations</h2>
250           <h3>lesscss-maven-plugin</h3>
251           <p>If you already compile your LESS-resources with the lesscss-maven-plugin, you can stick with it and skip step 3. But I strongly recommend giving wro4j-maven-plugin a try, because it is a much more powerfull tool, that can speed up your final webapp even more.</p>
252           <h3>Clean up your mess </h3>
253           <p>With a configuration like the above one, your LESS-resources and wro4j-configuration-files will be packed into your production-war. That might be confusing later, because neither wro4j nor LESS is used in the final war. You can add the following to your <code>pom.xml</code> to exclude these files from your war for the sake of clarity:</p>
254           <pre class="prettyprint linenums">
255   <code class="xml">
256   &lt;plugin&gt;
257     &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
258     &lt;configuration&gt;
259       &lt;warSourceExcludes&gt;
260         WEB-INF/wro.*,
261         less/**
262       &lt;/warSourceExcludes&gt;
263     &lt;/configuration&gt;
264   &lt;/plugin&gt;
265   </code>
266           </pre>
267           <h3>What&#8217;s next?</h3>
268           <p>We only scrached the surface, of what can be done with wro4j. Based on this configuration, you can easily enable additional features to fine-tune your final build for maximum speed. You really should take a look at the <a href="https://code.google.com/p/wro4j/wiki/AvailableProcessors" onclick="javascript:_gaq.push(['_trackEvent', 'outbound-article', 'http://code.google.com']);" title="Available Processors">list of available Processors</a>!</p>
269         </div><!-- .entry-content -->
270         <footer class="entry-meta">
271           This entry was posted in <a href="http://juplo.de/category/jetty/" title="View all posts in Jetty" rel="category tag">Jetty</a>, <a href="http://juplo.de/category/less/" title="View all posts in less" rel="category tag">less</a>, <a href="http://juplo.de/category/maven/" title="View all posts in Maven" rel="category tag">Maven</a>, <a href="http://juplo.de/category/wro4j/" title="View all posts in wro4j" rel="category tag">wro4j</a>. Bookmark the <a href="http://juplo.de/combining-jetty-maven-plugin-and-wro4j-maven-plugin-for-dynamic-reloading-of-less-resources/" title="Permalink to Combining jetty-maven-plugin and wro4j-maven-plugin for Dynamic Reloading of LESS-Resources" rel="bookmark">permalink</a>. 
272         </footer><!-- .entry-meta -->
273       </article><!-- #post-140 -->
274       <!-- You can start editing here. -->
275       <!-- If comments are open, but there are no comments. -->
276       <div id="respond">
277         <h3>Leave a Reply</h3>
278         <div id="cancel-comment-reply">
279           <small><a rel="nofollow" id="cancel-comment-reply-link" href="/combining-jetty-maven-plugin-and-wro4j-maven-plugin-for-dynamic-reloading-of-less-resources/#respond" style="display:none;">Click here to cancel reply.</a></small>
280         </div>
281         <form action="http://juplo.de/wp-comments-post.php" method="post" id="commentform">
282           <p>Logged in as <a href="http://juplo.de/wp-admin/profile.php">Kai Moritz</a>. <a href="http://juplo.de/wp-login.php?action=logout&amp;redirect_to=http%3A%2F%2Fjuplo.de%2Fcombining-jetty-maven-plugin-and-wro4j-maven-plugin-for-dynamic-reloading-of-less-resources%2F&amp;_wpnonce=09e5cb501d" title="Log out of this account">Log out &raquo;</a></p>
283           <!--<p><small><strong>XHTML:</strong> You can use these tags: <code>&lt;a href=&quot;&quot; title=&quot;&quot;&gt; &lt;abbr title=&quot;&quot;&gt; &lt;acronym title=&quot;&quot;&gt; &lt;b&gt; &lt;blockquote cite=&quot;&quot;&gt; &lt;cite&gt; &lt;code&gt; &lt;del datetime=&quot;&quot;&gt; &lt;em&gt; &lt;i&gt; &lt;q cite=&quot;&quot;&gt; &lt;strike&gt; &lt;strong&gt; </code></small></p>-->
284           <p><textarea name="comment" id="comment" cols="58" rows="10" tabindex="4"></textarea></p>
285           <p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" />
286             <input type='hidden' name='comment_post_ID' value='140' id='comment_post_ID' />
287             <input type='hidden' name='comment_parent' id='comment_parent' value='0' />
288           </p>
289           <input type="hidden" id="_wp_unfiltered_html_comment_disabled" name="_wp_unfiltered_html_comment_disabled" value="2096655c89" /><script>(function() {
290       if (window === window.parent) {
291         document.getElementById('_wp_unfiltered_html_comment_disabled').name = '_wp_unfiltered_html_comment';
292       }
293     })();</script>
294           <p style="display: none;"><input type="hidden" id="akismet_comment_nonce" name="akismet_comment_nonce" value="f31e001227" /></p>
295         </form>
296       </div>
297     </article>
298     <aside layout:fragment="marginalcontent">
299       <div id="secondary" class="widget-area" role="complementary">
300         <aside id="archives" class="widget">
301           <h1 class="widget-title">Archives</h1>
302           <ul>
303             <li><a href='http://juplo.de/2013/10/' title='October 2013'>October 2013</a></li>
304             <li><a href='http://juplo.de/2013/08/' title='August 2013'>August 2013</a></li>
305             <li><a href='http://juplo.de/2013/01/' title='January 2013'>January 2013</a></li>
306             <li><a href='http://juplo.de/2012/11/' title='November 2012'>November 2012</a></li>
307           </ul>
308         </aside>
309         <aside id="categories" class="widget">
310           <h1 class="widget-title">Most Used Categories</h1>
311           <ul>
312             <li class="cat-item cat-item-4"><a href="http://juplo.de/category/java/" title="View all posts filed under Java">Java</a> (6)</li>
313             <li class="cat-item cat-item-6"><a href="http://juplo.de/category/hibernate/" title="View all posts filed under Hibernate">Hibernate</a> (5)</li>
314             <li class="cat-item cat-item-8"><a href="http://juplo.de/category/maven/" title="View all posts filed under Maven">Maven</a> (5)</li>
315             <li class="cat-item cat-item-9"><a href="http://juplo.de/category/jpa/" title="View all posts filed under JPA">JPA</a> (1)</li>
316             <li class="cat-item cat-item-10"><a href="http://juplo.de/category/appengine/" title="View all posts filed under appengine">appengine</a> (1)</li>
317             <li class="cat-item cat-item-11"><a href="http://juplo.de/category/oauth2/" title="View all posts filed under oauth2">oauth2</a> (1)</li>
318           </ul>
319         </aside>
320         <aside id="search" class="widget widget_search">
321           <h1 class="widget-title">Search</h1>
322           <form role="search" method="get" id="searchform" class="searchform" action="http://juplo.de/">
323             <div>
324               <label class="screen-reader-text" for="s">Search for:</label>
325               <input type="text" value="" name="s" id="s" />
326               <input type="submit" id="searchsubmit" value="Search" />
327             </div>
328           </form>
329         </aside>
330       </div><!-- #secondary .widget-area -->
331       <div id="tertiary" class="widget-area" role="supplementary">
332       </div><!-- #tertiary .widget-area -->
333     </aside>
334   </body>
335 </html>