<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://united-coders.com"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>united-coders.com - tutorial</title>
 <link>http://united-coders.com/taxonomy/term/53/0</link>
 <description></description>
 <language>en</language>
<item>
 <title>Developing a simple SOAP-webservice using Spring 3.0.1 and Apache CXF 2.2.6</title>
 <link>http://united-coders.com/phillip-steffensen/developing-a-simple-soap-webservice-using-spring-301-and-apache-cxf-226</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;In the past few years many techniques have been developed to help applications interact with each other. One of them are webservice-interfaces. These interfaces are extremly popular in the world of Java software development. One Framework that can be used to build such interfaces is &lt;a href=&quot;http://cxf.apache.org&quot;&gt;Apache CXF&lt;/a&gt;. Apache CXF delivers a toolset to develop interfaces using different protocols like XML/HTTP, RESTful HTTP, Corba and SOAP. In this article i&#039;d like to show how easy it could be to develop a simple SOAP-webservice based on Apache CXF 2.2.6 and the &lt;a href=&quot;http://www.springsource.org/download&quot;&gt;Spring Framework 3.0.1&lt;/a&gt;. You can &lt;a href=&quot;http://united-coders.com/sites/default/files/united-coders.com-CXFExample.tar_.bz2&quot; title=&quot;Download the full example&quot;&gt;download&lt;/a&gt; the full example at the bottom of this article.&lt;/p&gt;
&lt;p&gt;&lt;span class=&quot;read-more&quot;&gt;&lt;a href=&quot;/phillip-steffensen/developing-a-simple-soap-webservice-using-spring-301-and-apache-cxf-226&quot;&gt;&lt;strong&gt;Read more&lt;/strong&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;!--
&lt;rdf:RDF xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:trackback=&quot;http://madskills.com/public/xml/rss/module/trackback/&quot;&gt;
&lt;rdf:Description rdf:about=&quot;http://united-coders.com/phillip-steffensen/developing-a-simple-soap-webservice-using-spring-301-and-apache-cxf-226&quot; dc:identifier=&quot;http://united-coders.com/phillip-steffensen/developing-a-simple-soap-webservice-using-spring-301-and-apache-cxf-226&quot; dc:title=&quot;Developing a simple SOAP-webservice using Spring 3.0.1 and Apache CXF 2.2.6&quot; trackback:ping=&quot;http://united-coders.com/trackback/53&quot; /&gt;
&lt;/rdf:RDF&gt;
--&gt;
&lt;div class=&#039;sexybookmarks-default-1688&#039;&gt;&lt;/div&gt;</description>
 <comments>http://united-coders.com/phillip-steffensen/developing-a-simple-soap-webservice-using-spring-301-and-apache-cxf-226#comments</comments>
 <category domain="http://united-coders.com/category/tags/apache">Apache</category>
 <category domain="http://united-coders.com/category/tags/cxf">CXF</category>
 <category domain="http://united-coders.com/category/tags/framework">Framework</category>
 <category domain="http://united-coders.com/category/tags/java">java</category>
 <category domain="http://united-coders.com/category/tags/maven-2">Maven 2</category>
 <category domain="http://united-coders.com/category/tags/maven-plugins">Maven Plugins</category>
 <category domain="http://united-coders.com/category/tags/open-source">Open Source</category>
 <category domain="http://united-coders.com/category/tags/spring">Spring</category>
 <category domain="http://united-coders.com/category/tags/tomcat">Tomcat</category>
 <category domain="http://united-coders.com/category/tags/tutorial">tutorial</category>
 <category domain="http://united-coders.com/category/tags/webservices">Webservices</category>
 <enclosure url="http://united-coders.com/sites/default/files/united-coders.com-CXFExample.tar_.bz2" length="2588" type="application/octet-stream" />
 <pubDate>Sat, 27 Feb 2010 12:22:16 +0000</pubDate>
 <dc:creator>Phillip Steffensen</dc:creator>
 <guid isPermaLink="false">53 at http://united-coders.com</guid>
