<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Liyaqat Mugjenkar Online</title>
	<atom:link href="http://liyaqatm.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://liyaqatm.wordpress.com</link>
	<description>A Software Developer&#039;s Development</description>
	<lastBuildDate>Mon, 14 Nov 2011 20:11:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='liyaqatm.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Liyaqat Mugjenkar Online</title>
		<link>http://liyaqatm.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://liyaqatm.wordpress.com/osd.xml" title="Liyaqat Mugjenkar Online" />
	<atom:link rel='hub' href='http://liyaqatm.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Simple Website Creation for a Java Developer</title>
		<link>http://liyaqatm.wordpress.com/2011/11/14/simple-website-creation-for-a-java-developer/</link>
		<comments>http://liyaqatm.wordpress.com/2011/11/14/simple-website-creation-for-a-java-developer/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 20:05:07 +0000</pubDate>
		<dc:creator>Liyaqat</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Website]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://liyaqatm.wordpress.com/?p=99</guid>
		<description><![CDATA[Background I have been a Java Developer for about 4 years but never really created a very simple website and hosted it. During my work experience I have been involved in much more complex back end systems with front ends in ICEfaces or GWT. Need I have seen quite a few websites created in WordPress, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=liyaqatm.wordpress.com&amp;blog=8602088&amp;post=99&amp;subd=liyaqatm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h4>Background</h4>
<p>I have been a Java Developer for about 4 years but never really created a very simple website and hosted it. During my work experience I have been involved in much more complex back end systems with front ends in ICEfaces or GWT.</p>
<h4>Need</h4>
<p>I have seen quite a few websites created in WordPress, Joomla and Drupal. These technologies seem to be a good alternative in that we can do the following:</p>
<ol>
<li>Quickly create a website</li>
<li>Train relatively inexperienced users to add content</li>
<li>Sit back and let the &#8220;super user&#8221; add the content</li>
</ol>
<div>Point 2 is very important to me because when websites are created for small to medium sized companies they usually do not have the resources to hire another employee to add the content on a weekly basis. If an existing employee is trained with relative ease to handle this the company has a greater chance of adopting this website and actually using it.</div>
<div>As a Java Developer I still prefer doing everything in Java (yes I might seem old fashioned) and began looking at Spring Roo. I have just begun looking at it and will try to post some of my finding later.</div>
<h4>Creating a Website</h4>
<p>Before designing a website the following needs to be considered:</p>
<ol>
<li>Type of Website &#8211; Static or Dynamic (weekly / daily updates)</li>
<li>Budget &#8211; Yes this is very important, how much time will be spent on initial Setup and will there be a dedicated resource to update the site</li>
<li>Domain costs</li>
<li>Identify technology based on points 1 and 2, CMS type technologies like Joomla or Drupal can be good and bad</li>
<li>Hosting costs &#8211; Linux or Windows</li>
<li>Who is going to host the website &#8211; Shop around and find a good provider best suited to your technology</li>
<li>User training, if the user is going to be adding content or accessing reports</li>
<li>Maintenance and Support &#8211; Who will maintain this website</li>
</ol>
<div>These are some of the basic questions you need to ask yourself before commencing on the design. Websites have multiple purposes and based on that choose the best technology suited. If you simply wanted to show a page with contact information setting up a faces application running a Oracle Database on Weblogic would be a bit too much.</div>
<div>Please excuse me if I left anything out, feel free to add it as a comment.</div>
<div>In my next few posts I will speak about the traditional CMS like websites and perhaps set one up from start to finish and then try doing a similar thing using my old friend Java. I look forward to this journey.</div>
<div>Blog soon!</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/liyaqatm.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/liyaqatm.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/liyaqatm.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/liyaqatm.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/liyaqatm.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/liyaqatm.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/liyaqatm.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/liyaqatm.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/liyaqatm.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/liyaqatm.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/liyaqatm.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/liyaqatm.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/liyaqatm.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/liyaqatm.wordpress.com/99/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=liyaqatm.wordpress.com&amp;blog=8602088&amp;post=99&amp;subd=liyaqatm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://liyaqatm.wordpress.com/2011/11/14/simple-website-creation-for-a-java-developer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/efc2a0efdb53991b3e53c774e3888fa0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">liyaqatm</media:title>
		</media:content>
	</item>
		<item>
		<title>Unit Tests</title>
		<link>http://liyaqatm.wordpress.com/2010/10/14/unit-tests/</link>
		<comments>http://liyaqatm.wordpress.com/2010/10/14/unit-tests/#comments</comments>
		<pubDate>Thu, 14 Oct 2010 07:45:11 +0000</pubDate>
		<dc:creator>Liyaqat</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://liyaqatm.wordpress.com/?p=92</guid>
		<description><![CDATA[Introduction A while back I added an article on EasyMock and since then I have gained some more insight into Unit Tests. During this period the importance and benefits of unit tests have been highlighted to me in practice. A Senior Developer gave me two good phrases (actually they came from two Senior Developers) 1. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=liyaqatm.wordpress.com&amp;blog=8602088&amp;post=92&amp;subd=liyaqatm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Introduction</strong></p>
<p>A while back I added an article on EasyMock and since then I have gained some more insight into Unit Tests.</p>
<p>During this period the importance and benefits of unit tests have been highlighted to me in practice.</p>
<p>A Senior Developer gave me two good phrases (actually they came from two Senior Developers)</p>
<p>1. A good unit test is if one line of code is changed atleast one unit test fails.</p>
<p>2.  If your unit test becomes quite complicated, it is a sure sign that your method is too complicated.</p>
<p><strong>What are Unit Tests?</strong></p>
<p>During my graduate and post graduate studies the emphasis on testing, let alone unit testing was very minimal. In the working world at times this is also left out / reduced due to time / budgeting constraints.</p>
<p>To me a unit test is a test that tests one way the method could be executed.</p>
<p><strong>Benefits</strong></p>
<p>So we have a unit test (a method that tests our method) , this brings about two benefits:</p>
<p>1. Ensures method does what we expect it to do</p>
<p>2. Ensures that if we make changes to the method, it still does what we expect it to do. If it does not we have to fix it by either updating the method or the unit test itself to cater for the new requirement.<br />
<strong>Summary</strong></p>
<p>As a Java Developer, developing both the front end (using ICEfaces ) and back-end writing unit tests for these types vary. Back-end code usually requires the mocking of the database whilst front-end requires mocking of these business services. Yes they might seem a bit different but the aim is the same.</p>
<p>I would like to actually discuss more of the benefits as it has come to me in several ways over the past weeks after we began intensifying our campaign on increasing the amount of unit tests we write per method. In a modular section based team, where one group is responsible for the front-end, other back-end (could be split up) can cause the one team to wait on the other. Resulting in the possible loss of revenue, however if good unit tests are created per development team, the other can go on and be 90% sure their code is correct and reduce the time they need to go back and fix things as well as not be held up.</p>
<p>Ok that was just some of my points on Unit tests, will have some more, with Java examples soon.</p>
<p>Blog Soon!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/liyaqatm.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/liyaqatm.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/liyaqatm.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/liyaqatm.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/liyaqatm.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/liyaqatm.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/liyaqatm.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/liyaqatm.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/liyaqatm.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/liyaqatm.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/liyaqatm.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/liyaqatm.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/liyaqatm.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/liyaqatm.wordpress.com/92/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=liyaqatm.wordpress.com&amp;blog=8602088&amp;post=92&amp;subd=liyaqatm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://liyaqatm.wordpress.com/2010/10/14/unit-tests/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/efc2a0efdb53991b3e53c774e3888fa0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">liyaqatm</media:title>
		</media:content>
	</item>
		<item>
		<title>EasyMock &#8211; JUnit Tests</title>
		<link>http://liyaqatm.wordpress.com/2010/05/07/easymock-junit-tests/</link>
		<comments>http://liyaqatm.wordpress.com/2010/05/07/easymock-junit-tests/#comments</comments>
		<pubDate>Fri, 07 May 2010 13:54:36 +0000</pubDate>
		<dc:creator>Liyaqat</dc:creator>
				<category><![CDATA[Testing]]></category>

		<guid isPermaLink="false">http://liyaqatm.wordpress.com/?p=79</guid>
		<description><![CDATA[The aim of this article would be to provide myself with a documented version of my thoughts as I discover EasyMock. That would be the primary aim of this article. The secondary aim would be to provide anyone on this journey of discovery a view from someone who is just learning this technology. A key [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=liyaqatm.wordpress.com&amp;blog=8602088&amp;post=79&amp;subd=liyaqatm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The aim of this article would be to provide myself with a documented version of my thoughts as I discover EasyMock. That would be the primary aim of this article. The secondary aim would be to provide anyone on this journey of discovery a view from someone who is just learning this technology.</p>
<p>A key component to any piece of code is its corresponding unit test.  Let us start with my problem.</p>
<p><strong>The Problem</strong></p>
<p>I created a few tables using hibernate, this involved setting up the .hbm.xml mapping file as well as corresponding java classes. A unit test was created per table to confirm that each table can be accessed correctly. That is all fine, but the project I am currently on uses the Model View Controller (MVC) framework, this beautiful framework splits our design into the following:</p>
<p>1. Database</p>
<p>2. Business Logic</p>
<p>3. Front-End</p>
<p>Ok, we have completed the Database layer, now we dealing with the business logic. The main aim of the business logic would be to provide the front-end with data from the database. Let us assume we created a class that allows us to get the data from the database (rather since we using test driven development, created the interfaces and then create our unit test). So you are wondering, where does EasyMock come in? Well I never knew either, but after having a few discussions with others and reading up:</p>
<p><a href="http://easymock.org/EasyMock2_2_Documentation.html">http://easymock.org/EasyMock2_2_Documentation.html</a></p>
<p><a href="http://www.michaelminella.com/testing/unit-testing-with-junit-and-easymock.html">http://www.michaelminella.com/testing/unit-testing-with-junit-and-easymock.html</a></p>
<blockquote><p>EasyMock 2 is a library that provides an easy way to use Mock Objects  for given interfaces</p></blockquote>
<p>So you ask what is the benefit of this?</p>
<ol>
<li>Reduces the need to actually access the database, thereby reducing the time it takes to run the unit test</li>
<li>Guaranteed return values, otherwise an error is displayed</li>
</ol>
<p>To me that are the basic and very important benefits.</p>
<p><strong>How does it work?</strong></p>
<p>EasyMock allows you to set up a &#8220;recording&#8221; then actually &#8220;running&#8221; then &#8220;verifying&#8221;  the recording against the run.</p>
<p>That is my basic introduction into EasyMock, let me get into some more examples.</p>
<p>Blog soon!</p>
<p><strong><br />
</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/liyaqatm.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/liyaqatm.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/liyaqatm.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/liyaqatm.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/liyaqatm.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/liyaqatm.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/liyaqatm.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/liyaqatm.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/liyaqatm.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/liyaqatm.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/liyaqatm.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/liyaqatm.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/liyaqatm.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/liyaqatm.wordpress.com/79/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=liyaqatm.wordpress.com&amp;blog=8602088&amp;post=79&amp;subd=liyaqatm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://liyaqatm.wordpress.com/2010/05/07/easymock-junit-tests/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/efc2a0efdb53991b3e53c774e3888fa0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">liyaqatm</media:title>
		</media:content>
	</item>
		<item>
		<title>Using the Factory Pattern</title>
		<link>http://liyaqatm.wordpress.com/2010/02/06/using-the-factory-pattern/</link>
		<comments>http://liyaqatm.wordpress.com/2010/02/06/using-the-factory-pattern/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 22:16:10 +0000</pubDate>
		<dc:creator>Liyaqat</dc:creator>
				<category><![CDATA[Design Patterns]]></category>

		<guid isPermaLink="false">http://liyaqatm.wordpress.com/?p=76</guid>
		<description><![CDATA[It has been a long time since I posted anything about Design Patterns but as we aware or even unaware our daily coding practices relate somehow or another to a pattern.  It might not necessarily be documented but it generally forms part of a pattern. Background I have recently begun working with ICEfaces and Fusion [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=liyaqatm.wordpress.com&amp;blog=8602088&amp;post=76&amp;subd=liyaqatm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It has been a long time since I posted anything about Design Patterns but as we aware or even unaware our daily coding practices relate somehow or another to a pattern.  It might not necessarily be documented but it generally forms part of a pattern.</p>
<p><strong>Background</strong></p>
<p>I have recently begun working with ICEfaces and Fusion Charts in order to render various types of charts.</p>
<p>The model used is as follows:</p>
<ul>
<li> Chart data element storing chart specific data</li>
<li> Chart generator that uses xstream to convert this chart data into XML.</li>
</ul>
<p>We then created chart data and a generator per type of chart. Eg. Piechart data and piechart XML generator.</p>
<p>So now when we want to get a specific generator we need to actually do the check to see what type of chart we have then determine the generator.  The check could look something like this:</p>
<pre style="padding-left:30px;">Chart chart // this could be any subclass, such as a PieChart
</pre>
<pre style="padding-left:30px;">if (chart instance of PieChart) {</pre>
<pre style="padding-left:60px;">return PieChartXmlGenerator;
</pre>
<pre style="padding-left:30px;">} else if (chart instance of LinearGaugeChart) {</pre>
<pre style="padding-left:60px;">return LinearGaugeChartXmlGenerator;
</pre>
<pre style="padding-left:30px;">} .....</pre>
<pre style="padding-left:30px;">....</pre>
<pre style="padding-left:30px;">....
</pre>
<p>This can become cumbersome since each time we require a specific generator we need to do this check.</p>
<p><strong>Analogy</strong></p>
<p>When trying to think of the best analogy to describe this pattern I thought about the building contractor relationship. Lets say I want to tile my bathroom, I would inform my contractor about this and he would bring me a tiler. If I wanted to build some cupboards he would bring me a carpenter. Simple enough? In this analogy the contractor is our &#8220;factory&#8221;. We simply specify what we looking for and the &#8220;factory&#8221; returns what we need to get the task done.</p>
<p><strong>Example</strong></p>
<p>The code above where we did the &#8220;instanceof&#8221; check could all be moved into a Factory like this:</p>
<pre style="padding-left:30px;">public class ChartXmlGeneratorFactory {

 public static ChartXmlGenerator getChartXmlGenerator(Chart chart) {
 if (chart instanceof PieChart) {
    return new PieChartXmlGenerator();
 } else if (chart instanceof LinearGaugeChart){
   return new LinearGaugeXmlGenerator();
 } // add new ChartGenerator selections here
   throw new IllegalStateException("The chart returned does not match any of the implemented Chart Types");
 }
}</pre>
<p>Then when we want to actually use the factory we would just call it like this:</p>
<pre>PieChart pieChart = new PieChart();
PieChartXmlGenerator chartXmlGenerator = (PieChartXmlGenerator) ChartXmlGeneratorFactory.getChartXmlGenerator(pieChart);</pre>
<p>I omitted defining PieChartXmlGenerator <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />   but I hope you get my point. This is the nice way of simply saying to your factory I want to do this and your factory says use this to do what you require.</p>
<p>This is the Java version of our factory, I am getting to grips with Spring and will post about the Spring alternative to this. Its really very good.</p>
<p>Please feel free to post any comments or suggestions you may have. Again I would like to reiterate that I am no expert in this topic but simply documenting my journey of discovery.<br />
Blog Soon!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/liyaqatm.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/liyaqatm.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/liyaqatm.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/liyaqatm.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/liyaqatm.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/liyaqatm.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/liyaqatm.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/liyaqatm.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/liyaqatm.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/liyaqatm.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/liyaqatm.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/liyaqatm.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/liyaqatm.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/liyaqatm.wordpress.com/76/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=liyaqatm.wordpress.com&amp;blog=8602088&amp;post=76&amp;subd=liyaqatm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://liyaqatm.wordpress.com/2010/02/06/using-the-factory-pattern/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/efc2a0efdb53991b3e53c774e3888fa0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">liyaqatm</media:title>
		</media:content>
	</item>
		<item>
		<title>Trying to Understand Maven</title>
		<link>http://liyaqatm.wordpress.com/2010/01/29/trying-to-understand-maven/</link>
		<comments>http://liyaqatm.wordpress.com/2010/01/29/trying-to-understand-maven/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 10:28:41 +0000</pubDate>
		<dc:creator>Liyaqat</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://liyaqatm.wordpress.com/?p=74</guid>
		<description><![CDATA[Firstly I would like to reiterate that I am no expert on theses topics and the main reason I Blog is to simply share with my fellow developers my though processes and things I pick up as I learn new technologies. Your feedback is therefore most valued and appreciated. Today we will be looking at [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=liyaqatm.wordpress.com&amp;blog=8602088&amp;post=74&amp;subd=liyaqatm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Firstly I would like to reiterate that I am no expert on theses topics and the main reason I Blog is to simply share with my fellow developers my though processes and things I pick up as I learn new technologies.</p>
<p>Your feedback is therefore most valued and appreciated. Today we will be looking at Maven, an amazing and &#8220;magical&#8221; technology (I think I might be shot for using the word &#8220;magical&#8221; <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  ).</p>
<p><strong>The Basics</strong></p>
<p>Back in the day when we simply needed to create simple Java projects with very little library dependencies it was very simple, point to your JDK and import your required libraries. Off we would go coding our main class that would use other classes.</p>
<p>That was all and well (sometimes still a pain setting up the libraries though), but now what happens when we working on a bit larger project where we have much more external dependencies on libraries.  How do we link everything up?</p>
<p>Maven ( <a href="http://maven.apache.org/" target="_blank">http://maven.apache.org/</a> ) has the answer to this (as well as the answer to some other issues as well.  In the words of the creators of Maven this is how they describe Maven is an attempt to &#8220;<em>apply patterns to a project&#8217;s build infrastructure in order to promote  comprehension and productivity by providing a clear path in the use of best  practices</em>.&#8221;</p>
<p>That might sound a bit confusing but as we get into the features of Maven we will realise that it does in fact provide and promote a common build infrastructure. A list of Maven features include:</p>
<ul>
<li>Builds</li>
<li>Documentation</li>
<li>Reporting</li>
<li>Dependencies</li>
<li>SCMs</li>
<li>Releases</li>
<li>Distribution</li>
</ul>
<p><strong>Project Object Model (POM)</strong></p>
<p>I think the best way to explain how Maven achieves this is by introducing the Project Object Model (POM) file.  Since Maven 2 the project.xml has been renamed to pom.xml.</p>
<p>This pom.xml is where all the magic happens. Let us look at a sample POM file from Maven website:</p>
<pre>xmlns="http://maven.apache.org/POM/4.0.0"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
 &lt;modelVersion&gt;4.0.0
 &lt;groupId&gt;com.mycompany.app
 &lt;artifactId&gt;my-app
 &lt;packaging&gt;jar&lt;/packaging&gt;
 &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
 &lt;name&gt;Maven Quick Start Archetype&lt;/name&gt;
 &lt;url&gt;http://maven.apache.org
 &lt;dependencies&gt;
 &lt;dependency&gt;
 &lt;groupId&gt;junit&lt;/groupId&gt;
 &lt;artifactId&gt;junit&lt;/artifactId&gt;
 &lt;version&gt;3.8.1&lt;/version&gt;
 &lt;scope&gt;test&lt;/scope&gt;
 &lt;/dependency&gt;
 &lt;/dependencies&gt;
&lt;/project&gt;
</pre>
<p>I know it might seem a bit scary at first but this POM file really describes the essence of Maven and its ability to provide us with features such as build control to documentation management.</p>
<p>This is a copy of how Maven describes the common elements</p>
<ul>
<li><strong>project</strong> This is the top-level element in all Maven pom.xml  files.</li>
<li><strong>modelVersion</strong> This element indicates what version of the object model  this POM is using. The version of the model itself changes very infrequently but  it is mandatory in order to ensure stability of use if and when the Maven  developers deem it necessary to change the model.</li>
<li><strong>groupId</strong> This element indicates the unique identifier of the  organization or group that created the project. The groupId is one of the key  identifiers of a project and is typically based on the fully qualified domain  name of your organization. For example <tt>org.apache.maven.plugins</tt> is the  designated groupId for all Maven plug-ins.</li>
<li><strong>artifactId</strong> This element indicates the unique base name of the primary  artifact being generated by this project. The primary artifact for a project is  typically a JAR file. Secondary artifacts like source bundles also use the  artifactId as part of their final name. A typical artifact produced by Maven  would have the form -. (for  example, <tt>myapp-1.0.jar</tt>).</li>
<li><strong>packaging</strong> This element indicates the package type to be used by this  artifact (e.g. JAR, WAR, EAR, etc.). This not only means if the artifact  produced is JAR, WAR, or EAR but can also indicate a specific lifecycle to use  as part of the build process. (The lifecycle is a topic we will deal with  further on in the guide. For now, just keep in mind that the indicated packaging  of a project can play a part in customizing the build lifecycle.) The default  value for the <tt>packaging</tt> element is JAR so you do not have to specify  this for most projects.</li>
<li><strong>version</strong> This element indicates the version of the artifact generated  by the project. Maven goes a long way to help you with version management and  you will often see the <tt>SNAPSHOT</tt> designator in a version, which  indicates that a project is in a state of development. We will discuss the use  of snapshots and how they work further on in this guide.</li>
<li><strong>name</strong> This element indicates the display name used for the project.  This is often used in Maven&#8217;s generated documentation.</li>
<li><strong>url</strong> This element indicates where the project&#8217;s site can be found.  This is often used in Maven&#8217;s generated documentation.</li>
<li><strong>description</strong> This element provides a basic description of your  project. This is often used in Maven&#8217;s generated documentation.</li>
</ul>
<p>If we look at the <strong>project </strong>or <strong>version </strong>elements we can see how this relates to releases and version control, whilst <strong>packaging</strong> relates to what type of output we would like Maven to output. Have a look at the above definitions and I hope this makes things a bit clearer as it has with me.</p>
<p>Thus far we have looked at some of the benefits / features of Maven and the POM file but not really spoken much about the actual framework and how it relates to our Java projects. That I will leave for my next post.</p>
<p>I hope this post gave you a brief introduction into Maven, the show is not yet over <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Blog Soon!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/liyaqatm.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/liyaqatm.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/liyaqatm.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/liyaqatm.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/liyaqatm.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/liyaqatm.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/liyaqatm.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/liyaqatm.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/liyaqatm.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/liyaqatm.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/liyaqatm.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/liyaqatm.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/liyaqatm.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/liyaqatm.wordpress.com/74/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=liyaqatm.wordpress.com&amp;blog=8602088&amp;post=74&amp;subd=liyaqatm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://liyaqatm.wordpress.com/2010/01/29/trying-to-understand-maven/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/efc2a0efdb53991b3e53c774e3888fa0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">liyaqatm</media:title>
		</media:content>
	</item>
		<item>
		<title>XStream &#8211; Basic Introduction</title>
		<link>http://liyaqatm.wordpress.com/2010/01/26/xstream-basic-introduction/</link>
		<comments>http://liyaqatm.wordpress.com/2010/01/26/xstream-basic-introduction/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 09:30:47 +0000</pubDate>
		<dc:creator>Liyaqat</dc:creator>
				<category><![CDATA[ICEfaces]]></category>

		<guid isPermaLink="false">http://liyaqatm.wordpress.com/?p=49</guid>
		<description><![CDATA[So you must be asking, where does the XStream topic come in considering most of my previous posts were around ICEfaces and Fusion Charts? The Need To answer this question let me try to explain what XStream does. XStream allows you to convert a Serializable Java Object into XML. See the link yet? The reason [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=liyaqatm.wordpress.com&amp;blog=8602088&amp;post=49&amp;subd=liyaqatm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So you must be asking, where does the XStream topic come in considering most of my previous posts were around ICEfaces and Fusion Charts?</p>
<p><strong>The Need</strong></p>
<p>To answer this question let me try to explain what XStream does. XStream allows you to convert a Serializable Java Object into XML. See the link yet? The reason why I needed this was to dynamically create Fusion Charts (that require parameters in XML)</p>
<p>The XStream website: http://xstream.codehaus.org/index.html proves to be a very useful resource. As a side note I have been quite impressed lately by vendor websites, it seems much more time and effort  being spent on actual documentation and that&#8217;s GREAT!</p>
<p><strong>The Basics</strong></p>
<p>Getting back to the topic at hand, so what does XStream allow us to do? Simply put generate XML from a Java Object. I am not too sure of how all it parses the objects but so far seems to work well.</p>
<p><strong>Simple Example</strong></p>
<p>As stated above the need for this came about as I required a dynamic piece of XML based on a Java object and since us Java Developers love objects XStream is a perfect partner.</p>
<p>I found working backwards help, define the way you want your XML to look. Since we want to create a basic Pie chart our XML needs to look like this:</p>
<pre>&lt;chart caption="Not Started"&gt;
 &lt;set label="Not Started" value="25"/&gt;
 &lt;set label="Started" value="50"/&gt;
 &lt;set label="In Between" value="25"/&gt;
&lt;/chart&gt;</pre>
<p>To do this I created two classes:</p>
<p><strong>Chart.java</strong></p>
<pre>**
 * This class forms the basis of our chart
 */
import java.util.ArrayList;
import java.util.List;

public class Chart {
 private String caption;
 private String subCaption;
 private List labels = new ArrayList();

 public Chart (String caption) {
 setCaption(caption);
 }

 public void add(Entry entry) {
 labels.add(entry);
 }

 public List getContent() {
 return labels;
 }

 public String getCaption() {
 return caption;
 }

 public void setCaption(String caption) {
 this.caption = caption;
 }

 public void setSubCaption(String subCaption) {
 this.subCaption = subCaption;
 }

 public String getSubCaption() {
 return subCaption;
 }
}</pre>
<p><strong>Entry.java</strong></p>
<pre>public class Entry {
 private String label, value;
 public Entry(String label, String value) {
 this.label = label;
 this.value = value;
 }
}</pre>
<p>These two classes provided us with the ability to create a chart and add entries to it (entries would be values). What we then required was a Main class to process this data.  You need to add the xstream-[version].jar to your build path. Download the jar from the following location: http://xstream.codehaus.org/download.html , select the <strong><a href="http://repository.codehaus.org/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar">XStream  Core only</a></strong></p>
<p><strong><strong>Sample Main.Java</strong></strong></p>
<pre>import com.thoughtworks.xstream.XStream;

public class Main {

 /**
 *    &lt;!--fc:renderHTML&gt;
 */
 public static void main(String[] args) {

 XStream xStreamOne = new XStream ();
 xStreamOne.alias("chart", Chart.class);
 xStreamOne.alias("set", Entry.class);
 xStreamOne.addImplicitCollection(Chart.class, "labels");
 xStreamOne.useAttributeFor(Chart.class, "caption");
 xStreamOne.useAttributeFor(Chart.class, "subCaption");

 xStreamOne.useAttributeFor(Entry.class, "label");
 xStreamOne.useAttributeFor(Entry.class, "value");

 Chart chart = new Chart("Not Started");
 chart.setSubCaption("Sub caption is");
 chart.add(new Entry("Not Started", "25"));
 chart.add(new Entry("Started", "50"));
 chart.add(new Entry("In Between", "25"));

 xml = xStreamOne.toXML(chart);
 System.out.println(xml);
 }

}</pre>
<p>This results in the required output:</p>
<pre>&lt;chart caption="Not Started"&gt;
 &lt;set label="Not Started" value="25"/&gt;
 &lt;set label="Started" value="50"/&gt;
 &lt;set label="In Between" value="25"/&gt;
&lt;/chart&gt;</pre>
<p>The main methods to note are these three:</p>
<pre>xStreamOne.alias("set", Entry.class);
xStreamOne.addImplicitCollection(Chart.class, "labels");
xStreamOne.useAttributeFor(Chart.class, "caption");</pre>
<p><a title="WWW.ICEFACES.ORG" href="http://WWW.ICEFACES.ORG">WWW.ICEFACES.ORG</a></p>
<p>For further details have a look at this example: http://xstream.codehaus.org/alias-tutorial.html</p>
<p>Blog Soon!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/liyaqatm.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/liyaqatm.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/liyaqatm.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/liyaqatm.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/liyaqatm.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/liyaqatm.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/liyaqatm.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/liyaqatm.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/liyaqatm.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/liyaqatm.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/liyaqatm.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/liyaqatm.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/liyaqatm.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/liyaqatm.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=liyaqatm.wordpress.com&amp;blog=8602088&amp;post=49&amp;subd=liyaqatm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://liyaqatm.wordpress.com/2010/01/26/xstream-basic-introduction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/efc2a0efdb53991b3e53c774e3888fa0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">liyaqatm</media:title>
		</media:content>
	</item>
		<item>
		<title>ICEfaces Meets Fusion Charts &#8211; 2</title>
		<link>http://liyaqatm.wordpress.com/2010/01/25/icefaces-meets-fusion-charts-2/</link>
		<comments>http://liyaqatm.wordpress.com/2010/01/25/icefaces-meets-fusion-charts-2/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 15:47:06 +0000</pubDate>
		<dc:creator>Liyaqat</dc:creator>
				<category><![CDATA[ICEfaces]]></category>

		<guid isPermaLink="false">http://liyaqatm.wordpress.com/?p=45</guid>
		<description><![CDATA[Welcome back, as mentioned in my previous post (http://liyaqatm.wordpress.com/2010/01/21/icefaces-meets-fusion-charts/) on Fusion Charts, ICEfaces has its own built chart library and personally I think it works quite well. Have a look at a sample generated based on the code given in my previous post.  &#60;h3&#62;&#60;ice:outputText value="Fusion Charts"/&#62;&#60;/h3&#62;      &#60;ice:panelGrid&#62;  &#60;ice:outputChart type="pie2d"   chartTitle="Liyaqat's Chart"   yaxisTitle="Years"   xaxisTitle="Sector"   xaxisLabels="IT, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=liyaqatm.wordpress.com&amp;blog=8602088&amp;post=45&amp;subd=liyaqatm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="mceTemp">
<p>Welcome back, as mentioned in my previous post (<a href="http://liyaqatm.wordpress.com/2010/01/21/icefaces-meets-fusion-charts/" target="_blank">http://liyaqatm.wordpress.com/2010/01/21/icefaces-meets-fusion-charts/</a>) on Fusion Charts, ICEfaces has its own built chart library and personally I think it works quite well. Have a look at a sample generated based on the code given in my previous post.</p>
<pre> &lt;h3&gt;&lt;ice:outputText value="Fusion Charts"/&gt;&lt;/h3&gt;
     &lt;ice:panelGrid&gt;
 &lt;ice:outputChart type="pie2d"
  chartTitle="Liyaqat's Chart"
  yaxisTitle="Years"
  xaxisTitle="Sector"
  xaxisLabels="IT, HR, Finance"/&gt;
     &lt;/ice:panelGrid&gt;

<div class="wp-caption alignnone" style="width: 252px"><a href="http://liyaqatm.files.wordpress.com/2010/01/icefaces-chart11.jpg"><img class="size-medium wp-image-47" title="ICEfaces-Chart1" src="http://liyaqatm.files.wordpress.com/2010/01/icefaces-chart11.jpg?w=242&#038;h=300" alt="" width="242" height="300" /></a>
</dt>
<dd class="wp-caption-dd">ICEfaces Chart
</dd>
</dl>
</div>
</pre>
<div class="mceTemp">So that does not look too impressive, but then again i used basic colours.</div>
<div class="mceTemp">
<p>As we get into using Fusion Charts I would like to first say that I used the following documentation: <a href="http://www.fusioncharts.com/docs/">http://www.fusioncharts.com/docs/</a> I found it very very helpful, all the samples I use somehow reference their site.</p>
<p><strong>Creating a Fusion Chart in ICEfaces</strong></p>
</div>
<ul>
<li>Download the required .swf chart files, these files act as the &#8220;Chart Generator&#8221;</li>
<li>Create ICEfaces Facelets Project</li>
<li>Create a Sub Folder called Fusion Charts and place all your .swf files in it</li>
<li>Create a DataFile.xml file containing the following data:</li>
</ul>
<div style="padding-left:30px;"><em><em><em><em><em><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><span style="color:#000000;"><span style="font-size:x-small;"><span style="font-size:x-small;">&lt;</span></span><span style="font-size:x-small;"><span style="font-size:x-small;">chart</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">caption</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8216;Monthly Sales Summary&#8217;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">subcaption</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8216;For the year 2006&#8242;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">xAxisName</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8216;Month&#8217;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">yAxisName</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8216;Sales&#8217;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">numberPrefix</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8216;$&#8217;</span></span><span style="font-size:x-small;"><span style="font-size:x-small;">&gt;</span></span></em></em></em></em></em></span></span></em></em></span></em></em></span></em></em></span></em></em></span></em></em></span></em></em></span></em></em></span></em></em></span></em></em></span></em></em></span></em></em></em></em></em></em></em><em><em><em><em><em><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"> </span></em></em></span></em></em></span></em></em></span></em></em></span></em></em></span></em></em></span></em></em></span></em></em></span></em></em></span></em></em></span></em></em></em></em></em></em></em><span style="color:#000000;"> </span></div>
<p style="padding-left:30px;"><em><em><em><em><em><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"><em><em><span style="font-size:x-small;"> <span style="color:#000000;"><em><em><em><em><em><span style="font-size:x-small;"><span style="font-size:x-small;">&lt;</span></span><span style="font-size:x-small;"><span style="font-size:x-small;">set</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">label</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8216;January&#8217;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">value</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8217;17400&#8242;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">/&gt;</span></span><span style="font-size:x-small;"> </span></em></em></em></em></em></em></em></span></span></em></em></span></em></em></span></em></em></span></em></em></span></em></em></span></em></em></span></em></em></span></em></em></span></em></em></span></em></em></span></em></em></em></em></em></em></em></p>
<p style="padding-left:30px;"><span style="color:#000000;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em> <span style="font-size:x-small;"><span style="font-size:x-small;">&lt;</span></span><span style="font-size:x-small;"><span style="font-size:x-small;">set</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">label</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8216;February&#8217;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">value</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8217;19800&#8242;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">/&gt;</span></span><span style="font-size:x-small;"> </span></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></p>
<p style="padding-left:30px;"><span style="color:#000000;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em> &lt;<span style="font-size:x-small;"><span style="font-size:x-small;">set</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">label</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8216;March&#8217;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">value</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8217;21800&#8242;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">/&gt;</span></span><span style="font-size:x-small;"> </span></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></p>
<p style="padding-left:30px;"><span style="color:#000000;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em> <span style="font-size:x-small;"><span style="font-size:x-small;">&lt;</span></span><span style="font-size:x-small;"><span style="font-size:x-small;">set</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">label</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8216;April&#8217;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">value</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8217;23800&#8242;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">/&gt;</span></span><span style="font-size:x-small;"> </span></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></p>
<p style="padding-left:30px;"><span style="color:#000000;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em> <span style="font-size:x-small;"><span style="font-size:x-small;">&lt;</span></span><span style="font-size:x-small;"><span style="font-size:x-small;">set</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">label</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8216;May&#8217;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">value</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8217;29600&#8242;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">/&gt;</span></span><span style="font-size:x-small;"> </span></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></p>
<p style="padding-left:30px;"><span style="color:#000000;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em> <span style="font-size:x-small;"><span style="font-size:x-small;">&lt;</span></span><span style="font-size:x-small;"><span style="font-size:x-small;">set</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">label</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8216;June&#8217;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">value</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8217;27600&#8242;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">/&gt;</span></span><span style="font-size:x-small;"> </span></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></p>
<p style="padding-left:30px;"><span style="color:#000000;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em> <span style="font-size:x-small;"><span style="font-size:x-small;">&lt;</span></span><span style="font-size:x-small;"><span style="font-size:x-small;">set</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">label</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8216;July&#8217;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">value</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8217;31800&#8242;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">/&gt;</span></span><span style="font-size:x-small;"> </span></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></p>
<p style="padding-left:30px;"><span style="color:#000000;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em> <span style="font-size:x-small;"><span style="font-size:x-small;">&lt;</span></span><span style="font-size:x-small;"><span style="font-size:x-small;">set</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">label</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8216;August&#8217;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">value</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8217;39700&#8242;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">/&gt;</span></span><span style="font-size:x-small;"> </span></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></p>
<p style="padding-left:30px;"><span style="color:#000000;"><span style="font-size:x-small;"><span style="font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>&lt;</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></span><span style="font-size:x-small;"><span style="font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>set</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></span><span style="font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em> </em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span><span style="font-size:x-small;"><span style="font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>label</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></span><span style="font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>=</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8216;September&#8217;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">value</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8217;37800&#8242;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">/&gt;</span></span><span style="font-size:x-small;"> </span></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></p>
<p style="padding-left:30px;"><span style="color:#000000;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em> <span style="font-size:x-small;"><span style="font-size:x-small;">&lt;</span></span><span style="font-size:x-small;"><span style="font-size:x-small;">set</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">label</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8216;October&#8217;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">value</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8217;21900&#8242;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">/&gt;</span></span><span style="font-size:x-small;"> </span></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></p>
<p style="padding-left:30px;"><span style="color:#000000;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em> <span style="font-size:x-small;"><span style="font-size:x-small;">&lt;</span></span><span style="font-size:x-small;"><span style="font-size:x-small;">set</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">label</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8216;November&#8217;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">value</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8217;32900&#8242;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">/&gt;</span></span><span style="font-size:x-small;"> </span></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></p>
<p style="padding-left:30px;"><span style="color:#000000;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em> <span style="font-size:x-small;"><span style="font-size:x-small;">&lt;</span></span><span style="font-size:x-small;"><span style="font-size:x-small;">set</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">label</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8216;December&#8217;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">value</span></span><span style="font-size:x-small;">=</span><em><span style="font-size:x-small;"><span style="font-size:x-small;">&#8217;39800&#8242;</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;"><span style="font-size:x-small;">/&gt;&lt;/</span></span><span style="font-size:x-small;"><span style="font-size:x-small;">chart</span></span><span style="font-size:x-small;"><span style="font-size:x-small;">&gt;</span></span></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></p>
<ul>
<li><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em> In the main page (or wherever you desire to display the chart) add the following code: <span style="font-size:x-small;"><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;">&lt;</span></span><span style="color:#3f7f7f;font-size:x-small;"><span style="color:#3f7f7f;font-size:x-small;">ice:panelGrid</span></span><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;">&gt;</span></span><span style="font-size:x-small;">
<div><span style="color:#3f5fbf;font-size:x-small;"><span style="color:#3f5fbf;font-size:x-small;">&lt;!&#8211; Add the Fusion Charts Here &#8211;&gt;</span></span></div>
<p></span></span></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></p>
<div><span style="font-size:x-small;"><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>&lt;</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></span><span style="color:#3f7f7f;font-size:x-small;"><span style="color:#3f7f7f;font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>object</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></span><span style="font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em> </em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span><span style="color:#7f007f;font-size:x-small;"><span style="color:#7f007f;font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>classid</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></span><span style="font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>=</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><span style="color:#2a00ff;font-size:x-small;"><span style="color:#2a00ff;font-size:x-small;">&#8220;clsid:d27cdb6e-ae6d-11cf-96b8-444553540000&#8243;</span></span></em><span style="font-size:x-small;"> </span><span style="color:#7f007f;font-size:x-small;"><span style="color:#7f007f;font-size:x-small;">codebase</span></span><span style="font-size:x-small;">=</span><em><span style="color:#2a00ff;font-size:x-small;"><span style="color:#2a00ff;font-size:x-small;">&#8220;http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0&#8243;</span></span></em><span style="font-size:x-small;"> </span><span style="color:#7f007f;font-size:x-small;"><span style="color:#7f007f;font-size:x-small;">width</span></span><span style="font-size:x-small;">=</span><em><span style="color:#2a00ff;font-size:x-small;"><span style="color:#2a00ff;font-size:x-small;">&#8220;900&#8243;</span></span></em><span style="font-size:x-small;"> </span><span style="color:#7f007f;font-size:x-small;"><span style="color:#7f007f;font-size:x-small;">height</span></span><span style="font-size:x-small;">=</span><em><span style="color:#2a00ff;font-size:x-small;"><span style="color:#2a00ff;font-size:x-small;">&#8220;300&#8243;</span></span></em><span style="font-size:x-small;"> </span><span style="color:#7f007f;font-size:x-small;"><span style="color:#7f007f;font-size:x-small;">id</span></span><span style="font-size:x-small;">=</span><em><span style="color:#2a00ff;font-size:x-small;"><span style="color:#2a00ff;font-size:x-small;">&#8220;Column3D&#8221;</span></span></em><span style="font-size:x-small;"> </span><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;">&gt;</span></span></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></div>
<p><span style="font-size:x-small;"><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;"> </span></span></span></p>
<div><span style="font-size:x-small;"><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>&lt;</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></span><span style="color:#3f7f7f;font-size:x-small;"><span style="color:#3f7f7f;font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>param</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></span><span style="font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em> </em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span><span style="color:#7f007f;font-size:x-small;"><span style="color:#7f007f;font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>name</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></span><span style="font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>=</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><span style="color:#2a00ff;font-size:x-small;"><span style="color:#2a00ff;font-size:x-small;">&#8220;movie&#8221;</span></span></em><span style="font-size:x-small;"> </span><span style="color:#7f007f;font-size:x-small;"><span style="color:#7f007f;font-size:x-small;">value</span></span><span style="font-size:x-small;">=</span><em><span style="color:#2a00ff;font-size:x-small;"><span style="color:#2a00ff;font-size:x-small;">&#8220;FusionCharts/Pie3D.swf&#8221;</span></span></em><span style="font-size:x-small;"> </span><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;">/&gt; </span></span></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></div>
<p><span style="font-size:x-small;"><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;"> </span></span></span></p>
<div><span style="font-size:x-small;"><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>&lt;</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></span><span style="color:#3f7f7f;font-size:x-small;"><span style="color:#3f7f7f;font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>param</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></span><span style="font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em> </em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span><span style="color:#7f007f;font-size:x-small;"><span style="color:#7f007f;font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>name</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></span><span style="font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>=</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><span style="color:#2a00ff;font-size:x-small;"><span style="color:#2a00ff;font-size:x-small;">&#8220;FlashVars&#8221;</span></span></em><span style="font-size:x-small;"> </span><span style="color:#7f007f;font-size:x-small;"><span style="color:#7f007f;font-size:x-small;">value</span></span><span style="font-size:x-small;">=</span><em><span style="color:#2a00ff;font-size:x-small;"><span style="color:#2a00ff;font-size:x-small;">&#8220;&amp;amp;dataURL=DataFile.xml&#8221;</span></span></em><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;">/&gt; </span></span></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></div>
<p><span style="font-size:x-small;"><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;"> </span></span></span></p>
<div><span style="font-size:x-small;"><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>&lt;</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></span><span style="color:#3f7f7f;font-size:x-small;"><span style="color:#3f7f7f;font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>param</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></span><span style="font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em> </em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span><span style="color:#7f007f;font-size:x-small;"><span style="color:#7f007f;font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>name</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></span><span style="font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>=</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><span style="color:#2a00ff;font-size:x-small;"><span style="color:#2a00ff;font-size:x-small;">&#8220;quality&#8221;</span></span></em><span style="font-size:x-small;"> </span><span style="color:#7f007f;font-size:x-small;"><span style="color:#7f007f;font-size:x-small;">value</span></span><span style="font-size:x-small;">=</span><em><span style="color:#2a00ff;font-size:x-small;"><span style="color:#2a00ff;font-size:x-small;">&#8220;high&#8221;</span></span></em><span style="font-size:x-small;"> </span><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;">/&gt; </span></span></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></div>
<p><span style="font-size:x-small;"><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;"> </span></span></span></p>
<div><span style="font-size:x-small;"><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>&lt;</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></span><span style="text-decoration:underline;"><span style="color:#3f7f7f;font-size:x-small;"><span style="color:#3f7f7f;font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>embed</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></span></span><span style="font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em> </em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span><span style="color:#7f007f;font-size:x-small;"><span style="color:#7f007f;font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>src</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></span><span style="font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>=</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><span style="color:#2a00ff;font-size:x-small;"><span style="color:#2a00ff;font-size:x-small;">&#8220;FusionCharts/Pie3D.swf&#8221;</span></span></em><span style="font-size:x-small;"> </span><span style="color:#7f007f;font-size:x-small;"><span style="color:#7f007f;font-size:x-small;">flashVars</span></span><span style="font-size:x-small;">=</span><em><span style="color:#2a00ff;font-size:x-small;"><span style="color:#2a00ff;font-size:x-small;">&#8220;&amp;amp;dataURL=Data.xml&amp;amp;&#8221;</span></span></em><span style="font-size:x-small;"> </span><span style="color:#7f007f;font-size:x-small;"><span style="color:#7f007f;font-size:x-small;">quality</span></span><span style="font-size:x-small;">=</span><em><span style="color:#2a00ff;font-size:x-small;"><span style="color:#2a00ff;font-size:x-small;">&#8220;high&#8221;</span></span></em><span style="font-size:x-small;"> </span><span style="color:#7f007f;font-size:x-small;"><span style="color:#7f007f;font-size:x-small;">width</span></span><span style="font-size:x-small;">=</span><em><span style="color:#2a00ff;font-size:x-small;"><span style="color:#2a00ff;font-size:x-small;">&#8220;900&#8243;</span></span></em><span style="font-size:x-small;"> </span><span style="color:#7f007f;font-size:x-small;"><span style="color:#7f007f;font-size:x-small;">height</span></span><span style="font-size:x-small;">=</span><em><span style="color:#2a00ff;font-size:x-small;"><span style="color:#2a00ff;font-size:x-small;">&#8220;300&#8243;</span></span></em><span style="font-size:x-small;"> </span><span style="color:#7f007f;font-size:x-small;"><span style="color:#7f007f;font-size:x-small;">name</span></span><span style="font-size:x-small;">=</span><em><span style="color:#2a00ff;font-size:x-small;"><span style="color:#2a00ff;font-size:x-small;">&#8220;Column3D&#8221;</span></span></em><span style="font-size:x-small;"> </span><span style="color:#7f007f;font-size:x-small;"><span style="color:#7f007f;font-size:x-small;">type</span></span><span style="font-size:x-small;">=</span><em><span style="color:#2a00ff;font-size:x-small;"><span style="color:#2a00ff;font-size:x-small;">&#8220;application/x-shockwave-flash&#8221;</span></span></em><span style="font-size:x-small;"> </span><span style="color:#7f007f;font-size:x-small;"><span style="color:#7f007f;font-size:x-small;">pluginspage</span></span><span style="font-size:x-small;">=</span><em><span style="color:#2a00ff;font-size:x-small;"><span style="color:#2a00ff;font-size:x-small;">&#8220;http://www.macromedia.com/go/getflashplayer&#8221;</span></span></em><span style="font-size:x-small;"> </span><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;">/&gt; </span></span></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></div>
<p><span style="font-size:x-small;"><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;"> </span></span></span></p>
<div><span style="font-size:x-small;"><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>&lt;/</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></span><span style="color:#3f7f7f;font-size:x-small;"><span style="color:#3f7f7f;font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>object</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></span><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>&gt;</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></span><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>&lt;/</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></span><span style="color:#3f7f7f;font-size:x-medium;"><span style="color:#3f7f7f;font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>ice:panelGrid</em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></span><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em>&gt; </em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></span></span></div>
<p><span style="font-size:x-small;"><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;"><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em> </em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></span></span></span><span style="font-size:x-small;"><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;"> </span></span></span></p>
<p>This will give us the following graph:</li>
</ul>
<div class="mceTemp">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a href="http://liyaqatm.files.wordpress.com/2010/01/fusionchartone1.jpg"><img class="size-medium wp-image-52" title="FusionChartOne" src="http://liyaqatm.files.wordpress.com/2010/01/fusionchartone1.jpg?w=300&#038;h=97" alt="" width="300" height="97" /></a><p class="wp-caption-text">Our First Chart</p></div></p>
<div class="mceTemp">I know I did rush through this a bit but please feel free to contact myself or refer to the Fusion Charts documentation for further assistance.  Well, we have created our first chart and it feels great how simple yet powerful these charts are.</div>
<div class="mceTemp"><a title="WWW.ICEFACES.ORG" href="http://WWW.ICEFACES.ORG">WWW.ICEFACES.ORG</a></div>
<div class="mceTemp">Blog Soon!</div>
<p><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em><em> </em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></em></p>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/liyaqatm.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/liyaqatm.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/liyaqatm.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/liyaqatm.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/liyaqatm.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/liyaqatm.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/liyaqatm.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/liyaqatm.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/liyaqatm.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/liyaqatm.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/liyaqatm.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/liyaqatm.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/liyaqatm.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/liyaqatm.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=liyaqatm.wordpress.com&amp;blog=8602088&amp;post=45&amp;subd=liyaqatm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://liyaqatm.wordpress.com/2010/01/25/icefaces-meets-fusion-charts-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/efc2a0efdb53991b3e53c774e3888fa0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">liyaqatm</media:title>
		</media:content>

		<media:content url="http://liyaqatm.files.wordpress.com/2010/01/icefaces-chart11.jpg?w=242" medium="image">
			<media:title type="html">ICEfaces-Chart1</media:title>
		</media:content>

		<media:content url="http://liyaqatm.files.wordpress.com/2010/01/fusionchartone1.jpg?w=300" medium="image">
			<media:title type="html">FusionChartOne</media:title>
		</media:content>
	</item>
		<item>
		<title>ICEfaces Meets Fusion Charts</title>
		<link>http://liyaqatm.wordpress.com/2010/01/21/icefaces-meets-fusion-charts/</link>
		<comments>http://liyaqatm.wordpress.com/2010/01/21/icefaces-meets-fusion-charts/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 12:01:30 +0000</pubDate>
		<dc:creator>Liyaqat</dc:creator>
				<category><![CDATA[ICEfaces]]></category>
		<category><![CDATA[Fusion Charts]]></category>

		<guid isPermaLink="false">http://liyaqatm.wordpress.com/?p=42</guid>
		<description><![CDATA[Well, we have gotten a basic introduction into ICEfaces and creating a Facelets Project. My first task I was asked to do was implement charts within our ICEfaces project. Having just joined the project they felt this would be a good learning curve so excuse me if these posts jump from basic introductions to a bit more complex [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=liyaqatm.wordpress.com&amp;blog=8602088&amp;post=42&amp;subd=liyaqatm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Well, we have gotten a basic introduction into ICEfaces and creating a Facelets Project.</p>
<p>My first task I was asked to do was implement charts within our ICEfaces project. Having just joined the project they felt this would be a good learning curve so excuse me if these posts jump from basic introductions to a bit more complex topic.</p>
<p><strong>ICEfaces Built-In Charts</strong></p>
<p>Firstly, just to note ICEfaces does implement their own Charting libraries. A typical example of creating a simple chart in ICEfaces is as follows:</p>
<blockquote><p><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;">&lt;</span></span><span style="color:#3f7f7f;font-size:x-small;"><span style="color:#3f7f7f;font-size:x-small;">ice:form</span></span><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;">&gt;</span></span></p></blockquote>
<blockquote><p><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;">&lt;</span></span><span style="color:#3f7f7f;font-size:x-small;"><span style="color:#3f7f7f;font-size:x-small;">h3</span></span><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;">&gt;&lt;</span></span><span style="color:#3f7f7f;font-size:x-small;"><span style="color:#3f7f7f;font-size:x-small;">ice:outputText</span></span><span style="font-size:x-small;"> </span><span style="color:#7f007f;font-size:x-small;"><span style="color:#7f007f;font-size:x-small;">value</span></span><span style="font-size:x-small;">=</span><em><span style="color:#2a00ff;font-size:x-small;"><span style="color:#2a00ff;font-size:x-small;">&#8221; Charts&#8221;</span></span><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;">/&gt;&lt;/</span></span><span style="color:#3f7f7f;font-size:x-small;"><span style="color:#3f7f7f;font-size:x-small;">h3</span></span><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;">&gt;</span></span></em><span style="font-size:x-small;"> </span></p>
<p><em> </em><em><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;">&lt;</span></span><span style="color:#3f7f7f;font-size:x-small;"><span style="color:#3f7f7f;font-size:x-small;">ice:panelGrid</span></span><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;">&gt;</span></span><span style="font-size:x-small;"> </span><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;">&lt;</span></span><span style="color:#3f7f7f;font-size:x-small;"><span style="color:#3f7f7f;font-size:x-small;">ice:outputChart</span></span><span style="font-size:x-small;"> </span><span style="color:#7f007f;font-size:x-small;"><span style="color:#7f007f;font-size:x-small;">type</span></span><span style="font-size:x-small;">=</span><span style="color:#2a00ff;font-size:x-small;"><span style="color:#2a00ff;font-size:x-small;">&#8220;<span style="text-decoration:underline;">pie2d</span>&#8220;</span></span></em><span style="font-size:x-small;"> </span></p>
<p><em> c</em><em><span style="color:#7f007f;font-size:x-small;"><span style="color:#7f007f;font-size:x-small;">hartTitle</span></span><span style="font-size:x-small;">=</span><span style="color:#2a00ff;font-size:x-small;"><span style="color:#2a00ff;font-size:x-small;">&#8220;Liyaqat&#8217;s Chart&#8221;</span></span><span style="font-size:x-small;"> </span><span style="color:#7f007f;font-size:x-small;"><span style="color:#7f007f;font-size:x-small;">yaxisTitle</span></span><span style="font-size:x-small;">=</span><span style="color:#2a00ff;font-size:x-small;"><span style="color:#2a00ff;font-size:x-small;">&#8220;Years&#8221;</span></span></em><span style="font-size:x-small;"> </span></p>
<p><em> </em><em><span style="color:#7f007f;font-size:x-small;"><span style="color:#7f007f;font-size:x-small;">xaxisTitle</span></span><span style="font-size:x-small;">=</span><span style="color:#2a00ff;font-size:x-small;"><span style="color:#2a00ff;font-size:x-small;">&#8220;Sector&#8221;</span></span></em><span style="font-size:x-small;"> </span></p>
<p><em> </em><em><span style="color:#7f007f;font-size:x-small;"><span style="color:#7f007f;font-size:x-small;">xaxisLabels</span></span><span style="font-size:x-small;">=</span><span style="color:#2a00ff;font-size:x-small;"><span style="color:#2a00ff;font-size:x-small;">&#8220;IT, HR, Finance&#8221;</span></span><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;">/&gt;</span></span></em><span style="font-size:x-small;"> </span></p>
<p><em> </em><em><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;">&lt;/</span></span><span style="color:#3f7f7f;font-size:x-small;"><span style="color:#3f7f7f;font-size:x-small;">ice:panelGrid</span></span><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;">&gt;</span></span></em><span style="font-size:x-small;"> </span></p></blockquote>
<p><strong>Fusion Charts</strong></p>
<p>The built in charts look generally OK and do the job quite well, however our team has decided to use Fusion Charts (<a href="http://www.fusioncharts.com">http://www.fusioncharts.com</a>). So how does Fusion Charts work?</p>
<p>Again, I have just started using this technology so please excuse me and feel free to comment below. As far as I understand how it works is as follows. Fusion Charts provide you with a jsw file (that uses Adobe Flash <img src='http://s0.wp.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> and you would simply add this jsw file to you project the same way as you would add an image. This .jsw file is kind of the &#8220;chart generator&#8221;, what we would then to do is within our XHTML (or anyother scripting page) we would send the parameters to this jsw file and this would return a nice looking chart based on our input parameters.</p>
<p>Sounds fairly simple, but then again we always know things that are simple are not <em>always</em> that way. Now let me try and get some charts generated and I will get back to you with some samples.</p>
<p><a title="WWW.ICEFACES.ORG" href="http://WWW.ICEFACES.ORG">WWW.ICEFACES.ORG</a></p>
<p>Blog Soon!</p>
<blockquote><p><em> </em><em><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;">&lt;/</span></span><span style="color:#3f7f7f;font-size:x-small;"><span style="color:#3f7f7f;font-size:x-small;">ice:form</span></span><span style="color:#008080;font-size:x-small;"><span style="color:#008080;font-size:x-small;">&gt; </span></span></em></p></blockquote>
<p><span style="font-size:x-small;"><span style="font-size:x-small;"><span style="font-size:x-small;"><span style="font-size:x-small;"><span style="font-size:x-small;"><span style="color:#008080;font-size:x-small;"><strong>Built-In Charts</strong></span> </span></span></span></span></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/liyaqatm.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/liyaqatm.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/liyaqatm.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/liyaqatm.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/liyaqatm.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/liyaqatm.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/liyaqatm.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/liyaqatm.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/liyaqatm.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/liyaqatm.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/liyaqatm.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/liyaqatm.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/liyaqatm.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/liyaqatm.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=liyaqatm.wordpress.com&amp;blog=8602088&amp;post=42&amp;subd=liyaqatm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://liyaqatm.wordpress.com/2010/01/21/icefaces-meets-fusion-charts/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/efc2a0efdb53991b3e53c774e3888fa0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">liyaqatm</media:title>
		</media:content>
	</item>
		<item>
		<title>ICEfaces &#8211; Quick Review</title>
		<link>http://liyaqatm.wordpress.com/2010/01/20/icefaces-quick-review/</link>
		<comments>http://liyaqatm.wordpress.com/2010/01/20/icefaces-quick-review/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 15:07:15 +0000</pubDate>
		<dc:creator>Liyaqat</dc:creator>
				<category><![CDATA[ICEfaces]]></category>
		<category><![CDATA[ICE]]></category>

		<guid isPermaLink="false">http://liyaqatm.wordpress.com/?p=39</guid>
		<description><![CDATA[Firstly I would like to thank the comments especially from Paul Toker and Brad Kroeger from ICESoft for their commentry, particularly around creating a ICEfaces Facelets Project as compared to a ICEfaces Project. The Advantage of this is that it allows you to work with xhtml as opposed to jspx. If you would like to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=liyaqatm.wordpress.com&amp;blog=8602088&amp;post=39&amp;subd=liyaqatm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Firstly I would like to thank the comments especially from Paul Toker and Brad Kroeger from ICESoft for their commentry, particularly around creating a ICEfaces Facelets Project as compared to a ICEfaces Project.</p>
<p>The Advantage of this is that it allows you to work with xhtml as opposed to jspx. If you would like to read my previous ICEfaces post have a look here:</p>
<p>http://liyaqatm.wordpress.com/2010/01/20/icefaces-quick-review</p>
<p><strong>Review</strong></p>
<p>Thus far we have done the following:</p>
<ul>
<li>Brief ICEfaces introduction</li>
<li>Setup our Eclipse environment</li>
<li>Completed a sample ICEfaces tutorial</li>
</ul>
<p>Being a Java developer for a few years I have briefly touched various technologies such as EJB&#8217;s, SWING, GWT, MyGWT (please note they might not all be related <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  ) and after completing my first tutorial this technology felt very similar (kinda) to a recruitement home page i created using Velocity.<br />
Just one minute, I know some guys will be saying what the heck am I on about, am I crazy? Well the similarities I draw from Velocity and this is the ability to inject beans into my front end and use them (with Velocity the objects seemed more at my disposal though)</p>
<p>This will be a short post as I just wanted to jott down my thoughts on what I have learnt thus far and what are the actual benefits I see (could be quite premature, actually is very premature to say) but  just my ideas on what it all involves.</p>
<p><strong>Potential Advantages</strong></p>
<ul>
<li>Quick creation of XHTML front ends</li>
<li>Ability to link these front-ends to Java</li>
<li>AJAX Push Updates</li>
<li>Usage of well defined widgets</li>
<li>Large Community with enough support</li>
</ul>
<p>There are other advantages but the few mentioned above are just those that came to mind at this point.  Have a look at the ICEfaces website: <a href="http://www.icefaces.org">www.icefaces.org</a> and if you not registered register and have a look at their samples.  They occasionally lack some detail but once you get a few working you will be able to go through the others quite quickly.</p>
<p>Thats my thoughts for now, what I plan on doing is going through some more tutorials and will be sure to let you know how that goes.</p>
<p><a title="WWW.ICEFACES.ORG" href="http://WWW.ICEFACES.ORG">WWW.ICEFACES.ORG</a></p>
<p>Blog Soon!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/liyaqatm.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/liyaqatm.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/liyaqatm.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/liyaqatm.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/liyaqatm.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/liyaqatm.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/liyaqatm.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/liyaqatm.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/liyaqatm.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/liyaqatm.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/liyaqatm.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/liyaqatm.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/liyaqatm.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/liyaqatm.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=liyaqatm.wordpress.com&amp;blog=8602088&amp;post=39&amp;subd=liyaqatm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://liyaqatm.wordpress.com/2010/01/20/icefaces-quick-review/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/efc2a0efdb53991b3e53c774e3888fa0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">liyaqatm</media:title>
		</media:content>
	</item>
		<item>
		<title>ICEfaces &#8211; The Meltdown 2</title>
		<link>http://liyaqatm.wordpress.com/2010/01/19/icefaces-the-meltdown-2/</link>
		<comments>http://liyaqatm.wordpress.com/2010/01/19/icefaces-the-meltdown-2/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 08:53:20 +0000</pubDate>
		<dc:creator>Liyaqat</dc:creator>
				<category><![CDATA[ICEfaces]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[FrontEnd]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Tomcat]]></category>

		<guid isPermaLink="false">http://liyaqatm.wordpress.com/?p=26</guid>
		<description><![CDATA[Day 2, Well, thus far we have gotten a brief overview of ICEfaces. In theory it sounds very powerful with all these fancy terms such as AJAX Push and easy skinning. If you have not read my previous ICEfaces  post have a look here: http://liyaqatm.wordpress.com/2010/01/15/icefaces-the-meltdown/ Developers learn best (atleast I do) through practicals, so let [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=liyaqatm.wordpress.com&amp;blog=8602088&amp;post=26&amp;subd=liyaqatm&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Day 2,</strong></p>
<p>Well, thus far we have gotten a brief overview of ICEfaces. In theory it sounds very powerful with all these fancy terms such as AJAX Push and easy skinning. If you have not read my previous ICEfaces  post have a look here: <a href="http://liyaqatm.wordpress.com/2010/01/15/icefaces-the-meltdown/">http://liyaqatm.wordpress.com/2010/01/15/icefaces-the-meltdown/</a></p>
<p>Developers learn best (atleast I do) through practicals, so let us begin by setting up our development environment.</p>
<p>I will be using Eclipse Galileo. The first thing I did was add the Eclipse ICEfaces plugin by doing the following:</p>
<p><strong> Installing the Eclipse Plugins</strong></p>
<p>Select Help -&gt; Install New Software</p>
<p>The <em><strong>Install </strong></em>dialog will open up, Select the Add button and the <em><strong>Add Site</strong></em> dialog will open</p>
<p>In the <strong><em>Add Site</em></strong> dialog add a Name of your choice something like ICEfaces Plugin and in the URL enter the following URL : <a href="http://www.icefaces.org/eclipse-updates/">http://www.icefaces.org/eclipse-updates/</a></p>
<p>After selecting this you should see a list of plugins, select all and next. This will install the required plugins and you will be prompted to restart Eclipse.</p>
<p><strong>Installing the Libraries</strong></p>
<p>We installed the required plugins for Eclipse now we need the libraries to actually provide us with the ICEfaces functionality. Since we using the amazing Eclipse we do not need to actually even do this seperately rather do it when we create a new project and Eclipse will allow us to download the required libraries, amazing I tell you! Beats my days on campus when I would need to actually figure out all these complexities and sometimes be stuck with jar / library issues.</p>
<p><strong>Creating a Test Project</strong></p>
<p><strong><em>Requirements:</em></strong></p>
<ul>
<li>Eclipse (used in this example)</li>
<li>Tomcat 6</li>
<li>Internet access ( to download the required libraries, else have them already saved)</li>
</ul>
<p><strong>Let us begin:</strong></p>
<p>From Eclipse,</p>
<p>Select <em>New-&gt; Other -&gt; Web -&gt; Dynamic Web Project</em></p>
<div id="attachment_35" class="wp-caption alignnone" style="width: 310px"><a href="http://liyaqatm.files.wordpress.com/2010/01/create-new-project1.jpg"><img class="size-medium wp-image-35" title="Create New Project" src="http://liyaqatm.files.wordpress.com/2010/01/create-new-project1.jpg?w=300&#038;h=299" alt="" width="300" height="299" /></a><p class="wp-caption-text">Create New Project</p></div>
<p>Enter your project name, make sure the <strong>Dynamic Web Module version is set to 2.5 </strong>and <strong>configuration uses ICEfaces Project</strong></p>
<div id="attachment_29" class="wp-caption alignnone" style="width: 259px"><a href="http://liyaqatm.files.wordpress.com/2010/01/enter-project-name.jpg"><img class="size-medium wp-image-29 " title="Enter Project Name" src="http://liyaqatm.files.wordpress.com/2010/01/enter-project-name.jpg?w=249&#038;h=300" alt="" width="249" height="300" /></a><p class="wp-caption-text">Enter Project Name</p></div>
<p>Enter the project name and other details. We have setup the project name and server details now we get to the <em>build path screen</em>, leave it as is and select Next.</p>
<p>On the <em>Web Module screen</em> ensure that the <strong>Generate web.xml deployment descriptor is selected</strong> then select Next.</p>
<p>This takes us to the <em>JSF Capabilities screen</em>, this is where the smart stuff happenWe will require three libraries:</p>
<ul>
<li>ICEfaces Core Library v1.8.2</li>
<li>JSF 1.2 (Sun RI)ICEfaces</li>
<li>Support Library v1.8.2</li>
</ul>
<div id="attachment_37" class="wp-caption alignnone" style="width: 310px"><a href="http://liyaqatm.files.wordpress.com/2010/01/download-libraries1.jpg"><img class="size-medium wp-image-37" title="Download Libraries" src="http://liyaqatm.files.wordpress.com/2010/01/download-libraries1.jpg?w=300&#038;h=191" alt="" width="300" height="191" /></a><p class="wp-caption-text">Download Libraries</p></div>
<p>To add a library simply select the download library link and Eclipse will search for the required libraries. Out of this list select each library above and install individually (NOTE: Only one library is installled at a time, so you will have to go back to the download library link each time).Download Libraries</p>
<p>Select Next, then Finish. We have created our project that contains the required structures and sample homepage. To run the project we need to add a server by going to the Servers dialog.</p>
<div id="attachment_31" class="wp-caption alignnone" style="width: 310px"><a href="http://liyaqatm.files.wordpress.com/2010/01/servers.jpg"><img class="size-medium wp-image-31" title="Servers" src="http://liyaqatm.files.wordpress.com/2010/01/servers.jpg?w=300&#038;h=67" alt="" width="300" height="67" /></a><p class="wp-caption-text">List of existing servers</p></div>
<p>We add a general Tomcat V6 Server by going to</p>
<p><em>New -&gt; Server</em></p>
<p>From this screen we select the our Tomcat<em> </em>Version 6 and Select Next. On the next screen we include our test project then select Finish.</p>
<p>Start the Server by right clicking on the server and <em>selecting Start</em></p>
<p><em>Please ensure you have all your libraries in place else you will be getting some funny and more common java.lang.NoClassDefFoundError Exceptions. </em></p>
<p>Once all the issues (if any) are resolved entering <a href="http://localhost:8080/yourprojectname">http://localhost:8080/yourprojectname</a> , where yourprojectname is the name you selected will result in the following test page being displayed:</p>
<div class="mceTemp">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a href="http://liyaqatm.files.wordpress.com/2010/01/success.jpg"><img class="size-medium wp-image-32" title="Success" src="http://liyaqatm.files.wordpress.com/2010/01/success.jpg?w=351&#038;h=240" alt="" width="351" height="240" /></a></dt>
<dd class="wp-caption-dd">Successful creation of sample ICEfaces project</dd>
</dl>
<p>What a great feeling it is to see this screen. This is only the begining. My apologies for lacking some detail in this post but I am trying to learn the technology as I post so does take some time. Please feel free to leave any recommendations or comments you may have.</p>
</div>
<div class="mceTemp"><a title="WWW.ICEFACES.ORG" href="http://WWW.ICEFACES.ORG">WWW.ICEFACES.ORG</a></div>
<div class="mceTemp"></div>
<div class="mceTemp">Blog Soon!</div>
<p><em> </em></p>
<p><em> </em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/liyaqatm.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/liyaqatm.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/liyaqatm.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/liyaqatm.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/liyaqatm.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/liyaqatm.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/liyaqatm.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/liyaqatm.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/liyaqatm.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/liyaqatm.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/liyaqatm.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/liyaqatm.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/liyaqatm.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/liyaqatm.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=liyaqatm.wordpress.com&amp;blog=8602088&amp;post=26&amp;subd=liyaqatm&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://liyaqatm.wordpress.com/2010/01/19/icefaces-the-meltdown-2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/efc2a0efdb53991b3e53c774e3888fa0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">liyaqatm</media:title>
		</media:content>

		<media:content url="http://liyaqatm.files.wordpress.com/2010/01/create-new-project1.jpg?w=300" medium="image">
			<media:title type="html">Create New Project</media:title>
		</media:content>

		<media:content url="http://liyaqatm.files.wordpress.com/2010/01/enter-project-name.jpg?w=249" medium="image">
			<media:title type="html">Enter Project Name</media:title>
		</media:content>

		<media:content url="http://liyaqatm.files.wordpress.com/2010/01/download-libraries1.jpg?w=300" medium="image">
			<media:title type="html">Download Libraries</media:title>
		</media:content>

		<media:content url="http://liyaqatm.files.wordpress.com/2010/01/servers.jpg?w=300" medium="image">
			<media:title type="html">Servers</media:title>
		</media:content>

		<media:content url="http://liyaqatm.files.wordpress.com/2010/01/success.jpg?w=300" medium="image">
			<media:title type="html">Success</media:title>
		</media:content>
	</item>
	</channel>
</rss>
