<?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/tag/maven/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>REST + SOAP for cxf.apache @ appfuse</title>
		<link>http://blog.srvme.de/2009/01/22/rest-soap-for-cxfapache-appfuse/</link>
		<comments>http://blog.srvme.de/2009/01/22/rest-soap-for-cxfapache-appfuse/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 20:54:45 +0000</pubDate>
		<dc:creator>nils</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[AppFuse]]></category>
		<category><![CDATA[cxf]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[migrate]]></category>
		<category><![CDATA[rest]]></category>
		<category><![CDATA[soap]]></category>
		<category><![CDATA[spring]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[webservice]]></category>

		<guid isPermaLink="false">http://snackycracky.wordpress.com/?p=276</guid>
		<description><![CDATA[SCREENCAST GETTING THIS DONE / video tutorial i am still working on it, but this works so far: i am going to install appfuse with a new entity &#8220;Person&#8221;. The Method findByLastName is accessible through REST WS. for more operations on cxf restfull services see JAX-RS (JSR-311) this doc is explaining everythig For example: retrieving Collections [...]]]></description>
			<content:encoded><![CDATA[<h1><span style="color:#ff0000;"><a href="http://srvu.de/snackycracky/rest.mov" target="_blank">SCREENCAST GETTING THIS DONE / video tutorial</a></span></h1>
<hr />
<hr />i am still working on it, but this works so far:<br />
i am going to install appfuse with a new entity &#8220;Person&#8221;.<br />
The Method findByLastName is accessible through REST WS.</p>
<p>for more operations on cxf restfull services see <a href="http://cwiki.apache.org/CXF20DOC/jax-rs-jsr-311.html">JAX-RS (JSR-311)<br />
</a>this doc is explaining everythig For example: retrieving Collections needs an extra wrapper class.<br />
there is still an error while listing the services: <a href="http://issues.apache.org/jira/browse/CXF-1695" target="_blank">CXF-1695</a></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;</span>pre<span style="color: #000000; font-weight: bold;">&gt;</span>mvn archetype:create <span style="color: #660033;">-DarchetypeGroupId</span>=org.appfuse.archetypes
<span style="color: #660033;">-DarchetypeArtifactId</span>=appfuse-basic-spring
<span style="color: #660033;">-DremoteRepositories</span>=http:<span style="color: #000000; font-weight: bold;">//</span>static.appfuse.org<span style="color: #000000; font-weight: bold;">/</span>releases
<span style="color: #660033;">-DarchetypeVersion</span>=2.0.2 <span style="color: #660033;">-DgroupId</span>=org.appfuse.tutorial <span style="color: #660033;">-DartifactId</span>=tutorial
<span style="color: #7a0874; font-weight: bold;">cd</span> tutorial
mvn appfuse:full-source
edit pom.xml <span style="color: #000000; font-weight: bold;">for</span> database <span style="color: #c20cb9; font-weight: bold;">login</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>jdbc<span style="color: #7a0874; font-weight: bold;">&#41;</span>
mvn <span style="color: #c20cb9; font-weight: bold;">install</span> eclipse:eclipse</pre></div></div>

<p>edit the pom.xml file:</p>
<p><strong>update</strong> the spring version to 2.5.6 below &lt;!– Framework dependency versions –&gt;</p>
<p><strong>delete</strong> the dependency with the artifactId ‘xfire-java5′ and ‘xfire-spring’</p>
<p><strong>insert</strong> the cxf dependencies:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>org.apache.cxf<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>cxf-api<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>2.1.3<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>org.apache.cxf<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>cxf-rt-frontend-jaxws<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>2.1.3<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;exclusions<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
              <span style="color: #808080; font-style: italic;">&lt;!-- http://www.jroller.com/melix/entry/apache_cxf_maven_javamail_awful --&gt;</span>
              <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;exclusion<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>org.apache.geronimo.specs<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>geronimo-javamail_1.4_spec<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
              <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/exclusion<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/exclusions<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>org.apache.cxf<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>cxf-rt-frontend-jaxrs<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>2.1.3<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>javax.xml<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>jaxb-api<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>2.1<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>org.apache.cxf<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>cxf-rt-transports-http<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>2.1.3<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span> <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span> <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>org.apache.cxf<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>cxf-rt-core<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>2.1.3<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>javax.ws.rs<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>jsr311-api<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>0.8<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><span style="color: #808080; font-style: italic;">&lt;!--!!!!!!!!!!!!ACTUAL VERSION IS 1.0!!!!!!!!!!!!(missing methods and classes ;( will be fixed in the next cxf version 2.1.4) --&gt;</span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>org.apache.cxf<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>cxf-rt-databinding-aegis<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>2.1.3<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p><strong>exclude</strong> asm and the cglib from the hibernate dependency</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;exclusion<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>asm<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>asm<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/exclusion<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;exclusion<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>asm<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>asm-attrs<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/exclusion<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;exclusion<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>cglib<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>cglib<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/exclusion<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p><strong>insert</strong> the asm-all and cglib dependencies to the top level &lt;dependencies&gt; above the cxf dependencies:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>asm<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>asm-all<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>3.1<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>cglib<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>cglib<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>2.2<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p><strong>insert</strong> the spring-core and spring-web dependency:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>org.springframework<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>spring-core<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>${spring.version}<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>org.springframework<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>spring-web<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>${spring.version}<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>edit the web.xml file and change /WEB-INF/xfire-servlet.xml in the &lt;param-value&gt; of the &lt;!– Context Configuration locations for Spring XML files to /WEB-INF/cxf-servlet.xml</p>
<p>also <strong>replace</strong> the servlet named xfire with</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;servlet<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;servlet-name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>CXFServlet<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/servlet-name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;servlet-class<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>org.apache.cxf.transport.servlet.CXFServlet<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/servlet-class<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;load-on-startup<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>1<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/load-on-startup<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/servlet<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>and <strong>replace</strong> the xfire servlet mapping with</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;servlet-mapping<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;servlet-name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>CXFServlet<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/servlet-name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;url-pattern<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>/services/*<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/url-pattern<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/servlet-mapping<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p><strong>delete</strong> WEB-INF/xfire-servlet.xml and <strong>create</strong> a new file there called cxf-servlet.xml which has this content:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;beans</span> <span style="color: #000066;">xmlns</span>=<span style="color: #ff0000;">&quot;http://www.springframework.org/schema/beans&quot;</span></span>
<span style="color: #009900;">        <span style="color: #000066;">xmlns:xsi</span>=<span style="color: #ff0000;">&quot;http://www.w3.org/2001/XMLSchema-instance&quot;</span></span>
<span style="color: #009900;">        <span style="color: #000066;">xmlns:jaxws</span>=<span style="color: #ff0000;">&quot;http://cxf.apache.org/jaxws&quot;</span></span>
<span style="color: #009900;">        <span style="color: #000066;">xmlns:jaxrs</span>=<span style="color: #ff0000;">&quot;http://cxf.apache.org/jaxrs&quot;</span></span>
<span style="color: #009900;">        <span style="color: #000066;">xsi:schemaLocation</span>=<span style="color: #ff0000;">&quot;</span>
<span style="color: #009900;">http://www.springframework.org/schema/beans</span>
<span style="color: #009900;">http://www.springframework.org/schema/beans/spring-beans.xsd</span>
<span style="color: #009900;">http://cxf.apache.org/jaxrs</span>
<span style="color: #009900;">http://cxf.apache.org/schemas/jaxrs.xsd</span>
<span style="color: #009900;">http://cxf.apache.org/jaxws</span>
<span style="color: #009900;">http://cxf.apache.org/schemas/jaxws.xsd&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
&nbsp;
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;import</span> <span style="color: #000066;">resource</span>=<span style="color: #ff0000;">&quot;classpath:META-INF/cxf/cxf.xml&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;import</span> <span style="color: #000066;">resource</span>=<span style="color: #ff0000;">&quot;classpath:META-INF/cxf/cxf-extension-soap.xml&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;import</span> <span style="color: #000066;">resource</span>=<span style="color: #ff0000;">&quot;classpath:META-INF/cxf/cxf-extension-jaxrs-binding.xml&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;import</span> <span style="color: #000066;">resource</span>=<span style="color: #ff0000;">&quot;classpath:META-INF/cxf/cxf-servlet.xml&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
&nbsp;
        <span style="color: #808080; font-style: italic;">&lt;!-- #errorManager points to my manager(with the @webservice annotation)</span>
<span style="color: #808080; font-style: italic;">             defined in my applicationContext.xml --&gt;</span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;jaxws:endpoint</span></span>
<span style="color: #009900;">          <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;personServiceSOAP&quot;</span></span>
<span style="color: #009900;">          <span style="color: #000066;">implementor</span>=<span style="color: #ff0000;">&quot;#personManager&quot;</span></span>
<span style="color: #009900;">          <span style="color: #000066;">address</span>=<span style="color: #ff0000;">&quot;/PersonServiceSOAP&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/jaxws:endpoint<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;jaxrs:server</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;personService1&quot;</span> <span style="color: #000066;">address</span>=<span style="color: #ff0000;">&quot;/PersonService&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;jaxrs:serviceBeans<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
              <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ref</span> <span style="color: #000066;">bean</span>=<span style="color: #ff0000;">&quot;personManager&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/jaxrs:serviceBeans<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/jaxrs:server<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/beans<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>add Person.java Model:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">package</span> <span style="color: #006699;">org.appfuse.tutorial.model</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">javax.persistence.Column</span><span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">javax.persistence.Entity</span><span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">javax.persistence.GeneratedValue</span><span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">javax.persistence.GenerationType</span><span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">javax.persistence.Id</span><span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">javax.persistence.Table</span><span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">javax.xml.bind.annotation.XmlRootElement</span><span style="color: #339933;">;</span>
&nbsp;
  @<span style="color: #003399;">Entity</span> @Table<span style="color: #009900;">&#40;</span>name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;person&quot;</span><span style="color: #009900;">&#41;</span>
  @XmlRootElement<span style="color: #009900;">&#40;</span>name <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Person&quot;</span><span style="color: #009900;">&#41;</span>
  <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> Person <span style="color: #000000; font-weight: bold;">extends</span> BaseObject <span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">private</span> <span style="color: #003399;">Long</span> id<span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">private</span> <span style="color: #003399;">String</span> firstName<span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">private</span> <span style="color: #003399;">String</span> lastName<span style="color: #339933;">;</span>
&nbsp;
 @Id
  @GeneratedValue<span style="color: #009900;">&#40;</span>strategy <span style="color: #339933;">=</span> GenerationType.<span style="color: #006633;">AUTO</span><span style="color: #009900;">&#41;</span>
  <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #003399;">Long</span> getId<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">return</span> id<span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
 <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">void</span> setId<span style="color: #009900;">&#40;</span><span style="color: #003399;">Long</span> id<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">this</span>.<span style="color: #006633;">id</span> <span style="color: #339933;">=</span> id<span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
 @Column<span style="color: #009900;">&#40;</span>name<span style="color: #339933;">=</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;first_name&quot;</span><span style="color: #009900;">&#41;</span>, length<span style="color: #339933;">=</span><span style="color: #cc66cc;">50</span><span style="color: #009900;">&#41;</span>
  <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #003399;">String</span> getFirstName<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">return</span> firstName<span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
 <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">void</span> setFirstName<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> firstName<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">this</span>.<span style="color: #006633;">firstName</span> <span style="color: #339933;">=</span> firstName<span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
 @Column<span style="color: #009900;">&#40;</span>name<span style="color: #339933;">=</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;last_name&quot;</span><span style="color: #009900;">&#41;</span>, length<span style="color: #339933;">=</span><span style="color: #cc66cc;">50</span><span style="color: #009900;">&#41;</span>
  <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #003399;">String</span> getLastName<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">return</span> lastName<span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
 <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">void</span> setLastName<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> lastName<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">this</span>.<span style="color: #006633;">lastName</span> <span style="color: #339933;">=</span> lastName<span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
&nbsp;
 <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">boolean</span> equals<span style="color: #009900;">&#40;</span><span style="color: #003399;">Object</span> o<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">this</span> <span style="color: #339933;">==</span> o<span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000066; font-weight: bold;">true</span><span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>o <span style="color: #339933;">==</span> <span style="color: #000066; font-weight: bold;">null</span> <span style="color: #339933;">||</span> getClass<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!=</span> o.<span style="color: #006633;">getClass</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000066; font-weight: bold;">false</span><span style="color: #339933;">;</span>
 Person person <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>Person<span style="color: #009900;">&#41;</span> o<span style="color: #339933;">;</span>
 <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>firstName <span style="color: #339933;">!=</span> <span style="color: #000066; font-weight: bold;">null</span> <span style="color: #339933;">?</span> <span style="color: #339933;">!</span>firstName.<span style="color: #006633;">equals</span><span style="color: #009900;">&#40;</span>person.<span style="color: #006633;">firstName</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> person.<span style="color: #006633;">firstName</span> <span style="color: #339933;">!=</span> <span style="color: #000066; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000066; font-weight: bold;">false</span><span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>lastName <span style="color: #339933;">!=</span> <span style="color: #000066; font-weight: bold;">null</span> <span style="color: #339933;">?</span> <span style="color: #339933;">!</span>lastName.<span style="color: #006633;">equals</span><span style="color: #009900;">&#40;</span>person.<span style="color: #006633;">lastName</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> person.<span style="color: #006633;">lastName</span> <span style="color: #339933;">!=</span> <span style="color: #000066; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000066; font-weight: bold;">false</span><span style="color: #339933;">;</span>
 <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000066; font-weight: bold;">true</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
 <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">int</span> hashCode<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000066; font-weight: bold;">int</span> result<span style="color: #339933;">;</span>
  result <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>firstName <span style="color: #339933;">!=</span> <span style="color: #000066; font-weight: bold;">null</span> <span style="color: #339933;">?</span> firstName.<span style="color: #006633;">hashCode</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  result <span style="color: #339933;">=</span> <span style="color: #cc66cc;">31</span> <span style="color: #339933;">*</span> result <span style="color: #339933;">+</span> <span style="color: #009900;">&#40;</span>lastName <span style="color: #339933;">!=</span> <span style="color: #000066; font-weight: bold;">null</span> <span style="color: #339933;">?</span> lastName.<span style="color: #006633;">hashCode</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">return</span> result<span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
 <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #003399;">String</span> toString<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #0000ff;">&quot;Person{&quot;</span> <span style="color: #339933;">+</span>
  <span style="color: #0000ff;">&quot;id=&quot;</span> <span style="color: #339933;">+</span> id <span style="color: #339933;">+</span>
  <span style="color: #0000ff;">&quot;, firstName='&quot;</span> <span style="color: #339933;">+</span> firstName <span style="color: #339933;">+</span> <span style="color: #0000ff;">''</span><span style="color: #0000ff;">' +
  &quot;, lastName='</span><span style="color: #0000ff;">&quot; + lastName + ''' +
  '}';
  }
  }</span></pre></div></div>

<p><strong>execute</strong> mvn appfuse:gen -Dentity=Person</p>
<p><strong>add</strong> the PersonDao:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">package</span> <span style="color: #006699;">org.appfuse.tutorial.dao</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.util.List</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.appfuse.tutorial.model.Person</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">/**
  * @author mraible
  *
  public interface PersonDao extends GenericDao&amp;lt;Person, Long&amp;gt; {
  public List&amp;lt;Person&amp;gt; findByLastName(String lastName);
  }</span></pre></div></div>

<p>add personDaoHibernate:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">package</span> <span style="color: #006699;">org.appfuse.tutorial.dao.hibernate</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.util.List</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.appfuse.tutorial.dao.PersonDao</span><span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.appfuse.tutorial.model.Person</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> PersonDaoHibernate <span style="color: #000000; font-weight: bold;">extends</span> GenericDaoHibernate<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>Person, Long<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">implements</span> PersonDao <span style="color: #009900;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">public</span> PersonDaoHibernate<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">super</span><span style="color: #009900;">&#40;</span>Person.<span style="color: #000000; font-weight: bold;">class</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
 <span style="color: #000000; font-weight: bold;">public</span> List<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>Person<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span> findByLastName<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> lastName<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">return</span> getHibernateTemplate<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">find</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;from Person where lastName=?&quot;</span>, lastName<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span></pre></div></div>

<p>add the PersonManager interface and class:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">package</span> <span style="color: #006699;">org.appfuse.tutorial.service</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.util.List</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">javax.jws.WebService</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.appfuse.tutorial.model.Person</span><span style="color: #339933;">;</span>
@WebService
  <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">interface</span> PersonManager <span style="color: #000000; font-weight: bold;">extends</span> GenericManager<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>Person, Long<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">public</span> Person findByLastName<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> lastName<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">package</span> <span style="color: #006699;">org.appfuse.tutorial.service.impl</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.util.List</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">javax.jws.WebService</span><span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">javax.ws.rs.GET</span><span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">javax.ws.rs.Path</span><span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">javax.ws.rs.PathParam</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.appfuse.tutorial.dao.PersonDao</span><span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.appfuse.tutorial.model.Person</span><span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.appfuse.tutorial.service.PersonManager</span><span style="color: #339933;">;</span>
@WebService<span style="color: #009900;">&#40;</span>serviceName <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;PersonService&quot;</span>, endpointInterface <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;org.appfuse.tutorial.service.PersonManager&quot;</span><span style="color: #009900;">&#41;</span>
  @Path<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/personservice/&quot;</span><span style="color: #009900;">&#41;</span>
  <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> PersonManagerImpl <span style="color: #000000; font-weight: bold;">extends</span> GenericManagerImpl<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>Person, Long<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">implements</span> PersonManager <span style="color: #009900;">&#123;</span>
  PersonDao personDao<span style="color: #339933;">;</span>
 <span style="color: #000000; font-weight: bold;">public</span> PersonManagerImpl<span style="color: #009900;">&#40;</span>PersonDao personDao<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">super</span><span style="color: #009900;">&#40;</span>personDao<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">this</span>.<span style="color: #006633;">personDao</span> <span style="color: #339933;">=</span> personDao<span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  @GET
  @Path<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/person/{lastName}&quot;</span><span style="color: #009900;">&#41;</span>
  <span style="color: #000000; font-weight: bold;">public</span> List<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>Person<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span> findByLastName<span style="color: #009900;">&#40;</span>@PathParam<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;lastName&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #003399;">String</span> lastName<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">return</span> personDao.<span style="color: #006633;">findByLastName</span><span style="color: #009900;">&#40;</span>lastName<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span></pre></div></div>

<p>add the Dao to applicationContext-Dao.xml and the Manager to dispatcher-servlet.xml and <strong>delete</strong> the genericManager which was created automatically:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>bean id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;personDao&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;org.appfuse.tutorial.dao.hibernate.PersonDaoHibernate&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
  	<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>property name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;sessionFactory&quot;</span> ref<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;sessionFactory&quot;</span><span style="color: #339933;">/&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;/</span>bean<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>bean id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;personManager&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;org.appfuse.tutorial.service.impl.PersonManagerImpl&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
  	<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>constructor<span style="color: #339933;">-</span>arg ref<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;personDao&quot;</span><span style="color: #339933;">/&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;/</span>bean<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span></pre></div></div>

<p>register your webservice at cxf-servlet.xml, i have not figured out how to avaid registering every endpoint:</p>
<p>add <strong>jsr311-api-0.8.jar </strong>to the eclipse project classpath.</p>
<p><strong>execute</strong>:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mvn jetty:run</pre></div></div>

<p>to see if it &#8220;compiles&#8221;</p>
<p>try it by calling: http://127.0.0.1:8080/services/PersonService/personservice/person/somelastNameValueFromTheDatabase</p>
<p>in Return you should get this:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;UTF-8&quot;</span> <span style="color: #000066;">standalone</span>=<span style="color: #ff0000;">&quot;yes&quot;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Person<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;firstName<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>sdf<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/firstName<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;id<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>-3<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/id<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;lastName<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>somelastNameValueFromTheDatabase<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/lastName<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Person<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<h1><span style="color:#ff0000;"><a href="http://srvu.de/snackycracky/rest.mov" target="_blank">SCREENCAST GETTING THIS DONE / video tutorial</a></span></h1>
</pre>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d276').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d276" 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%2F22%2Frest-soap-for-cxfapache-appfuse%2F&amp;submitHeadline=REST+%2B+SOAP+for+cxf.apache+%40+appfuse&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%2F22%2Frest-soap-for-cxfapache-appfuse%2F&amp;title=REST+%2B+SOAP+for+cxf.apache+%40+appfuse" 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%2F22%2Frest-soap-for-cxfapache-appfuse%2F&amp;title=REST+%2B+SOAP+for+cxf.apache+%40+appfuse" 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%2F22%2Frest-soap-for-cxfapache-appfuse%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%2F22%2Frest-soap-for-cxfapache-appfuse%2F&amp;title=REST+%2B+SOAP+for+cxf.apache+%40+appfuse" 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%2F22%2Frest-soap-for-cxfapache-appfuse%2F&amp;bm_description=REST+%2B+SOAP+for+cxf.apache+%40+appfuse" 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%2F22%2Frest-soap-for-cxfapache-appfuse%2F&amp;T=REST+%2B+SOAP+for+cxf.apache+%40+appfuse" 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%2F22%2Frest-soap-for-cxfapache-appfuse%2F&amp;title=REST+%2B+SOAP+for+cxf.apache+%40+appfuse" 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%2F22%2Frest-soap-for-cxfapache-appfuse%2F&amp;title=REST+%2B+SOAP+for+cxf.apache+%40+appfuse" 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%2F22%2Frest-soap-for-cxfapache-appfuse%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%2F22%2Frest-soap-for-cxfapache-appfuse%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+REST+%2B+SOAP+for+cxf.apache+%40+appfuse+@+http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F22%2Frest-soap-for-cxfapache-appfuse%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%2F22%2Frest-soap-for-cxfapache-appfuse%2F&amp;t=REST+%2B+SOAP+for+cxf.apache+%40+appfuse" 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.d276').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.d276').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://blog.srvme.de/2009/01/22/rest-soap-for-cxfapache-appfuse/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
<enclosure url="http://srvu.de/snackycracky/rest.mov" length="239481225" type="video/quicktime" />
		</item>
		<item>
		<title>fedora install tutorial on a xen vps minimal installation</title>
		<link>http://blog.srvme.de/2009/01/19/setting-up-my-new-vserver/</link>
		<comments>http://blog.srvme.de/2009/01/19/setting-up-my-new-vserver/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 12:31:07 +0000</pubDate>
		<dc:creator>nils</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[X]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[.htpasswd]]></category>
		<category><![CDATA[acl]]></category>
		<category><![CDATA[asynchrounous]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[bashrc]]></category>
		<category><![CDATA[decrypt]]></category>
		<category><![CDATA[echo new line]]></category>
		<category><![CDATA[encrypt]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[gnupg]]></category>
		<category><![CDATA[gpg]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[linux tutorial]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[private]]></category>
		<category><![CDATA[rsa]]></category>
		<category><![CDATA[secure]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[sudo]]></category>
		<category><![CDATA[trac]]></category>
		<category><![CDATA[tunnel]]></category>
		<category><![CDATA[vimrc]]></category>
		<category><![CDATA[virtual]]></category>
		<category><![CDATA[vncserver]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[xstartup]]></category>

		<guid isPermaLink="false">http://snackycracky.wordpress.com/?p=232</guid>
		<description><![CDATA[in my eyes i got a good and cheap vps from ispone-business.de; the xl package there. when everything turns out ok with that company than i am adding 512 Mb RAM for 60 Euro once to have one gig of RAM. i choosed fedora 9 for the os. so here is what i did: first [...]]]></description>
			<content:encoded><![CDATA[<p>in my eyes i got a good and cheap vps from ispone-business.de; the xl package there.  when everything turns out ok with that company than i am adding 512 Mb RAM for 60 Euro once to have one gig of RAM. i choosed <strong>fedora 9</strong> for the os.  so here is what i did:  first root login:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>adduser username
passwd username
echo 'username ALL=(ALL) ALL' &gt;&gt; /etc/sudoers #allowes user to <strong>use sudo</strong>
su username
echo 'export PATH=$PATH:/sbin' &gt;&gt; ~/.bashrc #<strong>adding /sbin to my path</strong>
echo -e 'syntax on\nset number' &gt; ~/.vimrc #this <strong>enables syntax and line numbers for vim</strong></pre>
</ul>
<p>exit out of the system for an easy login with</p>
<h2>asynchrounous key authentication</h2>
<p>from the local machine:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>ssh-keygen -t rsa
ssh username@remote-host mkdir -p .ssh
cat ~/.ssh/id_rsa.pub | ssh username@remote-host 'cat &gt;&gt; .ssh/authorized_keys2'</pre>
</ul>
<p>i had to change permissions on the remote machine for the .ssh dir like this:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>chmod 700 ~/.ssh &amp;&amp; chmod 640 ~/.ssh/authorized_keys2</pre>
</ul>
<p>the last thing i did was to <strong>change the port of ssh</strong> to something other than 22. Edit the</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>/etc/ssh/sshd_config</pre>
</ul>
<p>and uncomment port, also set the port to something else at the top of the file. Next change the</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>/etc/sysconfig/iptables</pre>
</ul>
<p>content to ACCEPT the same port (the line with -dport 22). Afterwards restart both with</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>sudo service iptables condrestart &amp;&amp; sudo service sshd restart</pre>
</ul>
<h2>install X and Gnome for vnc:</h2>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>sudo yum groupinstall "X Window System" "GNOME Desktop Environment" &amp;&amp; sudo yum install vnc-server</pre>
</ul>
<p>IMPORTANT: disable the NetworkManager on runlevel 3 :</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>sudo chkconfig --level 3 NetworkManager off</pre>
</ul>
<p>or otherwise the NetworkManager shuts down the network interface while restarting because i am on a fixed network. Read <a href="http://fedoraproject.org/wiki/Tools/NetworkManager#NetworkManager" target="_blank">this</a> for more information. Optional you can restart the vps for testing.</p>
<p>Start and stop the vncserver once so it creates a .vnc dir with the xstartup file. Start it by just typing</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>vncserver &amp;&amp; vncserver -kill :1</pre>
</ul>
<p>the :1 stands for Display number one, the port for this display is 5901. The :1 and the last number of 5901 change synchronously.</p>
<p>i wanted <strong>gnome</strong> to be my <strong>desktop layout</strong>. If you want that too edit the</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>~/.vnc/xstartup</pre>
</ul>
<p>file and replace</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>twm &amp;</pre>
</ul>
<p>by</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>exec gnome-session &amp;</pre>
</ul>
<p>edit</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>/etc/sysconfig/vncservers
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 1223px; width: 1px; height: 1px;">20  VNCSERVERS="1:nilsen31 2:robert31 3:partyplan"</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 1223px; width: 1px; height: 1px;">21  VNCSERVERARGS[1]="-geometry 1280x700 -nolisten tcp -nohttpd -localhost "22  VNCSERVERARGS[2]="-geometry 1280x800 -nolisten tcp -nohttpd -localhost "</div>
</pre>
</ul>
<p>and uncomment the last two lines. this enables some security settings: prevent http connctions and just allows tunnels.</p>
<p>Change the username and display number for your needs and set the geometry settings accordingly. The array index of the</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>VNCSERVERARGS[x]</pre>
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;">VNCSERVERS="1:someuser1 2:someuser2 3:someuser3"
VNCSERVERARGS[1]="-geometry 1280x700 -nolisten tcp -nohttpd -localhost "
VNCSERVERARGS[2]="-geometry 1280x800 -nolisten tcp -nohttpd -localhost "
...</pre>
</ul>
<p>stands for the display number, so change it accordingly.</p>
<p>turn the vncserver it on with:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>sudo chkconfig vncserver on</pre>
</ul>
<p>i recommend <strong>a </strong><strong>secure connection to your remote display</strong>. This is done by building a tunnel under the ssh connection.</p>
<p>Here is the quote from the ssh manual pages for the -L option:  &#8220;Specifies that the given port on the local (client) host is to be  forwarded to the given host and port on the remote side.&#8221; doing this looks like this</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>ssh -L 5901:localhost:5901 user@remote-host</pre>
</ul>
<p>the number before and after the hostname stands for the incoming and outgoing port. The best vnc viewer for osx is, and i tried like five of them, &#8220;chicken of the vnc&#8221;. Be sure to open the port 5901 in the iptables config file. Connect to localhost on Display 1 in the program.    at my local machine i made a file called remote.sh which lets me <strong>connect quickly to the remote machine</strong> by executing it.</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>echo '#!/bin/bash' &gt; remote.sh &amp;&amp; echo 'ssh -L 5901:localhost:5901 user@remote-host -p port-number' &gt;&gt; remote.sh &amp;&amp; chmod 700 remote.sh</pre>
</ul>
<p>now i just have to type ~/rem, tab(for autocompletion) and return to get in.</p>
<h2>install java &amp; Co</h2>
<p>install c/c++ first:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>sudo yum install compat-gcc-34 compat-gcc-34-c++ libstdc++.so.5</pre>
</ul>
<p>go to the /tmp dir and wget something from http://java.sun.com/javase/downloads/index.jsp</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>cd /tmp
chmod u+x downloadedFile.bin #so it can be executed
./downloadedFile.bin #execute the file
echo -e 'export JAVA_HOME=/usr/local/java/jdk\nexport PATH=$PATH:$JAVA_HOME/bin' &gt;&gt; ~/.bashrc #set JAVA_HOME and add it to your PATH
bash #get a new instance of the shell
java -version #check if it works.</pre>
</ul>
<h3>install maven2</h3>
<p>wget maven2 from <a href="http://maven.apache.org/download.html" target="_blank">here </a></p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>tar xjvf apache-maven-2.0.9-bin.tar.bz2 #extract the archive</pre>
</ul>
<p>move the extracted folder to /usr/local/java/maven2</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>echo -e 'export MAVEN_HOME=/usr/local/java/maven2/\nexport PATH=$PATH:$MAVEN_HOME/bin' &gt;&gt; ~/.bashrc
bash #get a new instance of the bash
mvn -version #check if it works.</pre>
</ul>
<h2>apache &amp; mysql</h2>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>sudo yum install mysql mysql-server mysql-devel phpMyAdmin
sudo chgrp -R mysql /var/lib/mysql  &amp;&amp; sudo chmod -R 770 /var/lib/mysql
sudo service mysqld start &amp;&amp; sudo chkconfig mysqld on
mysqladmin -u root password changeme #set the root password
sudo service httpd start &amp;&amp; sudo chkconfig httpd on
chkconfig --list | grep "mysqld\|httpd" #just testing</pre>
</ul>
<p>add the ports 80 and 443 to /etc/sysconfig/iptables</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;">-A INPUT -p tcp --dport 80 -j ACCEPT
-A INPUT -p tcp --dport 443 -j ACCEPT
<span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, fantasy;line-height:19px;white-space:normal;font-size:13px;">
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;">sudo service iptables condrestart</pre>
<p></span></pre>
</ul>
<p>edit  /etc/httpd/conf.d/phpMyAdmin.conf for access only on 127.0.0.1 and https.</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>RewriteEngine on
RewriteCond   %{SERVER_PORT}  !^443$
RewriteRule ^/phpMyAdmin(.*)$ https://%{HTTP_HOST}/phpMyAdmin$1 [L,R]

Alias /phpMyAdmin /usr/share/phpMyAdmin
&lt;Directory /usr/share/phpMyAdmin/&gt;
       order deny,allow
       deny from all
       allow from 127.0.0.1
&lt;/Directory&gt;
# This directory does not require access over HTTP - taken from the original
# phpMyAdmin upstream tarball
&lt;Directory /usr/share/phpMyAdmin/libraries&gt;
       Order Deny,Allow
       Deny from All
       Allow from None
&lt;/Directory&gt;</pre>
</ul>
<p>for later backup put the password for mysqldump in ~/.my.cnf<br />
the content should look like this:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>[mysqldump]
password = cleartextpwd</pre>
</ul>
<p>afterwards set the acl to 700</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>chmod 700 ~/.my.cnf</pre>
</ul>
<h2><span style="font-weight: normal; font-size: 13px; "></p>
<h2 style="font-size: 1.5em; "><span style="font-weight: normal; font-size: 13px; "></p>
<h2 style="font-size: 1.5em; ">configure sendmail for authentication on an external smtp server</h2>
<p>add the following line to /etc/mail/access</p>
<h2 style="font-size: 1.5em; "><span style="font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-weight: normal; line-height: normal; font-size: 11px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "></p>
<pre class="alt2" style="background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: #edeff1; color: #000000; border-top-color: #ffffff; border-left-color: #ffffff; width: 640px; height: 34px; text-align: left; overflow-x: auto; overflow-y: auto; background-position: initial initial; padding: 6px; margin: 0px; border: 1px inset initial;" dir="ltr">Authinfo:smtp.server.com "U:username" "P:password"</pre>
<p></span></h2>
<p>then run<br />
<span style="font-family: Consolas, Monaco, 'Courier New', Courier, monospace; font-weight: normal; line-height: 18px; font-size: 12px; white-space: pre; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">makemap hash /etc/mail/access.db &lt; /etc/mail/access</span></p>
<h2 style="font-size: 1.5em; ">version control with subversion and trac</h2>
<p></span></h2>
<p></span></h2>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>sudo yum install subversion trac mod_dav_svn mod_ssl mod_python
mkdir /var/svn &amp;&amp; cd /var/svn
svnadmin create repository</pre>
</ul>
<p>edit the new file /etc/httpd/conf.d/subversion.conf and put this content in it:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>&lt;Location /repos&gt;
       DAV svn
       SVNParentPath /var/svn
       # Limit write permission to list of valid users.
       AuthType Basic
       AuthName "Subversion Authorization Realm"
       AuthzSVNAccessFile /var/svn/svn.acl
       AuthUserFile /var/svn/.htpasswd
       Require valid-user
       #only SSL
       SSLRequireSSL
&lt;/Location&gt;</pre>
</ul>
<p>generate the htpasswd file now:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>htpasswd -cb /var/svn/.htpasswd username password &amp;&amp; chmod 700 /var/svn/.htpasswd</pre>
</ul>
<p>add the svn.acl file so you have access to every repository:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>echo -e '[/]\nusername =  rw' &gt; /var/svn/svn.acl &amp;&amp; chmod 700 /var/svn/svn.acl</pre>
</ul>
<p>i added a view only user to the .htpasswd and acl as well:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>htpasswd -b /var/svn/.htpasswd view only #without -c (create flag)
echo -e '[repository:/]\nview =  r' &gt;&gt; /var/svn/svn.acl # &gt;&gt; = append to file
chown -R apache.apache /var/svn</pre>
</ul>
<h3>trac:</h3>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>trac-admin /var/trac/repository initenv</pre>
</ul>
<p>edit /etc/httpd/conf.d/trac.conf like this:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>&lt;Location /trac &gt;
        SetHandler mod_python
        PythonInterpreter main_interpreter
        PythonHandler trac.web.modpython_frontend
        PythonOption TracEnvParentDir /var/trac
        PythonOption TracUriRoot /trac
&lt;/Location&gt;
&lt;LocationMatch "/trac/[^/]+/login"&gt;
<span style="white-space:pre;">	</span>AuthType Basic
<span style="white-space:pre;">	</span>AuthName "Trac"
<span style="white-space:pre;">	</span>AuthUserFile /var/svn/.htpasswd
<span style="white-space:pre;">	</span>SSLRequireSSL
<span style="white-space:pre;">	</span>Require valid-user
&lt;/LocationMatch&gt;</pre>
</ul>
<h2>backup &amp; security</h2>
<h3>get the latest packages</h3>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>yum install yum-updatesd
service yum-updatesd start
chkconfig yum-updatesd on</pre>
</ul>
<h3>encrypted sql dumps by cron</h3>
<p>on the local machine (osx) download <a href="http://sourceforge.net/project/showfiles.php?group_id=248469&amp;package_id=303406&amp;release_id=653421" target="_blank">gnupg2</a><br />
and install it. then go to the command line and type:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>gpg2 --gen-key</pre>
</ul>
<p>transfer the public key to the remote machine:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>cat ~/.gnupg/pubring.gpg | ssh username@remote-host 'cat &gt;&gt; ~/uidpubring.gpg'</pre>
</ul>
<p>on the remote machine:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>yum install gnupg2
gpg2 --import ~/uidpubring.gpg
gpg2 --edit-key uid #uid is the username on your local machine.</pre>
</ul>
<p>in the dialog type &#8220;trust&#8221; and select &#8220;(5) ultimate&#8221;<br />
now you can encrypt files like this:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>gpg2 -r uid --encrypt confidental.zip</pre>
</ul>
<p>decrypt it with this command:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>gpg2 --decrypt confidental.zip.gpg &gt; crypto.zip #this works only with the secring.gpg</pre>
</ul>
<p>now the script for mysql:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>#!/bin/bash

DATE=`date -d yesterday +%Y%m%d%H%M%S`
BAKPATH='/home/username/Documents/Backup/local/sql/'
nice -n 19 mysqldump -u dbUser -a -e --add-drop-table databasename | nice -n 19 gzip -c -9 &gt;  ${BAKPATH}.datenbank_sqldump-${DATE}.gz_INPROGRESS
mv -f ${BAKPATH}.datenbank_sqldump-${DATE}.gz_INPROGRESS ${BAKPATH}datenbank_sqldump-${DATE}.gz
gpg2 -r uid --encrypt ${BAKPATH}datenbank_sqldump-${DATE}.gz
rm -f ${BAKPATH}datenbank_sqldump-${DATE}.gz</pre>
</ul>
<p>notice that i didn&#8217;t have to provide a password because of the ~/.my.cnf. i also added this to my cronjobs</p>
<p>enter the preferred command at</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>crontab -e</pre>
</ul>
<p>before the command put the time to execute. check the crontab man for the syntax.<br />
the secring.gpg is very important only with this and the passphrase you can decrypt the backup.<br />
if you loose it you can reimport it like this:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>gpg2 --import Desktop/secring.gpg</pre>
</ul>
<h3>the whole machine with rsync</h3>
<p>the next command will backup the whole root partition. notice the p1122 for a different ssh port.</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>rsync <span>--verbose</span> -e ssh --rsh='ssh -p1122' --exclude "/sys" --exclude "/dev"
--exclude "/proc" --recursive <span>--progress --times --perms --links </span>
username@remote-host:/ /Volumes/DOS/bak/remote-host/</pre>
</ul>
<p>to restore the backup just flip the remote and local directorys,</p>
<p>for example here i restore the complete www directory from my external hdd to the remote machine:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre> rsync <span>--verbose</span> -e ssh --rsh='ssh -p1122'  --recursive <span>--progress --times
--perms --links </span> /Volumes/DOS/bak/remote-host/var/www username@remote-host:/var/</pre>
</ul>
<p>i also added this to my cronjobs</p>
<p>enter the preferred command at</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>crontab -e</pre>
</ul>
<p>before the command put the time to execute. check the crontab man for the syntax.</p>
<h2>references</h2>
<ul>
<li>ssh rsa authentication: http://linuxproblem.org/art_9.html</li>
<li>vnc http://tokyoahead.com/main/multifaq/index.php/65 http://ulyssesonline.com/2006/02/26/vncserver-on-</li>
<li>fedora-core-4/ echo http://www.unix.com/shell-programming-scripting/56666-new-line-</li>
<li>echo.html#post302271726  java: http://www.mjmwired.net/resources/mjm-fedora-f9.html#java</li>
<li>maven: http://beans.seartipy.com/2008/10/05/installing-sun-java-se-6-maven-2-and-tomcat-55-on-fedora-</li>
<li>htpasswd: http://linux.die.net/man/1/htpasswd</li>
<li>sql: http://www.vbulletin-germany.com/forum/showthread.php?t=17548</li>
</ul>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d232').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d232" 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%2F19%2Fsetting-up-my-new-vserver%2F&amp;submitHeadline=fedora+install+tutorial+on+a+xen+vps+minimal+installation&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%2F19%2Fsetting-up-my-new-vserver%2F&amp;title=fedora+install+tutorial+on+a+xen+vps+minimal+installation" 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%2F19%2Fsetting-up-my-new-vserver%2F&amp;title=fedora+install+tutorial+on+a+xen+vps+minimal+installation" 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%2F19%2Fsetting-up-my-new-vserver%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%2F19%2Fsetting-up-my-new-vserver%2F&amp;title=fedora+install+tutorial+on+a+xen+vps+minimal+installation" 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%2F19%2Fsetting-up-my-new-vserver%2F&amp;bm_description=fedora+install+tutorial+on+a+xen+vps+minimal+installation" 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%2F19%2Fsetting-up-my-new-vserver%2F&amp;T=fedora+install+tutorial+on+a+xen+vps+minimal+installation" 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%2F19%2Fsetting-up-my-new-vserver%2F&amp;title=fedora+install+tutorial+on+a+xen+vps+minimal+installation" 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%2F19%2Fsetting-up-my-new-vserver%2F&amp;title=fedora+install+tutorial+on+a+xen+vps+minimal+installation" 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%2F19%2Fsetting-up-my-new-vserver%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%2F19%2Fsetting-up-my-new-vserver%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+fedora+install+tutorial+on+a+xen+vps+minimal+installation+@+http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F19%2Fsetting-up-my-new-vserver%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%2F19%2Fsetting-up-my-new-vserver%2F&amp;t=fedora+install+tutorial+on+a+xen+vps+minimal+installation" 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.d232').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.d232').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://blog.srvme.de/2009/01/19/setting-up-my-new-vserver/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>jetty remote debugging with maven for appfuse in eclipse</title>
		<link>http://blog.srvme.de/2009/01/12/jetty-remote-debugging-with-maven-for-appfuse-in-eclipse/</link>
		<comments>http://blog.srvme.de/2009/01/12/jetty-remote-debugging-with-maven-for-appfuse-in-eclipse/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 23:01:35 +0000</pubDate>
		<dc:creator>nils</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[AppFuse]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[jetty]]></category>
		<category><![CDATA[maven]]></category>

		<guid isPermaLink="false">http://snackycracky.wordpress.com/?p=216</guid>
		<description><![CDATA[the tutorial here was just right. i am able to start jetty from eclipse by executing a &#8220;external tools config&#8221; described there. maven then printed:  Listening for transport dt_socket at address: 4000 now i had to start the new &#8220;debug config&#8221; and the server began to come up. when i came to my breakpoint the eclipse [...]]]></description>
			<content:encoded><![CDATA[<p>the tutorial <a href="http://docs.codehaus.org/display/JETTY/Debugging+with+the+Maven+Jetty+Plugin+inside+Eclipse" target="_blank">here</a> was just right. i am able to start jetty from eclipse by executing a &#8220;external tools config&#8221; described there.<br />
maven then printed: </p>
<pre>Listening for transport dt_socket at address: 4000</pre>
<p>now i had to start the new &#8220;debug config&#8221; and the server began to come up.</p>
<p>when i came to my breakpoint the eclipse view changed to debug mode.</p>
<p> </p>
<p>i got pointed to the tutorial form mojavelinux.com before <a href="http://www.mojavelinux.com/blog/archives/2007/03/remote_debugging_with_jetty/" target="_blank">here</a></p>
<p>it was told that i had to change the pom.xml file but i didn&#8217;t need to.</p>
<p>the post  was pretty interesting for understanding on how it behaves.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d216').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d216" 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%2F12%2Fjetty-remote-debugging-with-maven-for-appfuse-in-eclipse%2F&amp;submitHeadline=jetty+remote+debugging+with+maven+for+appfuse+in+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%2F2009%2F01%2F12%2Fjetty-remote-debugging-with-maven-for-appfuse-in-eclipse%2F&amp;title=jetty+remote+debugging+with+maven+for+appfuse+in+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%2F2009%2F01%2F12%2Fjetty-remote-debugging-with-maven-for-appfuse-in-eclipse%2F&amp;title=jetty+remote+debugging+with+maven+for+appfuse+in+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%2F2009%2F01%2F12%2Fjetty-remote-debugging-with-maven-for-appfuse-in-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%2F2009%2F01%2F12%2Fjetty-remote-debugging-with-maven-for-appfuse-in-eclipse%2F&amp;title=jetty+remote+debugging+with+maven+for+appfuse+in+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%2F2009%2F01%2F12%2Fjetty-remote-debugging-with-maven-for-appfuse-in-eclipse%2F&amp;bm_description=jetty+remote+debugging+with+maven+for+appfuse+in+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%2F2009%2F01%2F12%2Fjetty-remote-debugging-with-maven-for-appfuse-in-eclipse%2F&amp;T=jetty+remote+debugging+with+maven+for+appfuse+in+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%2F2009%2F01%2F12%2Fjetty-remote-debugging-with-maven-for-appfuse-in-eclipse%2F&amp;title=jetty+remote+debugging+with+maven+for+appfuse+in+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%2F2009%2F01%2F12%2Fjetty-remote-debugging-with-maven-for-appfuse-in-eclipse%2F&amp;title=jetty+remote+debugging+with+maven+for+appfuse+in+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%2F2009%2F01%2F12%2Fjetty-remote-debugging-with-maven-for-appfuse-in-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%2F2009%2F01%2F12%2Fjetty-remote-debugging-with-maven-for-appfuse-in-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+jetty+remote+debugging+with+maven+for+appfuse+in+eclipse+@+http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F12%2Fjetty-remote-debugging-with-maven-for-appfuse-in-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%2F2009%2F01%2F12%2Fjetty-remote-debugging-with-maven-for-appfuse-in-eclipse%2F&amp;t=jetty+remote+debugging+with+maven+for+appfuse+in+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.d216').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.d216').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://blog.srvme.de/2009/01/12/jetty-remote-debugging-with-maven-for-appfuse-in-eclipse/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</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>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>
	</channel>
</rss>