</item>
<item>
 <title>Number crunching with javascript - a tutorial</title>
 <link>http://united-coders.com/christian-harms/number-crunching-with-javascript-a-tutorial</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;This article will describe how to build a more complex javascript application. I chose to build a number cruncher for finding sociable numbers. There are many idle browser out there and the new Worker-thread object (available in modern browsers) offers the complete power of all cpu cores. In the first part I will describe how to inherit javascript objects with the optimization steps and discuss the usage of a profiler. The second part will improve the performance with using Web Worker in threads for greater computing power and how to handle it.&lt;/p&gt;
&lt;h1&gt;introduction&lt;/h1&gt;
&lt;p&gt;Did you heard of perfect numbers? No? A number is perfect if the number is equal to the sum all proper positive divisors. The old greek mathematics found the following examples (or try out the &lt;a href=&quot;/christian-harms/number-crunching-and-optimization-steps-with-javascript?page=0,2#demo&quot; title=&quot;Scroll down for the demo&quot;&gt;demo&lt;/a&gt;):&lt;/p&gt;
&lt;p&gt;The 6 has as positive divisors 1, 2 and 3 and the sum is 6.&lt;span class=&quot;read-more&quot;&gt;&lt;a href=&quot;/christian-harms/number-crunching-with-javascript-a-tutorial&quot;&gt;&lt;strong&gt;Read more&lt;/strong&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;!--
&lt;rdf:RDF xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:trackback=&quot;http://madskills.com/public/xml/rss/module/trackback/&quot;&gt;
&lt;rdf:Description rdf:about=&quot;http://united-coders.com/christian-harms/number-crunching-with-javascript-a-tutorial&quot; dc:identifier=&quot;http://united-coders.com/christian-harms/number-crunching-with-javascript-a-tutorial&quot; dc:title=&quot;Number crunching with javascript - a tutorial&quot; trackback:ping=&quot;http://united-coders.com/trackback/47&quot; /&gt;
&lt;/rdf:RDF&gt;
--&gt;
&lt;div class=&#039;sexybookmarks-default-2360&#039;&gt;&lt;/div&gt;</description>
 <comments>http://united-coders.com/christian-harms/number-crunching-with-javascript-a-tutorial#comments</comments>
 <category domain="http://united-coders.com/category/tags/javascript">javascript</category>
 <category domain="http://united-coders.com/category/tags/number-cruncher">number cruncher</category>
 <category domain="http://united-coders.com/category/tags/tutorial">tutorial</category>
 <category domain="http://united-coders.com/category/tags/worker">worker</category>
 <pubDate>Fri, 05 Feb 2010 00:01:39 +0000</pubDate>
 <dc:creator>Christian Harms</dc:creator>
 <guid isPermaLink="false">47 at http://united-coders.com</guid>
</item>
<item>
 <title>Tutorial for a IP to geolocation aggregator script</title>
 <link>http://united-coders.com/christian-harms/tutorial-for-a-ip-to-geolocation-aggregator-script</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;If you provide a restaurant guide it would be great to show  the next restaurant based on webpage visitors position or the local beer garden specials if its sunny weather? Or offer geo targeted ads on your page? And this could be offered without registration or connection to a social network? I will describe the api/implementation details and offer directly our free &lt;a href=&quot;http://united-coders.com/christian-harms/free-ip-location-script&quot;&gt;&quot;ip to geolocation aggregator&quot;&lt;/a&gt;-script.&lt;/p&gt;
&lt;p&gt;The first step is determining geo location based on Internet IP address of the visitor. I have found five free service providers which offer data based on the client-IP the geo position and city/country data. Classic &quot;ip to geolocation data offers&quot; are commercial. You have to buy and download a sql dump or csv file with ip ranges from isp with country and city data - some expanded with long/lat values. The second solution (and to save hosting space) is using a http api which offer theses data directly when being called - these looks like the preferred possibility. And the third way is to include a javascript which can integrate the geo position directly without need of a server component.&lt;span class=&quot;read-more&quot;&gt;&lt;a href=&quot;/christian-harms/tutorial-for-a-ip-to-geolocation-aggregator-script&quot;&gt;&lt;strong&gt;Read more&lt;/strong&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;!--
&lt;rdf:RDF xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:trackback=&quot;http://madskills.com/public/xml/rss/module/trackback/&quot;&gt;
&lt;rdf:Description rdf:about=&quot;http://united-coders.com/christian-harms/tutorial-for-a-ip-to-geolocation-aggregator-script&quot; dc:identifier=&quot;http://united-coders.com/christian-harms/tutorial-for-a-ip-to-geolocation-aggregator-script&quot; dc:title=&quot;Tutorial for a IP to geolocation aggregator script&quot; trackback:ping=&quot;http://united-coders.com/trackback/24&quot; /&gt;
&lt;/rdf:RDF&gt;
--&gt;
&lt;div class=&#039;sexybookmarks-default-9936&#039;&gt;&lt;/div&gt;</description>
 <comments>http://united-coders.com/christian-harms/tutorial-for-a-ip-to-geolocation-aggregator-script#comments</comments>
 <category domain="http://united-coders.com/category/tags/christian-harms">christian harms</category>
 <category domain="http://united-coders.com/category/tags/free-ip2location">free ip2location</category>
 <category domain="http://united-coders.com/category/tags/geo-location">geo location</category>
 <category domain="http://united-coders.com/category/tags/javascript">javascript</category>
 <category domain="http://united-coders.com/category/tags/php">php</category>
 <category domain="http://united-coders.com/category/tags/tutorial">tutorial</category>
 <pubDate>Wed, 01 Jul 2009 22:33:31 +0000</pubDate>
 <dc:creator>Christian Harms</dc:creator>
 <guid isPermaLink="false">24 at http://united-coders.com</guid>
</item>
<item>
 <title>Java persistence with Hibernate and Annotations</title>
 <link>http://united-coders.com/nico-heid/java-persistence-with-hibernate-and-annotations</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;&lt;a href=&quot;http://hibernate.org&quot;&gt;Hibernate&lt;/a&gt; is a well known object-relational mapping library (ORM) for Java. It allows you to map entries in your relational database to objects in your Java classes.&lt;br /&gt;
Usually this is done by a mapping file written in XML. As this approach is a bit more expensive we will use annotations to map a class to the relating database table.&lt;br /&gt;
Based on the &lt;a href=&quot;http://united-coders.com/phillip-steffensen/maven-2-part-1-setting-up-a-simple-apache-maven-2-project&quot;&gt;Maven tutorial by my colleague Phillip&lt;/a&gt;, we will begin with a quickstart archetype and include Hibernate and a MySQL connection. Then we will write a simple data access object (DAO) which maps to the database table we will create. After that we use a class to set up the connection and fill the database with some of our objects.&lt;/p&gt;
&lt;p&gt;Note: &lt;b&gt;This is just a superficial glance at Hibernate to get in touch with the framework.&lt;/b&gt;&lt;br /&gt;&lt;span class=&quot;read-more&quot;&gt;&lt;a href=&quot;/nico-heid/java-persistence-with-hibernate-and-annotations&quot;&gt;&lt;strong&gt;Read more&lt;/strong&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;!--
&lt;rdf:RDF xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:trackback=&quot;http://madskills.com/public/xml/rss/module/trackback/&quot;&gt;
&lt;rdf:Description rdf:about=&quot;http://united-coders.com/nico-heid/java-persistence-with-hibernate-and-annotations&quot; dc:identifier=&quot;http://united-coders.com/nico-heid/java-persistence-with-hibernate-and-annotations&quot; dc:title=&quot;Java persistence with Hibernate and Annotations&quot; trackback:ping=&quot;http://united-coders.com/trackback/22&quot; /&gt;
&lt;/rdf:RDF&gt;
--&gt;
&lt;div class=&#039;sexybookmarks-default-2124&#039;&gt;&lt;/div&gt;</description>
 <comments>http://united-coders.com/nico-heid/java-persistence-with-hibernate-and-annotations#comments</comments>
 <category domain="http://united-coders.com/category/tags/annotations">annotations</category>
 <category domain="http://united-coders.com/category/tags/hibernate">hibernate</category>
 <category domain="http://united-coders.com/category/tags/java">java</category>
 <category domain="http://united-coders.com/category/tags/maven">maven</category>
 <category domain="http://united-coders.com/category/tags/persistence">persistence</category>
 <category domain="http://united-coders.com/category/tags/tutorial">tutorial</category>
 <pubDate>Wed, 13 May 2009 19:54:04 +0000</pubDate>
 <dc:creator>Nico Heid</dc:creator>
 <guid isPermaLink="false">22 at http://united-coders.com</guid>
</item>
</channel>
</rss>


