<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MilesTree - A place to Publish and Read Research online</title>
	<atom:link href="http://www.milestree.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.milestree.com</link>
	<description>You are an independent researcher</description>
	<lastBuildDate>Mon, 06 Feb 2012 08:47:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Among the literary greats who have emerged from France, Alexander Dumas (24 July 1802 &#8211; 5 December 1870)</title>
		<link>http://www.milestree.com/uncategorized/among-the-literary-greats-who-have-emerged-from-france-alexander-dumas-24-july-1802-5-december-1870</link>
		<comments>http://www.milestree.com/uncategorized/among-the-literary-greats-who-have-emerged-from-france-alexander-dumas-24-july-1802-5-december-1870#comments</comments>
		<pubDate>Mon, 06 Feb 2012 08:47:33 +0000</pubDate>
		<dc:creator>johnmatt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.milestree.com/uncategorized/among-the-literary-greats-who-have-emerged-from-france-alexander-dumas-24-july-1802-5-december-1870</guid>
		<description><![CDATA[Among the literary greats who have emerged from France, Alexander Dumas (24 July 1802 &#8211; 5 December 1870) stands out with his popular set of historical novels which have adventure as their forte. Dumas was the grandson of a French noble man of high authority and a slave of Haitian origin. Many of his novels [...]]]></description>
			<content:encoded><![CDATA[<p>Among the literary greats who have emerged from France, Alexander Dumas (24 July 1802 &#8211; 5 December 1870) stands out with his popular set of historical novels which have adventure as their forte. Dumas was the grandson of a French noble man of high authority and a slave of Haitian origin. Many of his novels such as The Count of Monte Cristo, The Three Musketeers have been made into serials. He has also written plays and was a correspondent.</p>
<p>Although Alexander Dumas was born in poverty, in 1822 after monarchy was restored, he went to Paris where he worked for Louis Philippe, Duke of Orleans. In Paris, he began writing plays for the theater and magazines. Henry III and His Courts, his first play won critical acclaim and his next play, Christine also became popular.</p>
<p>Then Dumas turned his attention to writing more novels. When newspapers of the quarter of the 18th century required serial novels, in 1838, he re-wrote one of his plays titled Le Capitaine Paul to create his first serial novel.</p>
<p>The eight volume collection of essays on famous criminals and crimes taken from European History was complied in the duration of 1839 to 1841 with the assistance of his several friends. He could write many novels because he had many acquaintances such as Paul Lacroix, Paul Bocage and others, but the prominent among them was Auguste Maquet who outlined the important plots and made significant contributions to novels. Prominent among them were The Count of Monte Cristo and The Three Musketeers and its sequels.</p>
<p>Although he gained name and fame, he was frequently into debt as he concentrated mainly on lavish living. The ouster of King Louis Philippe in a revolt was the last straw as his predecessor and newly elected President, Louis Napoleon Bonaparte was not in favor of Alexander Dumas. He fled to Brussels, Belgium and then to Russia where he was already popular through his works. After spending nearly two years in Russia, he went to Italy in 1861 where he founded the newspaper named as Indipendente, before returning to Paris in 1864.</p>
<p><a title="uggs discount" href="http://www.yoursoboots.com/">uggs discount</a><br />
<a title="ugg kids" href="http://www.yoursoboots.com/">ugg kids</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.milestree.com/uncategorized/among-the-literary-greats-who-have-emerged-from-france-alexander-dumas-24-july-1802-5-december-1870/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Books and ebooks &#8211; importance in today&#8217;s web world</title>
		<link>http://www.milestree.com/internet/books-and-ebooks-importance-in-todays-web-world</link>
		<comments>http://www.milestree.com/internet/books-and-ebooks-importance-in-todays-web-world#comments</comments>
		<pubDate>Sun, 05 Feb 2012 09:28:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[internet]]></category>

		<guid isPermaLink="false">http://www.milestree.com/?p=1079</guid>
		<description><![CDATA[There was a time when peoples had to entirely depend on books for any information in their research, studies or their projects because most information is provided in the forms of books or papers, now the situations is very much different in todays world where billions of web pages easily searchable through Google and provides [...]]]></description>
			<content:encoded><![CDATA[<p>There was a time when peoples had to entirely depend on books for any information in their research, studies or their projects because most information is provided in the forms of books or papers, now the situations is very much different in todays world where billions of web pages easily searchable through Google and provides you exactly what you looking for in a very short form. Twitter has even  way of sharing information through micro-blogging concept. This article will try to discuss are, books/ebooks media still relevant ? will they loose grounds completely in future?<span id="more-1079"></span></p>
<p>In this article I am putting books and ebooks in the same pane as slowly ebooks will replace traditional printing media.</p>
<p><strong>Commercializing information</strong></p>
<p>Author still likes to stick with books who are sharing critical information thorugh their research it allows them make money out of their work it, copyright information goes together with their content, restricted circulation and protection of information using printed or DRM technologies which is not possible with information put on web pages, some journals who requires money to be paid for reading their content put all the information in PDF or ebooks.</p>
<p><strong>An authentic source of information</strong></p>
<p>For a casual web reader html is okay but if someone is looking for well established and authentic information the only source is copyrighted media from its responsible author/publishers for example a college student cannot have his exam anwers all taken from web pages or a phD searcher doing advanced Dermatology cases will rely on data provided from a journals.</p>
<p><strong>Modern  Ebook reader</strong></p>
<p>It was speculated that book media will die but it has been energised by innovations in ebook reader technologies like Amazon Kindle now peoples dont take books as boring or serious matter anymore. The problems of eye-stress and tiring happens with computer screen is very much resolved in those ebook reader devices, they allow you to reader books while sleeping.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.milestree.com/internet/books-and-ebooks-importance-in-todays-web-world/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java programming interview questions &#8211; New list</title>
		<link>http://www.milestree.com/java/java-programming-interview-questions-new-list</link>
		<comments>http://www.milestree.com/java/java-programming-interview-questions-new-list#comments</comments>
		<pubDate>Fri, 27 Jan 2012 07:02:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.milestree.com/?p=1013</guid>
		<description><![CDATA[I am trying to put here some less discussed interview questions on java, as recruiters have become intelligent and changed their question patterns little different. Questioned asked during interview for a 2 years of experienced person compared to 4+ varies greately, in former people check mostly knowledge of oops and ability of do basic programming , but [...]]]></description>
			<content:encoded><![CDATA[<p>I am trying to put here some less discussed interview questions on java, as recruiters have become intelligent and changed their question patterns little different. Questioned asked during interview for a 2 years of experienced person compared to 4+ varies greately, in former people check mostly knowledge of oops and ability of do basic programming , but in case of more experienced programmers they can ask intricate details of java programming and questions related to frameworks.<span id="more-1013"></span></p>
<h2>General / Core Java Questions</h2>
<p>1. <strong>How is IP address of client/user machine detected at server side.</strong></p>
<p>A. Servlet request parameter holds this information ip = request.getRemoteAddress();</p>
<p>2. <strong>Static and dynamic class loading</strong></p>
<p>A. Static loading : new MyClass() &amp; dynamic loading : Class.forName(&#8220;com.example.ClassName&#8221;);</p>
<p>3.<strong> Use cases for java annotations</strong></p>
<p>A. Compile time code error checking for example @Override,</p>
<p>4. <strong>How does web container talks to other application in same container?</strong></p>
<p><strong>5. If you are using a non-string class as key in java Collection for storing objects, what goes in hashCode() and equals() method for that class.</strong></p>
<p>A. equals() will return your ctieria for search match for example, in get(), delete(), methods of your collection, hashCode() should return untique number for that object it can be additional int/long id field for that class. For more information <a href="http://tutorials.jenkov.com/java-collections/hashcode-equals.html">Implementing hashCode() and equals() in your classes</a></p>
<p>6. <strong>Why it is recommended to use  Serial version uid for Serializable classes in java</strong></p>
<p>A. During reading and writing serializable objects in bytestream same class definition must be used whose object is being written and read,, take an example when an object is serialized using a class which is later updated and when you try to read old bytes  back it can cause serious problems so each time you update a class you also update serial version uid this will throw run time exception and thus prevents any wrong results.</p>
<p>7. <strong>What is thread pooling and how we can control it in Apache Tomcat Server</strong></p>
<p>A. Thread pooling is creating fixed number of thread initially when application is loaded and all subsequent requests are  handled by spare threads instead of creating new threads for every new request, if no threads are available request will go into ques, this helps in lowering server loads, number of active thread in pool can be configured at server.xml file  namely with &#8220;maxThreads&#8221; and &#8220;minSpareThreads&#8221;.</p>
<p>8. <strong>Why is factory pattern used in java</strong></p>
<p>A. Instead of using &#8220;<em>new</em>&#8221; operator for creating objects of a class one can use Factory method where  attributes of resulting objects are not known until runtime, A Factory class is used for this whose static method for example Factory.create(&#8220;animal-type&#8221;) can return objects from Dog, Cat or Horse class depending on conditions but because all of them belong to super class Animal we can assign something like <em>Animal a = Factory.create(&#8220;type&#8221;). </em></p>
<p>Another example who have used GWT (Google Web Toolkit) framework uses frequently GWT.create(&#8220;classname&#8221;)</p>
<h2>Framework Related Questions</h2>
<p><strong>1. In strut2  list the functionality offered  by default and commonly created interceptors </strong></p>
<p>A. <em>ParametersInterceptor </em>invokes setter method of an Action class, validation, workflow,</p>
<p>2. <strong>What are Entity types in hibernate and how one can use them to find records.</strong></p>
<p>A.</p>
<p>3. <strong>What are HQL Query in Hybernate</strong></p>
<p>A. It is short for Hybernate Query language it is more powerful than normal SQL for example it supports Object oriented relationships, it is shorter and case sensitive example &#8220;from User&#8221; brings list of all users or &#8220;from User WHERE id=123&#8243; etc</p>
<h2>External reference</h2>
<p><a href="http://www.developersbook.com/hibernate/interview-questions/hibernate-interview-questions-faqs.php">http://www.developersbook.com/hibernate/interview-questions/hibernate-interview-questions-faqs.php</a> [Hibernate Interview Questions]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.milestree.com/java/java-programming-interview-questions-new-list/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adult Circumcision avoid complications with little Research</title>
		<link>http://www.milestree.com/health-fitness/adult-circumcision-avoid-complications-with-little-research</link>
		<comments>http://www.milestree.com/health-fitness/adult-circumcision-avoid-complications-with-little-research#comments</comments>
		<pubDate>Sun, 22 Jan 2012 04:21:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[health & fitness]]></category>

		<guid isPermaLink="false">http://www.milestree.com/?p=971</guid>
		<description><![CDATA[NOTE : All information given in this page is solely for medical awareness and for the benefits of peoples who are thinking to go such medical procedure.
This article will try to bring out some less known and discussed facts on male circumcision, usually infants goes through it but there is great awareness towards circumcision as a beneficial surgical procedure. We are [...]]]></description>
			<content:encoded><![CDATA[<p><em><em><span style="color: #808080;">NOTE : All information given in this page is solely for medical awareness and for the benefits of peoples who are thinking to go such medical procedure.</span></em></em></p>
<p>This article will try to bring out some less known and discussed facts on male circumcision, usually infants goes through it but there is great awareness towards circumcision as a beneficial surgical procedure. We are not going to waste our time here dicussiong things like unnecessary mutilation of body. The discussion is general purpose and not tied to any specific circumcision technique.</p>
<p>Why would some adult wants to go for a circumcision at adult phase? well the answer is personal preference and great deal of protection against STDs. I highly recommend that doing little research and understanding basics of surgery &amp; complications with any surgery will help you to decide and also gain maximum from your circumcision therapy.<span id="more-971"></span></p>
<p><strong>Benefits of Circumcision</strong></p>
<ol>
<li>Aesthetically clean body free of any odor.</li>
<li>Cosmetically better appearance as preferred by some majority .</li>
<li>More protection from STD like HIV, inner surface of foreskin is target cell for HIV virus so if intercourse has no bleeding even then male is likely to accept virus particles, in case of circumcised men inner foreskin is exposed to environment and slowly becomes hard, this theory is tested in several statistically search.</li>
</ol>
<p><strong>Disadvantage and Risks</strong></p>
<ol>
<li>Surgical circumcision leads to bleeding and sometimes cannot be stopped easily</li>
<li>After few days of surgery cut areas forms what is called necrosis which can be fatal in rare cases</li>
<li>If foreskin is not removely evenly and correctly it will (which happens with less experienced surgens) it will lead to bad</li>
<li>Some nerve ends are blocked at  one end and can cause pain or complications during erection.</li>
<li>A circumcised penis makes masturbation difficult and requires usage or lubricant, to some extent it happens in intercourse too.</li>
<li>For more information visit <a href="http://www.norm-uk.org/circumcision_lost.html">What is lost after circumcision</a>?</li>
</ol>
<p><strong>Myths</strong></p>
<ol>
<li>Some peoples report loss of sensitivity and say it can hamper your performance during intercourse, while its true that there is some loss in sensitivity of penis glands but erection and excitements are controlled by psyche power and emotions</li>
</ol>
<p><strong>R&amp;D and Preparation</strong></p>
<ol>
<li>Practice of Holding back foreskin for like a months, this will give you some idea how an cicumcised men lives, and whether your penis will be able okay for it.</li>
<li>Think of partial circumcision for the first time before removing all of foreskin and results suits you you can go for next round of surgery.</li>
</ol>
<p><strong>Verify Surgery Procedure</strong></p>
<ol>
<li>Surgeon is using some device like <a href="http://www.smartcircumcision.com/smartklamp.html">Smartklemp </a>or Plastibell or doing it freehand cutting, later is  risky unless they are well experienced.</li>
<li>Line marking on foreskin how much has is be removed, with some R&amp;D you should be able to give inputs how much has to be removed, because if excess skin is removed there can be complications at later stage</li>
</ol>
<p><strong>Some questions mark</strong></p>
<ol>
<li>Formation of necrotic tissues after cut is made, basically these are population of dead cells along the cut line, closely associated with gangrene this is not natural process like coagulation of blood and can be deadly in rare cases.</li>
<li>Some big and medium size nerves get blocked at one end after cut is healed, usually it would require time to form a new course of flow by those nerves. If done at adult stage this can cause complications during erection when biological changes in body reaches saturation.</li>
</ol>
<p><strong>External References</strong></p>
<ol>
<li>[Male Circumcision and Risk for HIV Transmission] <a href="http://www.cdc.gov/hiv/resources/factsheets/circumcision.htm">http://www.cdc.gov/hiv/resources/factsheets/circumcision.htm</a></li>
<li>[Smart Klamp] <a href="http://www.youtube.com/watch?v=m__WgFr7vmo">http://www.youtube.com/watch?v=m__WgFr7vmo</a></li>
<li>[Laser circumcision photo and video] <a href="http://urologycentre.com.sg/circumcision_photos.html">http://urologycentre.com.sg/circumcision_photos.html</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.milestree.com/health-fitness/adult-circumcision-avoid-complications-with-little-research/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java Struts and Cakephp framework the Difference</title>
		<link>http://www.milestree.com/java/java-struts-and-cakephp-framework-the-difference</link>
		<comments>http://www.milestree.com/java/java-struts-and-cakephp-framework-the-difference#comments</comments>
		<pubDate>Thu, 19 Jan 2012 03:56:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.milestree.com/?p=945</guid>
		<description><![CDATA[This article is designed to throw some comparison between Struts2.x  and cakephp 1.3.x framework, this will also apply for other version of these framework to a great extent, this can be helpful to a cakephp framework developers  to make shift to java struts or vice versa. Difference listed here I resting on what I know [...]]]></description>
			<content:encoded><![CDATA[<p>This article is designed to throw some comparison between Struts2.x  and cakephp 1.3.x framework, this will also apply for other version of these framework to a great extent, this can be helpful to a cakephp framework developers  to make shift to java struts or vice versa. Difference listed here I resting on what I know please feel free to post a comments.</p>
<p>Both are popular MVC framework and used for different situations a programmer coming from one background will scratch his head trying to figure out why this MVC not doing the work that MVC while there is plenty of architectural difference between two, here i am going to compare them but these points do not conclude anything that one framework is better than other.</p>
<p>1. <strong>Configuration </strong>-&gt; In struts you will need to define configuration files in the form of web.xml, struts.xml, tiles.xml or hibernate.cfg.xml in case you are using hibernate ORM, in cakephp minimal or no such configuration is required Cakephp has its built on ORM packaged along with main framework.<span id="more-945"></span></p>
<p>2. <strong>OOPs </strong>- All configuration/XML files for example tiles used for creating layouts and struts.xml etc use parent/child or better call object oriented relationship and one configuration can be inherited/extended by other, this feature is absent in cakephp</p>
<p>3. <strong>Controller </strong>-In cake we have Controller class do doing action specific task  for example app_controller or users_controller same is replaced by Action classes in struts for example UsersAction, it contains all necessary methods. NOTE that cake has few methods namely <em>beforeFilter</em>(), <em>afterRender</em>() that automatically do necessary logic/processing before execution of actual action method, we have parallel option in struts by implementing <em>Preparable </em>interface to that Action class and override its <em>prepare</em>() method.</p>
<p>If no action name are supplied as url parameter to particular controller, in case cakephp a index() method is invoked as default action, in case struts it is execute() method which is supposed to return String like &#8220;success&#8221; or &#8220;error&#8221; .</p>
<p>4. <strong>Views </strong>- In Struts views/jsp objects can access controller method using java beans and display entries obtained from database in case of Cake this is opposite, controller will select views and decide what variables are passed to views.</p>
<p>5. <strong><strong>HTTP Request</strong> data-</strong> For Cake data passed from views to controller as GET or POST parameter is obtained as <em>$this-&gt;data</em> (for POST) and $args1, $args2 etc as arguments in controller methods (for GET), in case struts you have corresponding field in Action class to hold that parameter and a pair of setter/getting methods having same name as parameter passed from views, it automatically makes those variables initialized and available for use, this works for both kind of data GET or POST.</p>
<p>6. <strong>Auto Magic</strong> &#8211; Cakephp does some magic stuff  when pulling data from a table, by just knowing table name without entering column info one can get properly mapped array result, in struts when we do manual JDBC or hibernate ORM one has to specify each column names and map it to a variables, these information are kept a XML configuration file. This feature in cakephp has some  drawbacks also.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.milestree.com/java/java-struts-and-cakephp-framework-the-difference/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transformed gender scammers at Facebook</title>
		<link>http://www.milestree.com/facebook/transformed-gender-scammers-at-facebook</link>
		<comments>http://www.milestree.com/facebook/transformed-gender-scammers-at-facebook#comments</comments>
		<pubDate>Sun, 15 Jan 2012 04:13:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[facebook]]></category>

		<guid isPermaLink="false">http://www.milestree.com/?p=935</guid>
		<description><![CDATA[This title is nothing new to you but I am going to present some facts, showing how peoples are using facebook to get away with their intentions, I believe that almost 40% female profile in facebook are fake. There are various reasons why peoples are creating fake facebook profile, I am using some slang or so called badwords but [...]]]></description>
			<content:encoded><![CDATA[<p>This title is nothing new to you but I am going to present some facts, showing how peoples are using facebook to get away with their intentions, I believe that almost 40% female profile in facebook are fake. There are various reasons why peoples are creating fake facebook profile, I am using some slang or so called badwords but solely to describe the situation.</p>
<p><strong>Forms of Tout</strong></p>
<p>Well known fact that peoples are trying to use facebook to find dating or partners from opposite sex, this is not different from other social media sites have seen. But after getting bad response from females users, male peoples have changed their gender!</p>
<p>They start posing Female, homosexual women or crossdressers just to get into the list of female users, they expect that this way they will somehow be able to get personal with females and slowly reveal their malehood without turning-off  the game. These peoples will write &#8220;I am that *** crazy girl and this that&#8221;, &#8220;guys don&#8217;t send me request&#8221; etc.<span id="more-935"></span></p>
<p>Then there are user with thousands plus friends in their list, what they are looking for is? to promot their websites, sell something or want to collect some analytic market data by sending things like vote plugins to peoples in their list. It is not too abvious that one can make great use if too many peoples are in their friend list.</p>
<p>Then there are gays who are interested in straight men, knowing that is hard to persude straight men having date with them they are posing as female, during chat they will say I have one boyfriend who want to do MMF 3 sum.</p>
<p><strong>How to identify them</strong></p>
<p>1. Too many friend like over 500+ ignore them.</p>
<p>2. &#8220;About me&#8221; if it says guys dont send, so its clear that profile is made by a guy.</p>
<p>3. Flagged by names when you see combination of popular name and surname, sometimes tout will use &#8220;Sonua Sharma&#8221; both words are starting from &#8220;S&#8221; and perfect combination.</p>
<p>4. Always check their friend list before sending or accepting friend request to them, for example if a Male prtetending should have more man or equal men-woman ratio but if he has almost all womans in friend list, it can be scammer.</p>
<p>5. Picture -&gt; very attractive profile or album pictures and also what is being highlighted in pictures can reveal the actual.sex of profile  maker.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.milestree.com/facebook/transformed-gender-scammers-at-facebook/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse not building class files &#8211; Servlet not found</title>
		<link>http://www.milestree.com/java/eclipse-not-building-class-files-servlet-not-found</link>
		<comments>http://www.milestree.com/java/eclipse-not-building-class-files-servlet-not-found#comments</comments>
		<pubDate>Sun, 18 Dec 2011 04:14:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.milestree.com/?p=927</guid>
		<description><![CDATA[I was developing a web application, deployed and run from inside eclipse embedded tomcat server. Few days back when I  accessed this project I found that project is not running and throwing some ClassNotFound exception that system could not find servlet class. I verified everything like servlet class was in place and web.xml file had [...]]]></description>
			<content:encoded><![CDATA[<p>I was developing a web application, deployed and run from inside eclipse embedded tomcat server. Few days back when I  accessed this project I found that project is not running and throwing some ClassNotFound exception that system could not find servlet class. I verified everything like servlet class was in place and web.xml file had correct entries.</p>
<p>I wasted lot of time trying to find over Google why server container is not loading my servlet, nothing I found useful then suddenly this thing popped into my mind that maybe my .class files are not found or not being generated after clean build. And yes when i peeked into &#8220;WebContent/build/classes&#8221; files nothing was there, so that was the source of all evil.</p>
<p>Why eclipse is not building class files ? &#8220;Build automatically&#8221; was checked. I search a lot here is one  thread where peoples have tried all possible tactics <a href="https://forums.oracle.com/forums/thread.jspa?threadID=1518457">https://forums.oracle.com/forums/thread.jspa?threadID=1518457</a></p>
<p>But  this also didnt helped me, but now I am perfectly able to compiled it and run my project here is how</p>
<p><a href="http://www.milestree.com/wp-content/uploads/2011/12/eclispe-build-problem.jpg"><img class="alignnone size-full wp-image-928" title="eclispe-build-problem" src="http://www.milestree.com/wp-content/uploads/2011/12/eclispe-build-problem.jpg" alt="eclipse build class file looking into problems" width="659" height="180" /></a></p>
<p>Besides Console view there will be &#8220;Marker&#8221; or &#8220;Problems&#8221; window that logs flagged issues for the project.Iif there are any error eclipse will not compile the project, you will need to first resolve those flags</p>
<p>Every time you make any change in project do Right click on project -&gt; Refresh and marker window will update itself, if  major errors are gone you will be now able to do Auto build when running the app.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.milestree.com/java/eclipse-not-building-class-files-servlet-not-found/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android Development some Facts</title>
		<link>http://www.milestree.com/android/android-development-some-facts</link>
		<comments>http://www.milestree.com/android/android-development-some-facts#comments</comments>
		<pubDate>Thu, 10 Nov 2011 10:02:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[android]]></category>

		<guid isPermaLink="false">http://www.milestree.com/?p=884</guid>
		<description><![CDATA[I am taking this information from Google&#8217;s Android site just for easy browsing and record keeping of myself and other peoples, All information is owned by Google and I mean NO violation of their copyright, While I cannot guarantee the accuracy of information provided here, for more detailed information please visit http://developer.android.com/guide

Android components are Application, [...]]]></description>
			<content:encoded><![CDATA[<p>I am taking this information from Google&#8217;s Android site just for easy browsing and record keeping of myself and other peoples, All information is owned by Google and I mean NO violation of their copyright, While I cannot guarantee the accuracy of information provided here, for more detailed information please visit <a href="http://developer.android.com/guide">http://developer.android.com/guide</a></p>
<ul>
<li>Android components are Application, Application framework, libraries, Core libraries and Linux kernal.</li>
<li>Android was built on linux kernal v2.6 which has four basic functioning security management, process management, network stack and driver module.</li>
<li>Android application are built on Java language and runs on Dalvik Virtual Machine those files are .dex extension</li>
<li>Application are packaged as .apk extension Each of them runs as process and creates instance of Davik virtual machine<code>.</code></li>
<li>With its multi-user capability Android allows unique users id to assign with each running application that runs on its own container limited by the permission of that user.</li>
<li>Due to every Android apps are running in separate instance of VM they are isolated and security risk and failure are minimized.</li>
<li>Application can access resource outside its scope by sharing same user id with other process or requesting to Resource manager library.</li>
<li>Application components are divide into four types 1 Activity -Front end  functionality it provides using user interaction, 2Services &#8211; Backend operations to support activity, 3 Content provide &#8211; access data from other applications, 4Broadcast receiver &#8211; receive triggers system wide</li>
<li>Android system are multi entry point</li>
<li>Android applications are invoked as services or activity by Intent Call from other components/application, some applications for example content provider cannot be started by this method but you will have to go through contentResolver</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.milestree.com/android/android-development-some-facts/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating to cakephp 2.0 tips and changes</title>
		<link>http://www.milestree.com/php/migrating-to-cakephp-2-0-tips-and-changes</link>
		<comments>http://www.milestree.com/php/migrating-to-cakephp-2-0-tips-and-changes#comments</comments>
		<pubDate>Wed, 02 Nov 2011 12:32:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.milestree.com/?p=870</guid>
		<description><![CDATA[Cakephp has released 2.0 version with lot of changes in API, and nice features. The highly sought ORM capability is also added in this version, while I was migrating from my old 1.3.x app to cake 2.0 faced lots of dificulties and thought to share with you peoples. This is a quick note, more verbose [...]]]></description>
			<content:encoded><![CDATA[<p>Cakephp has released 2.0 version with lot of changes in API, and nice features. The highly sought ORM capability is also added in this version, while I was migrating from my old 1.3.x app to cake 2.0 faced lots of dificulties and thought to share with you peoples. This is a quick note, more verbose information can be found at</p>
<p><a title="Cake 2.0 lighthouse" href="http://book.cakephp.org/2.0/en/appendices/2-0-migration-guide.html">http://book.cakephp.org/2.0/en/appendices/2-0-migration-guide.html</a></p>
<p>1. Rename all controllers <em><strong>pizza_controller.php</strong></em> becomes <em><strong>PizzaController.php</strong></em> same as classs name</p>
<p>2. Rename All components for example <em><strong>my_mail.php</strong></em> becomes <em><strong>MyMailComponent.php</strong></em></p>
<p>3. Move <em><strong>AppController</strong></em> (former <em><strong>app_controller</strong></em>) from app/ directory to app/Controller/ directory.</p>
<p>4. <strong>In views</strong></p>
<ul>
<li>Use <span style="color: #0000ff;">$this-&gt;Html-&gt;link() </span>instead of <span style="color: #0000ff;">$html-&gt;link()</span></li>
<li>Use <span style="color: #0000ff;">$this-&gt;Form-&gt;</span> instead of <span style="color: #0000ff;">$form-&gt;</span></li>
<li>Use <span style="color: #0000ff;">$this-&gt;Session-&gt;</span> instead of <span style="color: #0000ff;">$session-&gt;</span></li>
<li><span style="color: #000000;">Use </span><span style="color: #0000ff;">$this-&gt;Paginator-&gt;</span> intead of <span style="color: #0000ff;">$paginator </span>-&gt;</li>
<li>For JavaScript inclusion use <span style="color: #0000ff;">$this-&gt;Html-&gt;script(&#8220;&#8221;)</span> instead of <span style="color: #0000ff;">$javascript-&gt;link()</span></li>
</ul>
<p>5. <strong>In Controller</strong></p>
<ul>
<li>Using model find method <span style="color: #0000ff;">$this-&gt;Student-&gt;find(array(&#8220;id&#8221; =&gt; 123))</span> will not work use <span style="color: #0000ff;">find(&#8220;first&#8221;, array(&#8220;id&#8221; =&gt; 123))</span>.</li>
<li>If you have tried to modify <span style="color: #0000ff;">$this-&gt;data like $this-&gt;data["xyz"] = &#8220;abc&#8221;</span> inside controller method this will throw error [<span style="color: #ff6600;">Indirect modification of overloaded property ... has no effect</span>] instead you need to do<span style="color: #0000ff;"> $this-&gt;request-&gt;data["xyz"] = &#8220;abc&#8221;</span>.</li>
</ul>
<p>6. Others</p>
<ul>
<li>All component files should be extended by Component Class instead of Object</li>
</ul>
<p><strong>Some precautions</strong></p>
<ol>
<li>Do not overwrite routes.php file under your app/Config folder.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.milestree.com/php/migrating-to-cakephp-2-0-tips-and-changes/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple graph implementation in java</title>
		<link>http://www.milestree.com/java/simple-graph-implementation-in-java</link>
		<comments>http://www.milestree.com/java/simple-graph-implementation-in-java#comments</comments>
		<pubDate>Thu, 13 Oct 2011 09:14:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.milestree.com/?p=863</guid>
		<description><![CDATA[Below is the illustration and class code for Graph structure implementation using java language.A mathematically Graph is  connection of nodes in a directional or non-directional way below graph has child parent relationship. node naming convention like 101 , 201 is important for understanding of this demo as
0 =&#62; initial node
101 , 102, 103 =&#62; level [...]]]></description>
			<content:encoded><![CDATA[<p>Below is the illustration and class code for Graph structure implementation using java language.A mathematically Graph is  connection of nodes in a directional or non-directional way below graph has child parent relationship. node naming convention like 101 , 201 is important for understanding of this demo as</p>
<p>0 =&gt; initial node</p>
<p>101 , 102, 103 =&gt; level 1st node</p>
<p>201, 202 etc =&gt; level 2 node</p>
<p><a href="http://www.milestree.com/wp-content/uploads/2011/10/graph.gif"><img class="alignnone size-full wp-image-865" title="graph" src="http://www.milestree.com/wp-content/uploads/2011/10/graph.gif" alt="mathematical graph structure using java" width="477" height="373" /></a></p>
<p><strong>Class Node</strong></p>
<pre>

public class Node {

private int id;
public Node(int id){
this.id  = id;
}
public int getId(){
return id;
}
}
</pre>
<p><strong>Class Graph</strong></p>
<p><strong>
<pre>&lt;/strong&gt;

import java.util.HashSet;

public class Graph {

private HashSet&amp;lt;Graph&amp;gt; childs = new HashSet&amp;lt;Graph&amp;gt;();
private Node rootNode;

// initialization of graph
public Graph(Node node) {
this.rootNode = node;
}

// get connected graphs/nodes for iteration
public HashSet&amp;lt;Graph&amp;gt; getChildSet() {
return childs;
}

// Adding graph to graph
public void addChild(Graph g) {
childs.add(g);
}

// Adding Node to graph
public void addChild(Node node){
Graph g = new Graph(node);
childs.add(g);
}

public Node getRootNode(){
return rootNode;
}

// returns number sof childs for a graph
public int count() {
return childs.size();
}
public String toString(){
String temp = rootNode.getId()+&quot; =&amp;gt; {&quot;;
for(Graph child : childs){
temp += child.toString()+&quot;, &quot;;
}
temp += &quot;}&quot;;
return temp;
}
}
</pre>
<p><strong><span style="color: #ff0000;">Now run this from test.java class</span></strong></p>
<p><strong><span style="color: #000000;">
<pre>&lt;/span&gt;&lt;/strong&gt;

public class test {

/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub

// Creating&nbsp; subgraph
Graph g1 = new Graph(new Node(101));
g1.addChild(new Node(201));
g1.addChild(new Node(202));
g1.addChild(new Node(203));

// Creating and populating main graph and then adding subgraph to it
Graph g0 = new Graph(new Node(0));
g0.addChild(new Node(101));
g0.addChild(new Node(102));
g0.addChild(g1);

System.out.println(g0);

}

}
</pre>
<p><strong><span style="color: #ff0000;">Outout of the program</span></strong></p>
<p>0 =&gt; {101 =&gt; {203 =&gt; {}, 201 =&gt; {}, 202 =&gt; {}, }, 102 =&gt; {}, 101 =&gt; {}, }</p>
]]></content:encoded>
			<wfw:commentRss>http://www.milestree.com/java/simple-graph-implementation-in-java/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

