<?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>Snackycracky Techblog&#187; Snackycracky Blog</title>
	<atom:link href="http://blog.srvme.de/category/appfuse/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.srvme.de</link>
	<description></description>
	<lastBuildDate>Mon, 14 Jun 2010 21:33:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>appfuse install tutorial video screencasts</title>
		<link>http://blog.srvme.de/2009/04/07/appfuse-install-tutorial-video-screencasts/</link>
		<comments>http://blog.srvme.de/2009/04/07/appfuse-install-tutorial-video-screencasts/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 12:20:04 +0000</pubDate>
		<dc:creator>nils</dc:creator>
				<category><![CDATA[AppFuse]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[dwr]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[mvc]]></category>
		<category><![CDATA[rest]]></category>
		<category><![CDATA[screencast]]></category>
		<category><![CDATA[soap]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://snackycracky.wordpress.com/?p=460</guid>
		<description><![CDATA[i did this for my friends at the university, its in German &#8230; the rest stuff is in english maven mvn appfuse:full-source model controller views ajax with dwr rest+soap Bookmark It Hide Sites $$('div.d460').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) });]]></description>
			<content:encoded><![CDATA[<p>i did this for my friends at the university, its in German &#8230; the rest stuff is in english</p>
<ol>
<li><a href="http://srvu.de/javaee/maven.mov" target="_blank">maven</a></li>
<li><a href="http://srvu.de/javaee/appfuse_full-source.mov" target="_self">mvn appfuse:full-source</a></li>
<li><a href="http://srvu.de/javaee/modelle_controller_views.mov">model controller views</a></li>
<li><a href="http://srvu.de/javaee/ajaxWithDWR.mov" target="_blank">ajax with dwr</a></li>
<li><a href="http://srvu.de/snackycracky/rest.mov" target="_blank">rest+soap</a></li>
</ol>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d460').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d460" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fblog.srvme.de%2F2009%2F04%2F07%2Fappfuse-install-tutorial-video-screencasts%2F&amp;submitHeadline=appfuse+install+tutorial+video+screencasts&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.srvme.de%2F2009%2F04%2F07%2Fappfuse-install-tutorial-video-screencasts%2F&amp;title=appfuse+install+tutorial+video+screencasts" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.srvme.de%2F2009%2F04%2F07%2Fappfuse-install-tutorial-video-screencasts%2F&amp;title=appfuse+install+tutorial+video+screencasts" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.srvme.de%2F2009%2F04%2F07%2Fappfuse-install-tutorial-video-screencasts%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.srvme.de%2F2009%2F04%2F07%2Fappfuse-install-tutorial-video-screencasts%2F&amp;title=appfuse+install+tutorial+video+screencasts" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fblog.srvme.de%2F2009%2F04%2F07%2Fappfuse-install-tutorial-video-screencasts%2F&amp;bm_description=appfuse+install+tutorial+video+screencasts" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fblog.srvme.de%2F2009%2F04%2F07%2Fappfuse-install-tutorial-video-screencasts%2F&amp;T=appfuse+install+tutorial+video+screencasts" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2009%2F04%2F07%2Fappfuse-install-tutorial-video-screencasts%2F&amp;title=appfuse+install+tutorial+video+screencasts" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2009%2F04%2F07%2Fappfuse-install-tutorial-video-screencasts%2F&amp;title=appfuse+install+tutorial+video+screencasts" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fblog.srvme.de%2F2009%2F04%2F07%2Fappfuse-install-tutorial-video-screencasts%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fblog.srvme.de%2F2009%2F04%2F07%2Fappfuse-install-tutorial-video-screencasts%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+appfuse+install+tutorial+video+screencasts+@+http%3A%2F%2Fblog.srvme.de%2F2009%2F04%2F07%2Fappfuse-install-tutorial-video-screencasts%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fblog.srvme.de%2F2009%2F04%2F07%2Fappfuse-install-tutorial-video-screencasts%2F&amp;t=appfuse+install+tutorial+video+screencasts" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d460').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d460').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://blog.srvme.de/2009/04/07/appfuse-install-tutorial-video-screencasts/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
<enclosure url="http://srvu.de/javaee/maven.mov" length="221999203" type="video/quicktime" />
<enclosure url="http://srvu.de/javaee/appfuse_full-source.mov" length="574530074" type="video/quicktime" />
<enclosure url="http://srvu.de/javaee/modelle_controller_views.mov" length="628398629" type="video/quicktime" />
<enclosure url="http://srvu.de/javaee/ajaxWithDWR.mov" length="298472117" type="video/quicktime" />
<enclosure url="http://srvu.de/snackycracky/rest.mov" length="239481225" type="video/quicktime" />
		</item>
		<item>
		<title>migrate appfuse from xfire to cxf</title>
		<link>http://blog.srvme.de/2009/01/06/migrate-appfuse-from-xfire-to-cxf/</link>
		<comments>http://blog.srvme.de/2009/01/06/migrate-appfuse-from-xfire-to-cxf/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 14:29:35 +0000</pubDate>
		<dc:creator>nils</dc:creator>
				<category><![CDATA[AppFuse]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[spring]]></category>
		<category><![CDATA[cxf]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[migrate]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[webservice]]></category>

		<guid isPermaLink="false">http://snackycracky.wordpress.com/?p=204</guid>
		<description><![CDATA[edit the pom.xml file: change the spring version to 2.5.5. this is below &#60;!&#8211; Framework dependency versions &#8211;&#62; delete the dependency with the artifactId &#8216;xfire-java5&#8242; and &#8216;xfire-spring&#8217; insert the cxf dependencies: &#60;dependency&#62; &#60;groupId&#62;org.apache.cxf&#60;/groupId&#62; &#60;artifactId&#62;cxf-api&#60;/artifactId&#62; &#60;version&#62;2.1.3&#60;/version&#62; &#60;/dependency&#62; &#60;dependency&#62; &#60;groupId&#62;org.apache.cxf&#60;/groupId&#62; &#60;artifactId&#62;cxf-rt-frontend-jaxws&#60;/artifactId&#62; &#60;version&#62;2.1.3&#60;/version&#62; &#60;exclusions&#62; &#60;!-- http://www.jroller.com/melix/entry/apache_cxf_maven_javamail_awful --&#62; &#60;exclusion&#62; &#60;groupId&#62;org.apache.geronimo.specs&#60;/groupId&#62; &#60;artifactId&#62;geronimo-javamail_1.4_spec&#60;/artifactId&#62; &#60;/exclusion&#62; &#60;/exclusions&#62; &#60;/dependency&#62; &#60;dependency&#62; &#60;groupId&#62;org.apache.cxf&#60;/groupId&#62; &#60;artifactId&#62;cxf-rt-transports-http&#60;/artifactId&#62; &#60;version&#62;2.1.3&#60;/version&#62; &#60;/dependency&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>edit the pom.xml file:</p>
<p>change the spring version to 2.5.5.<br />
this is below &lt;!&#8211; Framework dependency versions &#8211;&gt;<br />
delete the dependency with the artifactId &#8216;xfire-java5&#8242; and &#8216;xfire-spring&#8217;<br />
insert the cxf dependencies:</p>
<ul style="border:1px solid #D8D8D8;background-color:#F8F8F8;overflow:auto;width:100%;">
<pre>&lt;dependency&gt;
	&lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
  	&lt;artifactId&gt;cxf-api&lt;/artifactId&gt;
  	&lt;version&gt;2.1.3&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
  	&lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
	&lt;artifactId&gt;cxf-rt-frontend-jaxws&lt;/artifactId&gt;
	&lt;version&gt;2.1.3&lt;/version&gt;
        &lt;exclusions&gt;
              &lt;!-- http://www.jroller.com/melix/entry/apache_cxf_maven_javamail_awful --&gt;
              &lt;exclusion&gt;
                   &lt;groupId&gt;org.apache.geronimo.specs&lt;/groupId&gt;
                   &lt;artifactId&gt;geronimo-javamail_1.4_spec&lt;/artifactId&gt;
              &lt;/exclusion&gt;
        &lt;/exclusions&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
	&lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
	&lt;artifactId&gt;cxf-rt-transports-http&lt;/artifactId&gt;
	&lt;version&gt;2.1.3&lt;/version&gt;
&lt;/dependency&gt;</pre>
</ul>
<p>exclude also asm and the cglib from the hibernate dependency</p>
<ul style="border:1px solid #D8D8D8;background-color:#F8F8F8;overflow:auto;width:100%;">
<pre>&lt;exclusion&gt;
	&lt;groupId&gt;asm&lt;/groupId&gt;
	&lt;artifactId&gt;asm&lt;/artifactId&gt;
&lt;/exclusion&gt;
&lt;exclusion&gt;
	&lt;groupId&gt;asm&lt;/groupId&gt;
	&lt;artifactId&gt;asm-attrs&lt;/artifactId&gt;
&lt;/exclusion&gt;
&lt;exclusion&gt;
	&lt;groupId&gt;cglib&lt;/groupId&gt;
	&lt;artifactId&gt;cglib&lt;/artifactId&gt;
&lt;/exclusion&gt;</pre>
</ul>
<p>add the asm-all and cglib dependencies to the top level &lt;dependencies&gt;:</p>
<ul style="border:1px solid #D8D8D8;background-color:#F8F8F8;overflow:auto;width:100%;">
<pre>&lt;dependency&gt;
    &lt;groupId&gt;asm&lt;/groupId&gt;
    &lt;artifactId&gt;asm-all&lt;/artifactId&gt;
    &lt;version&gt;3.1&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
    &lt;groupId&gt;cglib&lt;/groupId&gt;
    &lt;artifactId&gt;cglib&lt;/artifactId&gt;
    &lt;version&gt;2.2&lt;/version&gt;
&lt;/dependency&gt;</pre>
</ul>
<p>add the spring-core and spring-web dependency:</p>
<ul style="border:1px solid #D8D8D8;background-color:#F8F8F8;overflow:auto;width:100%;">
<pre>&lt;dependency&gt;
     &lt;groupId&gt;org.springframework&lt;/groupId&gt;
     &lt;artifactId&gt;spring-core&lt;/artifactId&gt;
     &lt;version&gt;${spring.version}&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
      &lt;groupId&gt;org.springframework&lt;/groupId&gt;
      &lt;artifactId&gt;spring-web&lt;/artifactId&gt;
      &lt;version&gt;${spring.version}&lt;/version&gt;
&lt;/dependency&gt;</pre>
</ul>
<p>edit the web.xml file and change /WEB-INF/xfire-servlet.xml in the &lt;param-value&gt; of the &lt;!&#8211; Context Configuration locations for Spring XML files to /WEB-INF/cxf-servlet.xml</p>
<p>also replace the servlet named xfire to</p>
<ul style="border:1px solid #D8D8D8;background-color:#F8F8F8;overflow:auto;width:100%;">
<pre>&lt;servlet&gt;
      &lt;servlet-name&gt;CXFServlet&lt;/servlet-name&gt;
      &lt;servlet-class&gt;org.apache.cxf.transport.servlet.CXFServlet&lt;/servlet-class&gt;
      &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
&lt;/servlet&gt;</pre>
</ul>
<p>and also the xfire servlet mapping to</p>
<ul style="border:1px solid #D8D8D8;background-color:#F8F8F8;overflow:auto;width:100%;">
<pre>&lt;servlet-mapping&gt;
      &lt;servlet-name&gt;CXFServlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/services/*&lt;/url-pattern&gt;
&lt;/servlet-mapping&gt; </pre>
</ul>
<p>delete WEB-INF/xfire-servlet.xml and make a new file there called cxf-servlet.xml which has this content:</p>
<ul style="border:1px solid #D8D8D8;background-color:#F8F8F8;overflow:auto;width:100%;">
<pre>&lt;beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:jaxws="http://cxf.apache.org/jaxws"
        xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"&gt;

        &lt;import resource="classpath:cxf/cxf.xml" /&gt;
        &lt;import resource="classpath:cxf/cxf-extension-soap.xml" /&gt;
        &lt;import resource="classpath:cxf/cxf-servlet.xml" /&gt;

        &lt;!-- #errorManager points to my manager(with the @webservice annotation)
             defined in my applicationContext.xml--&gt;
        &lt;jaxws:endpoint
          id="errorService"
          implementor="#errorManager"
          address="/ErrorService" /&gt;
&lt;/beans&gt;</pre>
</ul>
<p>now something i had to do:<br />
download cxf from <a title="here" href="http://www.apache.org/dyn/closer.cgi?path=%2Fcxf%2F2.1.3%2Fapache-cxf-2.1.3.tar.gz" target="_blank">here</a> and copy the cxf folder from META-INF there to your /WEB-INF/classes/ path. otherwise it will not find the cxf/cxf.xml &#8230;</p>
<p>execute:</p>
<ul style="border:1px solid #D8D8D8;background-color:#F8F8F8;overflow:auto;width:100%;">
<pre>mvn jetty:run</pre>
</ul>
<p>and check for your service at <a title="http://127.0.0.1:8080/services" href="http://127.0.0.1:8080/services" target="_blank">http://127.0.0.1:8080/services </a></p>
<p>i see this here:<br />
<img class="alignnone size-full wp-image-207" title="picture-4" src="http://snackycracky.files.wordpress.com/2009/01/picture-4.png" alt="picture-4" width="480" height="264" /></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
supporting REST like services <a href="http://snackycracky.wordpress.com/2009/01/22/rest-soap-for-cxfapache-appfuse/">here</a><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>references:</p>
<p>http://cwiki.apache.org/CXF20DOC/writing-a-service-with-spring.html</p>
<p>http://forum.springframework.org/showthread.php?p=179390</p>
<p><a href="http://www.jroller.com/melix/entry/apache_cxf_maven_javamail_awful">http://www.jroller.com/melix/entry/apache_cxf_maven_javamail_awful  (</a> <a href="http://maas-frensch.com/peter/">p3t0r</a>)</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d204').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d204" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F06%2Fmigrate-appfuse-from-xfire-to-cxf%2F&amp;submitHeadline=migrate+appfuse+from+xfire+to+cxf&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F06%2Fmigrate-appfuse-from-xfire-to-cxf%2F&amp;title=migrate+appfuse+from+xfire+to+cxf" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F06%2Fmigrate-appfuse-from-xfire-to-cxf%2F&amp;title=migrate+appfuse+from+xfire+to+cxf" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F06%2Fmigrate-appfuse-from-xfire-to-cxf%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F06%2Fmigrate-appfuse-from-xfire-to-cxf%2F&amp;title=migrate+appfuse+from+xfire+to+cxf" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F06%2Fmigrate-appfuse-from-xfire-to-cxf%2F&amp;bm_description=migrate+appfuse+from+xfire+to+cxf" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F06%2Fmigrate-appfuse-from-xfire-to-cxf%2F&amp;T=migrate+appfuse+from+xfire+to+cxf" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F06%2Fmigrate-appfuse-from-xfire-to-cxf%2F&amp;title=migrate+appfuse+from+xfire+to+cxf" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F06%2Fmigrate-appfuse-from-xfire-to-cxf%2F&amp;title=migrate+appfuse+from+xfire+to+cxf" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F06%2Fmigrate-appfuse-from-xfire-to-cxf%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F06%2Fmigrate-appfuse-from-xfire-to-cxf%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+migrate+appfuse+from+xfire+to+cxf+@+http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F06%2Fmigrate-appfuse-from-xfire-to-cxf%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F06%2Fmigrate-appfuse-from-xfire-to-cxf%2F&amp;t=migrate+appfuse+from+xfire+to+cxf" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d204').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d204').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://blog.srvme.de/2009/01/06/migrate-appfuse-from-xfire-to-cxf/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>webservice appfuse flex spring authentication</title>
		<link>http://blog.srvme.de/2008/12/09/webservice-appfuse-flex-spring-authentication/</link>
		<comments>http://blog.srvme.de/2008/12/09/webservice-appfuse-flex-spring-authentication/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 12:51:16 +0000</pubDate>
		<dc:creator>nils</dc:creator>
				<category><![CDATA[AppFuse]]></category>
		<category><![CDATA[spring]]></category>
		<category><![CDATA[basic authentication]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[free flex builder]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[vim syntax highlighting]]></category>
		<category><![CDATA[webservice]]></category>
		<category><![CDATA[wsdl import]]></category>

		<guid isPermaLink="false">http://snackycracky.wordpress.com/?p=189</guid>
		<description><![CDATA[get this here to work: http://appfuse.org/display/APF/Web+Services make a flex project with flexbuilder: if you are a student get flexbuilder for free at https://freeriatools.adobe.com/flex/ now edit the mxml file like this in flexbuilder go to DATA-&#62;imort webservices and get everything from http://127.0.0.1:8080/services/PersonService?wsdl start the flex client and see the person object return! for adding security do [...]]]></description>
			<content:encoded><![CDATA[<p>get this here to work:<br />
<a href="http://appfuse.org/display/APF/Web+Services" target="_blank">http://appfuse.org/display/APF/Web+Services</a></p>
<p>make a flex project with flexbuilder: if you are a student get flexbuilder for free at<a href="https://freeriatools.adobe.com/flex/" target="_blank"> https://freeriatools.adobe.com/flex/</a></p>
<p>now edit the mxml file like <a href="http://srvme.de/trac/snackycracky_techblog/browser/snackycrack_techblog/springSecrityBasicAuth/flexClient.mxml">this</a></p>
<p>in flexbuilder go to DATA-&gt;imort webservices and get everything from http://127.0.0.1:8080/services/PersonService?wsdl</p>
<p>start the flex client and see the person object return!</p>
<p>for adding security do this:</p>
<p>cp target/tutorial-service-2.0.2/WEB-INF/security.xml src/main/webapp/WEB-INF/</p>
<p>in case you havent set the syntax highlighting in vim then vim ~/.vimrc with this:<br />
syntax on<br />
set ruler<br />
set number</p>
<p>edit the security.xml file so it looks like <a href="http://srvme.de/trac/snackycracky_techblog/browser/snackycrack_techblog/springSecrityBasicAuth/security.xml" target="_blank">this</a></p>
<p>comment out the init-params for the securityFilter in web.xml</p>
<p>now start the server again with mvn jetty:run-war</p>
<p>in flex open the BasePersonService.as and add the following line to the method &#8220;private function call(operation:WSDLOperat&#8230;&#8221;<br />
after the var inv:AsyncRequest = new AsyncRequest(); is instanciated:<br />
inv.setRemoteCredentials(&#8220;rod1&#8243;,&#8221;vertikal&#8221;);</p>
<p>restart the flex app and see the login dialog enter there &#8220;rod&#8221; and &#8220;vertikal&#8221;</p>
<p>from:</p>
<p>security.xml modified from: <a href="http://raibledesigns.com/rd/entry/upgrading_to_spring_security_2" target="_blank">http://raibledesigns.com/rd/entry/upgrading_to_spring_security_2</a><br />
i added the beans:bean tag and beans:property &#8230;<br />
flex credentials for webservice from <a href="http://www.flexlive.net/?p=79" target="_blank">http://www.flexlive.net/?p=79</a></p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d189').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d189" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fblog.srvme.de%2F2008%2F12%2F09%2Fwebservice-appfuse-flex-spring-authentication%2F&amp;submitHeadline=webservice+appfuse+flex+spring+authentication&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F12%2F09%2Fwebservice-appfuse-flex-spring-authentication%2F&amp;title=webservice+appfuse+flex+spring+authentication" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.srvme.de%2F2008%2F12%2F09%2Fwebservice-appfuse-flex-spring-authentication%2F&amp;title=webservice+appfuse+flex+spring+authentication" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.srvme.de%2F2008%2F12%2F09%2Fwebservice-appfuse-flex-spring-authentication%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.srvme.de%2F2008%2F12%2F09%2Fwebservice-appfuse-flex-spring-authentication%2F&amp;title=webservice+appfuse+flex+spring+authentication" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fblog.srvme.de%2F2008%2F12%2F09%2Fwebservice-appfuse-flex-spring-authentication%2F&amp;bm_description=webservice+appfuse+flex+spring+authentication" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fblog.srvme.de%2F2008%2F12%2F09%2Fwebservice-appfuse-flex-spring-authentication%2F&amp;T=webservice+appfuse+flex+spring+authentication" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F12%2F09%2Fwebservice-appfuse-flex-spring-authentication%2F&amp;title=webservice+appfuse+flex+spring+authentication" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F12%2F09%2Fwebservice-appfuse-flex-spring-authentication%2F&amp;title=webservice+appfuse+flex+spring+authentication" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fblog.srvme.de%2F2008%2F12%2F09%2Fwebservice-appfuse-flex-spring-authentication%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F12%2F09%2Fwebservice-appfuse-flex-spring-authentication%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+webservice+appfuse+flex+spring+authentication+@+http%3A%2F%2Fblog.srvme.de%2F2008%2F12%2F09%2Fwebservice-appfuse-flex-spring-authentication%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fblog.srvme.de%2F2008%2F12%2F09%2Fwebservice-appfuse-flex-spring-authentication%2F&amp;t=webservice+appfuse+flex+spring+authentication" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d189').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d189').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://blog.srvme.de/2008/12/09/webservice-appfuse-flex-spring-authentication/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AppFuse automatic build with eclipse</title>
		<link>http://blog.srvme.de/2008/09/16/appfuse-automatic-build-with-eclipse/</link>
		<comments>http://blog.srvme.de/2008/09/16/appfuse-automatic-build-with-eclipse/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 16:53:04 +0000</pubDate>
		<dc:creator>nils</dc:creator>
				<category><![CDATA[AppFuse]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[automatic]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[classpath]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[environment variable]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[sysdeo]]></category>
		<category><![CDATA[tomcat]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[vista]]></category>

		<guid isPermaLink="false">http://snackycracky.wordpress.com/?p=137</guid>
		<description><![CDATA[for appfuse 2.x do this: Download JavaRebel Download JavaRebel place javarebel.jar in your home directory If you are using the demo license, i.e. no license, it will expire after 21 days &#8211; if you want to continue using JavaRebel with your Scala projects, get the free JavaRebel for Scala license and put it into the directory which [...]]]></description>
			<content:encoded><![CDATA[<p>for appfuse 2.x do this:</p>
<h2 style="color:black;background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;font-weight:normal;padding-top:.5em;padding-bottom:.17em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#aaaaaa;font-size:19px;background-position:initial initial;margin:0 0 .6em;"><span>Download JavaRebel</span></h2>
<ul style="line-height:1.5em;list-style-type:square;list-style-image:url('http://wiki.liftweb.net/skins/monobook/bullet.gif');margin:.3em 0 0 1.5em;padding:0;">
<li style="margin-bottom:.1em;">Download <a style="text-decoration:none;color:#3366bb;background-image:url('http://wiki.liftweb.net/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://www.zeroturnaround.com/javarebel/" rel="nofollow" href="http://www.zeroturnaround.com/javarebel/">JavaRebel</a></li>
<li style="margin-bottom:.1em;">place javarebel.jar in your home directory</li>
<li style="margin-bottom:.1em;">If you are using the demo license, i.e. no license, it will expire after 21 days &#8211; if you want to continue using JavaRebel with your Scala projects, get the <a style="text-decoration:none;color:#3366bb;background-image:url('http://wiki.liftweb.net/skins/monobook/external.png');background-repeat:no-repeat;background-attachment:initial;background-color:initial;padding-right:13px;background-position:100% 50%;" title="http://www.zeroturnaround.com/pub/scala/javarebel.lic" rel="nofollow" href="http://www.zeroturnaround.com/pub/scala/javarebel.lic">free JavaRebel for Scala license</a> and put it into the directory which contains javarebel.jar.</li>
</ul>
<p><a id="Jetty" style="text-decoration:none;color:#002bb8;background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;background-position:initial initial;" name="Jetty"></a></p>
<h2 style="color:black;background-image:none;background-repeat:initial;background-attachment:initial;background-color:initial;font-weight:normal;padding-top:.5em;padding-bottom:.17em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#aaaaaa;font-size:19px;background-position:initial initial;margin:0 0 .6em;"><span>Jetty</span></h2>
<p style="line-height:1.5em;margin:.4em 0 .5em;">You can also use JavaRebel with Jetty.</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">Edit your pom.xml file and set the <tt>scanIntervalSeconds</tt> param to <tt>0</tt>, this will turn off Jetty&#8217;s internal reloading. Jetty&#8217;s internal reloading won&#8217;t keep your session after reloading changed classes. <code style="background-color:#f9f9f9;">&lt;scanIntervalSeconds&gt;0&lt;/scanIntervalSeconds&gt;</code></p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">Start jetty with the maven jetty plugin and the <tt>MAVEN_OPTS</tt> parameter set</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;"><code style="background-color:#f9f9f9;">MAVEN_OPTS="-noverify -javaagent:~/javarebel.jar" mvn jetty:run</code></p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">Run <tt>mvn compile</tt> in another terminal and JavaRebel will reload your changed classes.</p>
<p style="line-height:1.5em;margin:.4em 0 .5em;">Or to incrementally compile your Scala source files as they change run <tt>mvn scala:cc</tt></p>
<p><strong>this is a copy from http://wiki.liftweb.net/index.php?title=JavaRebel</strong></p>
<p>for old appfuse 1.x do the following:</p>
<p>this here is my way of working with appfuse in eclipse, i choosed the appfuse-basic-spring.<br />
The Build and compile process took me to much time so i took advantage of the eclipse autobuild function!<br />
If you change a controller for example, save it than you have the changes by reloading the website in notime. not everything gets changed by reloading the site but most of it. Sometimes you have to restart tomcat to apply major changes but this is a question of like 10 seconds. This setup saved me so much time and energy. The dev process speeded up by like 10 times <img src='http://blog.srvme.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<ol>
<li>first update or install Maven
<ol>
<li>by downloading it from <a href="http://apache.eu.lucid.dk/maven/binaries/" target="_blank">here</a>, then unpack it into /Applications</li>
<li>view your ~/.profile file and add this:
<pre><code>export M2_HOME=/Applications/apache-maven-x.x.x/
export M2=$M2_HOME/bin
export PATH=$M2:$PATH
      </code></pre>
</li>
</ol>
</li>
<li> now open a new terminal to apply the system parameter settings and start installing appfuse
<ol>
<li>change the -DgroupId  and the -DartifactId value and enter the complete command
<pre><code>mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes \
-DarchetypeArtifactId=appfuse-basic-spring \
-DremoteRepositories=http://static.appfuse.org/releases \
-DarchetypeVersion=2.0.2 -DgroupId=org.mydomain -DartifactId=myapp </code></pre>
</li>
<li>go to the directory &#8216;myapp&#8217; and apply the settings for your local database user at the bottom of pom.xml</li>
<li>run &#8216;mvn war:inplace&#8217; and &#8216;mvn appfuse:full-source&#8217; and &#8216;mvn install eclipse:eclipse&#8217;</li>
<li>if all maven builds were sucsessfull than you are ready</li>
</ol>
</li>
<li>to download the sysdeo tomcat plugin from <a href="http://www.eclipsetotale.com/tomcatPlugin.html" target="_blank">here</a> and unpack it to the eclipse plugin folder</li>
<li>open eclipse and
<ol>
<li>go to file -&gt; import and select &#8216;exsiting projects into workspace&#8217; than point to your myapp path and hit &#8216;finish&#8217;</li>
<li>than press ^H for a projectwide search. search for &#8216;org.appfuse&#8217; replace everything interesting with &#8216;my.org&#8217; from the <code> -DgroupId</code></li>
<li>go to the projects properties and select the &#8216;java build path&#8217; there click on &#8216;source&#8217; and delete everything!!!</li>
<li>click on &#8216;add folder&#8217;, check /src/main and hit enter now select the build path again to edit, click next to enter the excluded parameter: &#8216;webapp/&#8217;</li>
<li>add another source folder the same way for &#8216;/srv/main/webapp&#8217; and check if the Default output folder is &#8216;myapp/target/classes&#8217;</li>
<li>click on the &#8216;Libraries&#8217; tab and add the variable &#8216;M2_REPO&#8217; which has the value ~/.m2/repository/</li>
<li>open the file web.xml in the WEB-INF dir and set the &#8216;contextConfigLocation&#8217; to:</li>
<pre><code>&lt;context-param&gt;
	&lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;
	&lt;param-value&gt;
       classpath*:/applicationContext.xml
       /WEB-INF/applicationContext*.xml
       /WEB-INF/xfire-servlet.xml
       /WEB-INF/security.xml
	&lt;/param-value&gt;
&lt;/context-param&gt;</code></pre>
<li>after this you need to copy the 3 applicationContext files from the resources dir to the WEB-INF dir.</li>
</ol>
</li>
<li>go to the eclipse properties and select tomcat
<ol>
<li>set the version and the path and the declaration mode. i still use the server.xml style which is old i think.</li>
<li>apply the settings and go to the subcat &#8216;JVM Settings&#8217; there change the JRE to 1.6.0 and click on &#8216;Directory&#8217; at the Classpath field.</li>
<li>Here point to the default output folder and add it &#8216;/abosolute/path/to/myapp/target/classes&#8217;</li>
<li>ok, now add these jars from your tomcat lib folder to the classpath: jsp-api, servlet-api and jasper-*</li>
<li>for the last time click on the add &#8216;jar/zip&#8217; button and point to &#8216;&#8230;/target/classes/WEB-INF/lib&#8217; and add every jar in there by selecting all with the ^a combination</li>
<li>hit apply</li>
</ol>
</li>
<li>view the /tomcat/conf/server.xml and add the context like this before the closing &#8216;Host&#8217; tag at the bottom:
<pre><code>&lt;Context path="myapp" reloadable="true" docBase="/absolute/path/to/myapp/target/classes" /&gt;</code></pre>
</li>
<li>so now you are good to go by checkin Project -&gt; Build Automatically is enabled</li>
<li>if you click the little tomcat icon and the context is starting up  everyting is ok.</li>
<li>now please go to localhost:8080/myapp and check if its running.</li>
</ol>
<p>When you like to copy the contents of the classes folder to the production tomcat than you can use my little batch file: <a href="http://srvme.de/trac/snackycracky_techblog/browser/snackycrack_techblog/transferScriptToProductionTomcat/transferMyapp1.sh" target="_blank">here </a></p>
<p>the usage is really easy:</p>
<pre><code>transferMyapp.sh -e system -l "/absolute/path/to/myapp/target/classes" \
-r /srv/tomcat_prod/webapps/ -app myapp1 -t "/srv/tomcat_prod" -srv user@mydomain.org

</code></pre>
<p>for vista if not jet done please install the following apps:</p>
<ul>
<li>search for the powershell <a href="http://www.microsoft.com/downloads/" target="_blank">here</a> and install it.</li>
<li>tomcat <a href="http://mirror.moooo.org/apache/tomcat/tomcat-6/v6.0.18/bin/apache-tomcat-6.0.18.exe">Windows Service Installer</a></li>
<li>eclipse</li>
<li>maven</li>
</ul>
<p>for maven open the powershell and enter line by line the following commands to set the environment vars JAVA_HOME, M2, M2_HOME and to update the path for the user:</p>
<pre><code>$env:M2_HOME = 'C:\Program Files (x86)\apache-maven-2.0.9'
$env:M2 =$env:M2_HOME + '\bin'
[System.Environment]::SetEnvironmentVariable("M2_HOME", $env:M2_HOME , "<var>User</var>")[System.Environment]::SetEnvironmentVariable("M2", $env:M2 , "<var>User</var>")
$env:Path = $env:Path + ';' +$env:M2
$env:JAVA_HOME = 'C:\Program Files (x86)\Java\jdk1.6.0_10'
[System.Environment]::SetEnvironmentVariable("JAVA_HOME", $env:JAVA_HOME, "<var>User</var>")
[System.Environment]::SetEnvironmentVariable("PATH", $env:Path, "<var>User</var>")

well thats all for the powershell <img src='http://blog.srvme.de/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  i thought it would work to execute the mvn project build but nope.
going on in dos (cmd.exe):
execute: </code><code>mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes \
-DarchetypeArtifactId=appfuse-basic-spring -DremoteRepositories=http://static.appfuse.org/releases \
-DarchetypeVersion=2.0.2 -DgroupId=org.mydomain -DartifactId=myapp </code></pre>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d137').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d137" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fblog.srvme.de%2F2008%2F09%2F16%2Fappfuse-automatic-build-with-eclipse%2F&amp;submitHeadline=AppFuse+automatic+build+with+eclipse&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F09%2F16%2Fappfuse-automatic-build-with-eclipse%2F&amp;title=AppFuse+automatic+build+with+eclipse" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.srvme.de%2F2008%2F09%2F16%2Fappfuse-automatic-build-with-eclipse%2F&amp;title=AppFuse+automatic+build+with+eclipse" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.srvme.de%2F2008%2F09%2F16%2Fappfuse-automatic-build-with-eclipse%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.srvme.de%2F2008%2F09%2F16%2Fappfuse-automatic-build-with-eclipse%2F&amp;title=AppFuse+automatic+build+with+eclipse" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fblog.srvme.de%2F2008%2F09%2F16%2Fappfuse-automatic-build-with-eclipse%2F&amp;bm_description=AppFuse+automatic+build+with+eclipse" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fblog.srvme.de%2F2008%2F09%2F16%2Fappfuse-automatic-build-with-eclipse%2F&amp;T=AppFuse+automatic+build+with+eclipse" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F09%2F16%2Fappfuse-automatic-build-with-eclipse%2F&amp;title=AppFuse+automatic+build+with+eclipse" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F09%2F16%2Fappfuse-automatic-build-with-eclipse%2F&amp;title=AppFuse+automatic+build+with+eclipse" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fblog.srvme.de%2F2008%2F09%2F16%2Fappfuse-automatic-build-with-eclipse%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F09%2F16%2Fappfuse-automatic-build-with-eclipse%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+AppFuse+automatic+build+with+eclipse+@+http%3A%2F%2Fblog.srvme.de%2F2008%2F09%2F16%2Fappfuse-automatic-build-with-eclipse%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fblog.srvme.de%2F2008%2F09%2F16%2Fappfuse-automatic-build-with-eclipse%2F&amp;t=AppFuse+automatic+build+with+eclipse" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d137').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d137').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://blog.srvme.de/2008/09/16/appfuse-automatic-build-with-eclipse/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>hibernate inheritance</title>
		<link>http://blog.srvme.de/2008/07/16/hibernate-inheritance/</link>
		<comments>http://blog.srvme.de/2008/07/16/hibernate-inheritance/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 09:14:15 +0000</pubDate>
		<dc:creator>nils</dc:creator>
				<category><![CDATA[AppFuse]]></category>
		<category><![CDATA[classcastexception]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[inheritance]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[lazy]]></category>

		<guid isPermaLink="false">http://snackycracky.wordpress.com/?p=21</guid>
		<description><![CDATA[inheritance is a well known part of polymorphism in any object orientated language. To map something like an abstract class called &#8220;Customer&#8221; which has two subcalsses called &#8220;PrivateClient&#8221; and &#8220;CompanyClient&#8221; you have three different choices which are well documented in the hibernate docs (table-per-class, &#8230;). When you retrieve the class from the database by runtime, [...]]]></description>
			<content:encoded><![CDATA[<p>inheritance is a well known part of polymorphism in any object orientated language. To map something like an abstract class called &#8220;Customer&#8221; which has two subcalsses called &#8220;PrivateClient&#8221; and &#8220;CompanyClient&#8221; you have three different choices which are well documented in the hibernate docs (table-per-class, &#8230;).</p>
<p>When you retrieve the class from the database by runtime, hibernate dosen&#8217;t load the real subclass just the superclass, until it gets loaded in deph. By default the lazy loading method does that.</p>
<p>Turning off lazy loading on the superclass in the mapping file prevents loading only the superclass, enabling to cast the superclass to a subclass sucssesfully.</p>
<p>I don&#8217;t really like trying with the keyword &#8220;instancof&#8221; to check which subclass it is, so my roommate pointed me to the &#8220;Visitor Pattern&#8221; but i don&#8217;t really understand it jet. In my future Postings I will include it.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d21').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d21" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fblog.srvme.de%2F2008%2F07%2F16%2Fhibernate-inheritance%2F&amp;submitHeadline=hibernate+inheritance&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F07%2F16%2Fhibernate-inheritance%2F&amp;title=hibernate+inheritance" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.srvme.de%2F2008%2F07%2F16%2Fhibernate-inheritance%2F&amp;title=hibernate+inheritance" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.srvme.de%2F2008%2F07%2F16%2Fhibernate-inheritance%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.srvme.de%2F2008%2F07%2F16%2Fhibernate-inheritance%2F&amp;title=hibernate+inheritance" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fblog.srvme.de%2F2008%2F07%2F16%2Fhibernate-inheritance%2F&amp;bm_description=hibernate+inheritance" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fblog.srvme.de%2F2008%2F07%2F16%2Fhibernate-inheritance%2F&amp;T=hibernate+inheritance" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F07%2F16%2Fhibernate-inheritance%2F&amp;title=hibernate+inheritance" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F07%2F16%2Fhibernate-inheritance%2F&amp;title=hibernate+inheritance" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fblog.srvme.de%2F2008%2F07%2F16%2Fhibernate-inheritance%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F07%2F16%2Fhibernate-inheritance%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+hibernate+inheritance+@+http%3A%2F%2Fblog.srvme.de%2F2008%2F07%2F16%2Fhibernate-inheritance%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fblog.srvme.de%2F2008%2F07%2F16%2Fhibernate-inheritance%2F&amp;t=hibernate+inheritance" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d21').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d21').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://blog.srvme.de/2008/07/16/hibernate-inheritance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AppFuse File Generator</title>
		<link>http://blog.srvme.de/2007/10/22/appfuse-file-generator/</link>
		<comments>http://blog.srvme.de/2007/10/22/appfuse-file-generator/#comments</comments>
		<pubDate>Mon, 22 Oct 2007 15:04:46 +0000</pubDate>
		<dc:creator>nils</dc:creator>
				<category><![CDATA[AppFuse]]></category>
		<category><![CDATA[appfuse hibernate spring generator templates crud]]></category>

		<guid isPermaLink="false">http://snackycracky.wordpress.com/2007/10/22/appfuse-file-generator/</guid>
		<description><![CDATA[please look here for the orginal method from matt raible. Today, finally I made it! Generating all the files for introducing a new Model to my Application(Spring, Hibernate, SpringMVC) takes me over more than one h. Here is a litte gernerator for doing the basics (crud, daoInterface, model,(+vars), sql query, &#8230;. ) in less a [...]]]></description>
			<content:encoded><![CDATA[<p>please look <a href="http://www.nabble.com/Solutions%3A-AppFuse-automatic-build-with-eclipse-%2B-model-generator-to19518635s2369.html#a19552890">here</a> for the orginal method from matt raible.</p>
<p>Today, finally I made it!</p>
<p>Generating all the files for introducing a new Model to my Application(Spring, Hibernate, SpringMVC) takes me over more than one h.</p>
<p>Here is a litte gernerator for doing the basics (crud, daoInterface, model,(+vars), sql query, &#8230;. ) in less a second!!!</p>
<p><a href="http://srvme.de/trac/snackycracky_techblog/browser/snackycrack_techblog/mda_appfuse_generator">browse the source</a><br />
or<br />
<a href="http://srvme.de/blog/generator.zip">download the eclipse project </a></p>
<p>currently the usage is:</p>
<p>java Generator &#8211;className name &#8211;variables &#8220;Type varName, Type varName, &#8230;&#8221; &#8211;BasePath &#8220;path&#8221;</p>
<p>for example:</p>
<p>&#8211;className PseudoRoom &#8211;variables &#8220;GregorianCalendar From, GregorianCalendar To, PropertyRooms room&#8221; &#8211;BasePath &#8220;/Users/nils/Documents/myapp1/&#8221; &#8211;templatePath &#8220;/Users/nils/Documents/workspace/generator/templates/&#8221; &#8211;genWebController &#8220;UserManager, RoomManager, ActionManager&#8221;</p>
<p>please look at the source for more information. It´s really easy.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d15').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d15" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fblog.srvme.de%2F2007%2F10%2F22%2Fappfuse-file-generator%2F&amp;submitHeadline=AppFuse+File+Generator&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.srvme.de%2F2007%2F10%2F22%2Fappfuse-file-generator%2F&amp;title=AppFuse+File+Generator" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.srvme.de%2F2007%2F10%2F22%2Fappfuse-file-generator%2F&amp;title=AppFuse+File+Generator" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.srvme.de%2F2007%2F10%2F22%2Fappfuse-file-generator%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.srvme.de%2F2007%2F10%2F22%2Fappfuse-file-generator%2F&amp;title=AppFuse+File+Generator" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fblog.srvme.de%2F2007%2F10%2F22%2Fappfuse-file-generator%2F&amp;bm_description=AppFuse+File+Generator" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fblog.srvme.de%2F2007%2F10%2F22%2Fappfuse-file-generator%2F&amp;T=AppFuse+File+Generator" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2007%2F10%2F22%2Fappfuse-file-generator%2F&amp;title=AppFuse+File+Generator" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2007%2F10%2F22%2Fappfuse-file-generator%2F&amp;title=AppFuse+File+Generator" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fblog.srvme.de%2F2007%2F10%2F22%2Fappfuse-file-generator%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fblog.srvme.de%2F2007%2F10%2F22%2Fappfuse-file-generator%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+AppFuse+File+Generator+@+http%3A%2F%2Fblog.srvme.de%2F2007%2F10%2F22%2Fappfuse-file-generator%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fblog.srvme.de%2F2007%2F10%2F22%2Fappfuse-file-generator%2F&amp;t=AppFuse+File+Generator" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d15').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d15').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://blog.srvme.de/2007/10/22/appfuse-file-generator/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
