<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2398266148623378164</id><updated>2024-10-04T19:27:58.766-07:00</updated><category term="Mac"/><category term="miscellaneous"/><category term="Jruby: Deploying on tomcat 6"/><category term="Lift: Hello World on Google App Engine"/><category term="Lift: Hello World on Tomcat"/><category term="Version Control"/><category term="Vipassana: Letters from Mara"/><title type='text'>Spiritual Java</title><subtitle type='html'>Spiritual java is an attempt to let me express my thoughts, my ideas, my views and my feelings about two topics which are very close to my heart. Vippasana and Java!!! I have been practicing Vipassana for more than 8 years now and in all these years the way this teqnuqie helped me in overcoming many ups and downs in my life is quite remarkable. Java on the other hand is my source of my materialistic existence.  So I&#39;ll be sharing my views on J2EE technology and its relevance in web.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://spiritualjava.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://spiritualjava.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sury</name><uri>http://www.blogger.com/profile/01166747330411085094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWrEdf1OczE15aWSBlOPP0T6HKcbQFaa1mfbwdb09XWMcLde3O1UXHOv5PG0lVv1OVDr768nbSr4tnxqiuhwubNRNGqP2uUyrqR1W_GsL0X53C7pLRS3cc9Mp4w1iVJmA/s220/DSC03533.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2398266148623378164.post-2476895426306619682</id><published>2009-12-28T12:13:00.000-08:00</published><updated>2009-12-28T12:59:50.324-08:00</updated><title type='text'>Important tips for IT contracting</title><content type='html'>&lt;div style=&quot;text-align: left;&quot;&gt;Anyone who is planning to do IT contracting should do a little bit of research. This site gives some basic tips and tricks about IT contracting in UK&lt;br /&gt;
&lt;a href=&quot;http://www.bytestart.co.uk/content/contractors/index.shtml&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;http://www.bytestart.co.uk/content/contractors/index.shtml&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;a href=&quot;http://www.bytestart.co.uk/content/contractors/index.shtml&quot;&gt;&lt;/a&gt;How much you can realistically charge as your contract rate?&lt;br /&gt;
&lt;a href=&quot;http://www.bytestart.co.uk/content/contractors/contractor-guides/it-contractor-market-rates.shtml&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;http://www.bytestart.co.uk/content/contractors/contractor-guides/it-contractor-market-rates.shtml&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Times, Helvetica, sans-serif; font-size: 16px; line-height: 19px;&quot;&gt;Information about IT Contract Rates can be found from these resources:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: Times, Helvetica, sans-serif; font-size: 16px; line-height: 19px;&quot;&gt;&lt;a href=&quot;http://www.itjobswatch.co.uk/&quot;&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;ITJobswatch&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: black;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;This is a handy site which provides high level data for key roles (such as Analysts, Developers) as well as specific skill sets (e.g. Oracle, UNIX, Java, .NET)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: Times, Helvetica, sans-serif; font-size: 16px; line-height: 19px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.jobstats.co.uk/&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;Jobstats&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;:&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;Jobstats has provided data extracted from the major job search engines for many years now. This site paints a general picture of the state of the IT Contracting market - including average market rates.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Times, Helvetica, sans-serif; font-size: 16px; line-height: 19px;&quot;&gt;In addition, the following sites also provide data on pay rates in the IT arena:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Times, Helvetica, sans-serif; font-size: 16px; line-height: 19px;&quot;&gt;&lt;span style=&quot;color: #3f3f3f; font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;&lt;span style=&quot;font-family: Times; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;a href=&quot;http://www.e-skills.com/&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;E-Skills&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;- Skills site, also provides training and salary information.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Times, Helvetica, sans-serif; font-size: 16px; line-height: 19px;&quot;&gt;&lt;span style=&quot;color: #3f3f3f; font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;&lt;span style=&quot;font-family: Times; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #3f3f3f; font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;&lt;span style=&quot;font-family: Times; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;&lt;a href=&quot;http://www.contracteye.co.uk/&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;Contract Eye&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;- This one is a dedicated IT Contractor site, with a dedicated channel on&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;&lt;a href=&quot;http://www.contracteye.co.uk/it_contract_rates.shtml&quot;&gt;IT contractor rates&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Times, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Times, Helvetica, sans-serif; font-size: 16px; line-height: 19px;&quot;&gt;&lt;span style=&quot;color: #3f3f3f; font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;&lt;span style=&quot;font-family: Times; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #3f3f3f; font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;&lt;span style=&quot;font-family: Times; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;&lt;a href=&quot;http://www.contracteye.co.uk/it_contract_rates.shtml&quot;&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-size: x-large;&quot;&gt;&lt;span style=&quot;font-family: Times; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;Next task is to write a good and to the point CV. This one explains it best&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://www.bytestart.co.uk/content/contractors/contractor-guides/it-contractors-cv.shtml&quot;&gt;&lt;span style=&quot;font-family: Times; font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;http://www.bytestart.co.uk/content/contractors/contractor-guides/it-contractors-cv.shtml&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style=&quot;font-family: Times, Helvetica, sans-serif; line-height: 19px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spiritualjava.blogspot.com/feeds/2476895426306619682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spiritualjava.blogspot.com/2009/12/important-tips-for-it-contracting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default/2476895426306619682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default/2476895426306619682'/><link rel='alternate' type='text/html' href='http://spiritualjava.blogspot.com/2009/12/important-tips-for-it-contracting.html' title='Important tips for IT contracting'/><author><name>Sury</name><uri>http://www.blogger.com/profile/01166747330411085094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWrEdf1OczE15aWSBlOPP0T6HKcbQFaa1mfbwdb09XWMcLde3O1UXHOv5PG0lVv1OVDr768nbSr4tnxqiuhwubNRNGqP2uUyrqR1W_GsL0X53C7pLRS3cc9Mp4w1iVJmA/s220/DSC03533.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2398266148623378164.post-4559080141823219472</id><published>2009-12-23T16:42:00.000-08:00</published><updated>2009-12-23T16:42:00.279-08:00</updated><title type='text'>Branching with Eclise and CVS</title><content type='html'>This article give some basic information about cutting a CVS branch using Eclipse&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.eclipse.org/articles/article.php?file=Article-BranchingWithEclipseAndCVS/article1.html&quot;&gt;http://www.eclipse.org/articles/article.php?file=Article-BranchingWithEclipseAndCVS/article1.html&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://spiritualjava.blogspot.com/feeds/4559080141823219472/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spiritualjava.blogspot.com/2009/12/branching-with-eclise-and-cvs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default/4559080141823219472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default/4559080141823219472'/><link rel='alternate' type='text/html' href='http://spiritualjava.blogspot.com/2009/12/branching-with-eclise-and-cvs.html' title='Branching with Eclise and CVS'/><author><name>Sury</name><uri>http://www.blogger.com/profile/01166747330411085094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWrEdf1OczE15aWSBlOPP0T6HKcbQFaa1mfbwdb09XWMcLde3O1UXHOv5PG0lVv1OVDr768nbSr4tnxqiuhwubNRNGqP2uUyrqR1W_GsL0X53C7pLRS3cc9Mp4w1iVJmA/s220/DSC03533.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2398266148623378164.post-8177222600867451018</id><published>2009-12-19T12:42:00.000-08:00</published><updated>2009-12-27T05:36:29.626-08:00</updated><title type='text'>Java concepts</title><content type='html'>&lt;span style=&quot;font-family: &#39;Lucida Grande&#39;; font-size: small;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;This post contains the compilation of some of the most popular java design questions that every java developer should be aware of.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;ThreadLocal explained in Detail.&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;This is a very well written article that explains the use of ThreadLocal with example&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://www.ibm.com/developerworks/java/library/j-threads3.html&quot;&gt;http://www.ibm.com/developerworks/java/library/j-threads3.html&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Why multiple inheritance is not for java?&lt;/li&gt;
&lt;/ul&gt;This question come to any developer&#39;s mind who has worked in C++. This is a very nice article that explains exactly this.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.javaworld.com/javaqa/2002-07/02-qa-0719-multinheritance.html&quot;&gt;http://www.javaworld.com/javaqa/2002-07/02-qa-0719-multinheritance.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Diamond shape problem solved.&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;How multiple inheritance is achieved in java with the help of interfaces.&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://www.javaworld.com/javaworld/jw-12-1998/jw-12-techniques.html&quot;&gt;http://www.javaworld.com/javaworld/jw-12-1998/jw-12-techniques.html&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;What is the difference b/w weak and soft references?&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;&lt;a href=&quot;http://stackoverflow.com/questions/299659/what-is-the-difference-between-a-soft-reference-and-a-weak-reference-in-java&quot;&gt;http://stackoverflow.com/questions/299659/what-is-the-difference-between-a-soft-reference-and-a-weak-reference-in-java&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Weak References explained in detail&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;&lt;a href=&quot;http://www.ibm.com/developerworks/java/library/j-jtp11225/&quot;&gt;http://www.ibm.com/developerworks/java/library/j-jtp11225/&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Soft References explained in detail&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;&lt;a href=&quot;http://www.ibm.com/developerworks/java/library/j-jtp01246.html&quot;&gt;http://www.ibm.com/developerworks/java/library/j-jtp01246.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Static Factory pattern example: class instance which is created at the time of Static member initialization. This&amp;nbsp;Factory always returns this instance.&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;&lt;a href=&quot;http://alexmcferron.com/staticFactory.html&quot;&gt;http://alexmcferron.com/staticFactory.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Static method Pattern example: This pattern is just a style of decoupling object initialization from the client code. It always returns a new class instance.&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;&lt;a href=&quot;http://www.javaworld.com/javaworld/javaqa/2001-05/02-qa-0511-factory.html&quot;&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;http://www.javaworld.com/javaworld/javaqa/2001-05/02-qa-0511-factory.html&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spiritualjava.blogspot.com/feeds/8177222600867451018/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spiritualjava.blogspot.com/2009/12/java-concepts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default/8177222600867451018'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default/8177222600867451018'/><link rel='alternate' type='text/html' href='http://spiritualjava.blogspot.com/2009/12/java-concepts.html' title='Java concepts'/><author><name>Sury</name><uri>http://www.blogger.com/profile/01166747330411085094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWrEdf1OczE15aWSBlOPP0T6HKcbQFaa1mfbwdb09XWMcLde3O1UXHOv5PG0lVv1OVDr768nbSr4tnxqiuhwubNRNGqP2uUyrqR1W_GsL0X53C7pLRS3cc9Mp4w1iVJmA/s220/DSC03533.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2398266148623378164.post-2609595069607661286</id><published>2009-10-05T16:15:00.000-07:00</published><updated>2009-10-05T16:15:44.922-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="miscellaneous"/><title type='text'>An inspirational interview from Hrithik Roshan</title><content type='html'>This is another deviation from my normal posts. I just saw a talk show on youtube and thought it is worth keeping this in my compilation of posts. So here it is... A little preface, we all know Kritik Roshan. A Bollywood superstar who has delivered hits like Koi Mil gaya, Kaho na pyar hai, Dhoom 2 and Lakshya to name a few. From the energetic performance and the kind of dance that he do, a few people would know at one time he had twisted spine problem and stammering problem.&lt;br /&gt;
Kritik Roshan is one of the few Bollywood superstars who made his life&#39;s adversity as an opportunity. From birth he was born with bundles of problems; stammering problem, spinal problem; born with double thumb and all the emotional and social pressure that these problems brings with them. From the state of such an adversity to the current state of being a Bollywood star is some journey in itself.&lt;br /&gt;
&lt;br /&gt;
This interview in itself captures the essence that if you wish something in life and you are determined to do it, then nothing is impossible. An old saying is true...&quot;Nothing is impossible, even impossible say I&#39;m possible&quot;&lt;br /&gt;
Just to keep in mind that this interview is majority in Hindi language. What I really liked in this interview compared to others is that its not treated as just another celebrity talk show. It would be worth watching the last part of the video in which a physically challenged &amp;nbsp;girl plays a very good music composition.&lt;br /&gt;
&lt;br /&gt;
Part 1. In this Kritik talks about his stammering problem and how he showed determination to overcome that weakness...&lt;br /&gt;
&lt;br /&gt;
&lt;object height=&quot;340&quot; width=&quot;560&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/hajBH0qZZWc&amp;hl=en&amp;fs=1&amp;&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/hajBH0qZZWc&amp;hl=en&amp;fs=1&amp;&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;560&quot; height=&quot;340&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Part 2. Continues further with the introduction of another Bollywood celebrity Kangana Ranaught...&lt;br /&gt;
&lt;br /&gt;
&lt;object height=&quot;340&quot; width=&quot;560&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/czRitwABz2E&amp;hl=en&amp;fs=1&amp;&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/czRitwABz2E&amp;hl=en&amp;fs=1&amp;&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;560&quot; height=&quot;340&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Part 3. Kritik and Kangana plays some fun games...&lt;br /&gt;
&lt;br /&gt;
&lt;object height=&quot;340&quot; width=&quot;560&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/tMDuShD5ZoE&amp;hl=en&amp;fs=1&amp;&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/tMDuShD5ZoE&amp;hl=en&amp;fs=1&amp;&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;560&quot; height=&quot;340&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Part 4. In this part the physically challenged girl plays the musical composition...&lt;br /&gt;
&lt;br /&gt;
&lt;object height=&quot;340&quot; width=&quot;560&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/Ab_PV0x2xno&amp;hl=en&amp;fs=1&amp;&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/Ab_PV0x2xno&amp;hl=en&amp;fs=1&amp;&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;560&quot; height=&quot;340&quot;&gt;&lt;/embed&gt;&lt;/object&gt;</content><link rel='replies' type='application/atom+xml' href='http://spiritualjava.blogspot.com/feeds/2609595069607661286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spiritualjava.blogspot.com/2009/10/inspirational-interview-from-hrithik.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default/2609595069607661286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default/2609595069607661286'/><link rel='alternate' type='text/html' href='http://spiritualjava.blogspot.com/2009/10/inspirational-interview-from-hrithik.html' title='An inspirational interview from Hrithik Roshan'/><author><name>Sury</name><uri>http://www.blogger.com/profile/01166747330411085094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWrEdf1OczE15aWSBlOPP0T6HKcbQFaa1mfbwdb09XWMcLde3O1UXHOv5PG0lVv1OVDr768nbSr4tnxqiuhwubNRNGqP2uUyrqR1W_GsL0X53C7pLRS3cc9Mp4w1iVJmA/s220/DSC03533.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2398266148623378164.post-1108609497117595691</id><published>2009-10-03T14:28:00.000-07:00</published><updated>2009-10-03T14:28:32.374-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Vipassana: Letters from Mara"/><title type='text'>&quot;Letters from Mara...&quot;</title><content type='html'>Few days back Vikas Ji shared an inspirational Article(sent to him from Prof Dhar) with Delhi Vipassana group meditators.&lt;br /&gt;
Got some time today and read it.&amp;nbsp;Found it very interesting and engaging.&lt;br /&gt;
The article &quot;Letters from Mara&quot; has got 10 letters in it. The article is taken by Buddha&#39;s one of the Sutta&#39;s.&lt;br /&gt;
Each of the letters is written by Mara to its squadrons namely desires, craving, lust, boredom,...(the impurities in the mind).&lt;br /&gt;
Thought of something to be shared.&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: arial, helvetica, sans-serif; font-size: 14px; white-space: pre-wrap;&quot;&gt;&lt;a href=&quot;http://bit.ly/1AkHrR&quot;&gt;http://bit.ly/1AkHrR&lt;/a&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://spiritualjava.blogspot.com/feeds/1108609497117595691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spiritualjava.blogspot.com/2009/10/letters-from-mara.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default/1108609497117595691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default/1108609497117595691'/><link rel='alternate' type='text/html' href='http://spiritualjava.blogspot.com/2009/10/letters-from-mara.html' title='&quot;Letters from Mara...&quot;'/><author><name>Sury</name><uri>http://www.blogger.com/profile/01166747330411085094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWrEdf1OczE15aWSBlOPP0T6HKcbQFaa1mfbwdb09XWMcLde3O1UXHOv5PG0lVv1OVDr768nbSr4tnxqiuhwubNRNGqP2uUyrqR1W_GsL0X53C7pLRS3cc9Mp4w1iVJmA/s220/DSC03533.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2398266148623378164.post-5432549805703907733</id><published>2009-10-01T15:11:00.000-07:00</published><updated>2009-10-01T15:25:30.207-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lift: Hello World on Google App Engine"/><title type='text'>Deploying Simple Hellworld lift webapp on Google App Engine</title><content type='html'>&lt;div style=&quot;font-family: Arial; font-size-adjust: none; font-size: 12px; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; margin: 0px; min-height: 14px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Lucida Grande&#39;; font-size: small;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &#39;Lucida Grande&#39;; font-size: small;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &#39;Lucida Grande&#39;; font-size: small;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &#39;Lucida Grande&#39;; font-size: small;&quot;&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;In the &lt;/span&gt;&lt;a href=&quot;http://spiritualjava.blogspot.com/2009/09/creating-helloworld-webapp-in-lift-and_26.html&quot;&gt;&lt;span style=&quot;color: #4d2088; text-decoration: underline;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;previous&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: medium;&quot;&gt; post we deployed the sample HelloWorld lift app on tomcat. In this post we will take one step further and go ahead with our lift helloworld webapp and deploy it on Google App engine.&lt;/span&gt;&lt;span style=&quot;font: normal normal normal 12px/normal &#39;Lucida Grande&#39;;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;From whatever I have read on different blogs, lift framework 1.0 support seems unavailable on GAE. But in milestone 1.1 there seems to be a limited support for it. With the future release lift may become fully compatible with GAE.&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;So for this example we will deviate from our 1.0 version to 1.1-M4 version.&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Steps to do the initial maven setup remain same as with the&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://spiritualjava.blogspot.com/2009/09/creating-helloworld-webapp-in-lift-and_26.html&quot;&gt;&lt;span style=&quot;color: #4d2088; text-decoration: underline;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;previous &lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;post.&lt;/span&gt;&lt;span style=&quot;font: normal normal normal 12px/normal &#39;Lucida Grande&#39;;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Ok, lets get started; first go to your workspace and type in the following maven command&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font: normal normal normal 12px/normal &#39;Lucida Grande&#39;;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;mvn archetype:generate -U \-DarchetypeGroupId=net.liftweb \-DarchetypeArtifactId=lift-archetype-blank \-DarchetypeVersion=1.1-M4 \-DremoteRepositories=http://scala-tools.org/repo-releases \-DgroupId=demo.helloworld \-DartifactId=helloworld \-Dversion=1.0-SNAPSHOT&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font: normal normal normal 12px/normal &#39;Lucida Grande&#39;;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;Once executed it will dispaly a list of outputs in verbose mode. At one or two places you may be prompted, just press enter.&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Go to the project directory.&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;suresh-sharmas-macbook-pro:Projects sureshsharma$ &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;cd helloworld&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;suresh-sharmas-macbook-pro:helloworld sureshsharma$ ls&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;pom.xml src&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;suresh-sharmas-macbook-pro:helloworld sureshsharma$&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Packaging of the scr code to the war file can be done with maven&#39;s package command. Staying at /Projects/helloworld/ folder give the following command&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;&lt;span style=&quot;font-family: Times;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;suresh-sharmas-macbook-pro:helloworld sureshsharma$&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;mvn package&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;This will create a war file in&amp;nbsp;/Projects/helloworld/target/helloworld-1.0-SNAPSHOT.war&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;To deploy the war locally, go to the helloworld project directory.&amp;nbsp;Maven comes in with inbuilt jetty and tomcat plugin so give the following command for tomcat deploy the app using tomcat plugin for maven.&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;suresh-sharmas-macbook-pro:helloworld sureshsharma$&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;mvn tomcat:run&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;&lt;span style=&quot;font-family: Times;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Ok now coming back to GAE deployment, the first step for Deployment of war file to GAE is to install the google app engine SDK for java. You can download it from &lt;/span&gt;&lt;a href=&quot;http://code.google.com/appengine/downloads.html&quot;&gt;&lt;span style=&quot;color: #4d2088; text-decoration: underline;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;here&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Unzip the files in a folder say /usr/local/appengine-java-sdk-1.2.5/&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Now for preparing the war file to be deployed in GAE, first go to&amp;nbsp;/Projects/helloworld/src/main/webapp/WEB-INF folder. Their you will see web.xml file. For GAE deployment we need to create another appengine-web.xml file and add the following entries in it.&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;lt;appengine-web-app xmlns=&quot;http://appengine.google.com/ns/1.0&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;lt;application&amp;gt;surylifting&amp;lt;/application&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;lt;version&amp;gt;3&amp;lt;/version&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;lt;system-properties&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;lt;property name=&quot;in.gae.j&quot; value=&quot;true&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;lt;/system-properties&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;lt;sessions-enabled&amp;gt;true&amp;lt;/sessions-enabled&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;lt;static-files&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;lt;exclude path=&quot;/**&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;lt;/static-files&amp;gt;&lt;br /&gt;
&amp;lt;/appengine-web-app&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Change application name with the name of your registered application id in GAE, in my case it is &lt;/span&gt;&lt;i&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;surylifting&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Now first we will deploy GAE locally and then if everything goes fine we will deploy it to GAE.&lt;/span&gt;&lt;span style=&quot;font: normal normal normal 12px/normal &#39;Lucida Grande&#39;;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;   &lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Staying at&amp;nbsp;/Projects/helloworld/ give the following command&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font: normal normal normal 12px/normal &#39;Lucida Grande&#39;;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;   &lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;suresh-sharmas-macbook-pro:helloworld sureshsharma$&lt;b&gt;/usr/local/appengine-java-sdk-1.2.5/bin/dev_appserver.sh /Projects/helloworld/target/helloworld-1.0-SNAPSHOT&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font: normal normal normal 12px/normal &#39;Lucida Grande&#39;;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;   &lt;/span&gt;&lt;i&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Note that .war extension is not present above for helloworld-1.0-SNAPSHOT&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font: normal normal normal 12px/normal &#39;Lucida Grande&#39;;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;  &lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;And here u go u will be able to see it running at http://localhost:8080/&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Now finally to deploy this app on GAE give the following command&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;suresh-sharmas-macbook-pro:helloworld sureshsharma$&lt;/span&gt;/usr/local/appengine-java-sdk-1.2.5/bin/appcfg.sh update /Projects/helloworld/target/helloworld-1.0-SNAPSHOT&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;again note that&amp;nbsp;helloworld-1.0-SNAPSHOT&amp;nbsp;is without .war extension&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Once the deployment starts &amp;nbsp;you will be prompted for email id and password with which you registered on app engine. Once deployment is done you are ready to see you helloworld app on GAE.&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times New Roman; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Click on the&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://surylifting.appspot.com/&quot;&gt;&lt;span style=&quot;color: #4d2088; text-decoration: underline;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;http://surylifting.appspot.com&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;and you will see my application deployed there. Simple :-)&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Times; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt; &lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;b&gt;&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://spiritualjava.blogspot.com/feeds/5432549805703907733/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spiritualjava.blogspot.com/2009/10/deploying-simple-hellworld-lift-webapp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default/5432549805703907733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default/5432549805703907733'/><link rel='alternate' type='text/html' href='http://spiritualjava.blogspot.com/2009/10/deploying-simple-hellworld-lift-webapp.html' title='Deploying Simple Hellworld lift webapp on Google App Engine'/><author><name>Sury</name><uri>http://www.blogger.com/profile/01166747330411085094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWrEdf1OczE15aWSBlOPP0T6HKcbQFaa1mfbwdb09XWMcLde3O1UXHOv5PG0lVv1OVDr768nbSr4tnxqiuhwubNRNGqP2uUyrqR1W_GsL0X53C7pLRS3cc9Mp4w1iVJmA/s220/DSC03533.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2398266148623378164.post-4086961392381859482</id><published>2009-09-29T14:28:00.000-07:00</published><updated>2009-09-29T14:32:25.466-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><title type='text'>Installing tomcat in Mac OSX leopard</title><content type='html'>&lt;div&gt;&lt;/div&gt;&lt;div&gt;Found an interesting link for installing Tomcat on Mac OSx. Hope you will find it useful. This post gives details instructions to install the tomcat. Have a look at it.&lt;br /&gt;
&lt;/div&gt;&lt;a href=&quot;http://www.malisphoto.com/tips/tomcatonosx.html&quot;&gt;http://www.malisphoto.com/tips/tomcatonosx.html&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://spiritualjava.blogspot.com/feeds/4086961392381859482/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spiritualjava.blogspot.com/2009/09/installing-tomcat-in-mac-osx-lepord.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default/4086961392381859482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default/4086961392381859482'/><link rel='alternate' type='text/html' href='http://spiritualjava.blogspot.com/2009/09/installing-tomcat-in-mac-osx-lepord.html' title='Installing tomcat in Mac OSX leopard'/><author><name>Sury</name><uri>http://www.blogger.com/profile/01166747330411085094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWrEdf1OczE15aWSBlOPP0T6HKcbQFaa1mfbwdb09XWMcLde3O1UXHOv5PG0lVv1OVDr768nbSr4tnxqiuhwubNRNGqP2uUyrqR1W_GsL0X53C7pLRS3cc9Mp4w1iVJmA/s220/DSC03533.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2398266148623378164.post-7170906673197313442</id><published>2009-09-26T15:42:00.000-07:00</published><updated>2009-09-29T14:13:14.148-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lift: Hello World on Tomcat"/><title type='text'>Creating HelloWorld webapp in Lift and Deploying it on Tomcat 6.x</title><content type='html'>&lt;div style=&quot;font: 13.0px Lucida Grande; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;In this post I&#39;m going to create a very simple webapp on lift and then&amp;nbsp;deploy it on tomcat 6. As usual, I&#39;m going to use mac OsX but it should not be too different on any other environment. The most funny part is that we don&#39;t have to write a single line of code to make our Helloworld app! A sample HelloWorld app for lift framework already comes in as Maven build.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 18.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;So lets get started, first u need to have the following:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ul style=&quot;list-style-type: disc;&quot;&gt;&lt;li style=&quot;font: 18.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;jdk 1.5 or above installed on ur system. You can download it from &lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://java.sun.com/javase/downloads/index_jdk5.jsp&quot;&gt;&lt;span style=&quot;color: #641d7c;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;here&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;font: 18.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Latest Maven &amp;nbsp;installation. You can download it from &lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://maven.apache.org/download.html&quot;&gt;&lt;span style=&quot;color: #641d7c;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;here&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;font: 18.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Scala Plugin for eclipse. See how to install it from &lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://www.scala-lang.org/node/94&quot;&gt;&lt;span style=&quot;color: #641d7c;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;here&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style=&quot;font: 18.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Once everything is installed go to the command prompt and check mvn version.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 18.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;suresh-sharmas-macbook-pro:~ sureshsharma$ &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;mvn -version&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 13.0px Courier; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 16.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif; font-size: medium;&quot;&gt;Maven version: 2.0.9&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 18.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Java version: 1.5.0_19&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 24.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;OS name: &quot;mac os x&quot; version: &quot;10.5.8&quot; arch: &quot;i386&quot; Family: &quot;unix&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;suresh-sharmas-macbook-pro:~ sureshsharma$&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;This should tell u the maven version installed.&amp;nbsp;Now go to ur workspace directory, in my case it is /Projects&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif; font-size: medium;&quot;&gt;At the command prompt give the following command; I&#39;ll explain the&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 18.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;meaning of it a little later.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 18.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Suppose I want to create a project called helloworld and want to be&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 18.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;packaged under com.elslon.lancet.rad, then first I&#39;ll go to my&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 18.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;workspace /Projects&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 13.0px Courier; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 16.0px;&quot;&gt;&lt;span style=&quot;font-family: Times; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;suresh-sharmas-macbook-pro:~ sureshsharma$&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt; mvn archetype:generate -U \-DarchetypeGroupId=net.liftweb \-DarchetypeArtifactId=lift-archetype-blank \-DarchetypeVersion=1.0 \-DgroupId=com.elslon.lancet.rad \-DartifactId=helloworld \-Dversion=1.0-SNAPSHOT&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 18.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Once executed it will dispaly a list of outputs in verbose mode. At one or two places you may be prompted, just press enter.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 18.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Once it is done and u get back to the command prompt u are ready to &amp;nbsp;launch your first app.&amp;nbsp;Go to the project directory.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;&lt;span style=&quot;font-family: Times; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;suresh-sharmas-macbook-pro:Projects sureshsharma$ &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;cd helloworld&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 13.0px Courier; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 16.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 18.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;suresh-sharmas-macbook-pro:helloworld sureshsharma$ ls&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 18.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;pom.xml src&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif; font-size: medium;&quot;&gt;suresh-sharmas-macbook-pro:helloworld sureshsharma$&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif; font-size: medium;&quot;&gt;Maven. Comes in with inbuilt jetty and tomcat plugin so give the following command for tomcat deploy the app using tomcat plugin for maven.&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;&lt;span style=&quot;font-family: Times; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;suresh-sharmas-macbook-pro:helloworld sureshsharma$ &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;mvn tomcat:run&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 13.0px Courier; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 16.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 24.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;And here u go it will start tomcat plugin and u will be able to see it running at http://localhost:8080/&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 18.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;The next step is to create a war file to be deployed on tomcat, go to &amp;nbsp;helloworld directory, you should see&amp;nbsp;that pom.xml and target directory present there. Give the following command&amp;nbsp;mvn package.&amp;nbsp;This is maven&#39;s task that builds and creates the war file and place it in target directory. In our case the war file will be created in /Projects/helloworld/target/helloworld-1.0-SNAPSHOT.war.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 12.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 18.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Now take the war file and deploy it on tomcat. Start the tomcat and here you go! You have deployed your helloworld lift webapp on tomcat.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spiritualjava.blogspot.com/feeds/7170906673197313442/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spiritualjava.blogspot.com/2009/09/creating-helloworld-webapp-in-lift-and_26.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default/7170906673197313442'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default/7170906673197313442'/><link rel='alternate' type='text/html' href='http://spiritualjava.blogspot.com/2009/09/creating-helloworld-webapp-in-lift-and_26.html' title='Creating HelloWorld webapp in Lift and Deploying it on Tomcat 6.x'/><author><name>Sury</name><uri>http://www.blogger.com/profile/01166747330411085094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWrEdf1OczE15aWSBlOPP0T6HKcbQFaa1mfbwdb09XWMcLde3O1UXHOv5PG0lVv1OVDr768nbSr4tnxqiuhwubNRNGqP2uUyrqR1W_GsL0X53C7pLRS3cc9Mp4w1iVJmA/s220/DSC03533.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2398266148623378164.post-2922922768981854875</id><published>2009-09-13T13:58:00.000-07:00</published><updated>2009-09-29T14:14:50.336-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Jruby: Deploying on tomcat 6"/><title type='text'>Creating Simple Hello World webapp in JRuby on Rails</title><content type='html'>In this post I&#39;m going to create a simple Hello World webapp on JRuby on rails right from the scratch.&lt;br /&gt;
&lt;br /&gt;
I&#39;m using&amp;nbsp;Mac OSX version 10.5 for development&amp;nbsp;&amp;nbsp;but I assume it would not be very different on other OS like Windows.&lt;br /&gt;
I like to do all the installation in directory /usr/local. &amp;nbsp;You can go to this directory from the terminal or from finder. Just keep in mind that this location is not visible from the finder window as the folder /usr is hidden by default. &lt;a href=&quot;http://spiritualjava.blogspot.com/2009/09/how-to-find-hidden-folders-in-finder-on.html&quot;&gt;Click here&lt;/a&gt; to see how to open this window in finder.&lt;br /&gt;
&lt;br /&gt;
First we need to install the latest version of JRuby. The zip file can be downloaded from &lt;a href=&quot;http://jruby.org/download&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
Once downloaded extract and move the jRuby folder to /usr/local&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;gt;mv /Users/sureshsharma/Downloads/jruby-1.3.1 /usr/local/jrub&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
After that go to the ~/.profile file and update the path for the installation&lt;br /&gt;
&lt;b&gt;export PATH=/usr/local/jruby/bin:/usr/local/bin:/usr/sbin:$PATH&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;br /&gt;
Now install rails, mongrel and jdbc adapter.If you are using sqlite3 instead of mysql then you must install the jdbc-sqlite3 adapter.&lt;br /&gt;
&lt;blockquote&gt;&amp;gt;&lt;b&gt;sudo /usr/local/jruby/bin/gem install rails mongrel&amp;nbsp;activerecord-jdbcsqlite3-adapter&amp;nbsp;rspec rack rake jruby-openssl activesupport&lt;/b&gt;&lt;/blockquote&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;At this point you have the following things installed.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;JRuby&lt;/li&gt;
&lt;li&gt;Rails framework&lt;/li&gt;
&lt;li&gt;mongrel server&lt;/li&gt;
&lt;li&gt;jdbc sqlite3 adapter&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;Now we are ready to go and create our hello world app.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Create a workspace directory to create the jruby project. In my case it is /Projects.&amp;nbsp;&lt;/div&gt;&lt;div&gt;Once inside give the following command&amp;nbsp;&lt;/div&gt;&lt;blockquote&gt;&lt;b&gt;/Projects&amp;gt;jruby -S rails helloWorldPrj&lt;/b&gt;&lt;/blockquote&gt;&lt;div&gt;This command will create a project&amp;nbsp;helloWorldPrj&amp;nbsp;inside /Projects folder.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Ok now lets create a controller.&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;/Projects/helloWorldPrj&amp;gt;jruby -S&amp;nbsp;script/generate controller home&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div&gt;The above command will create the following for you:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;A controller called HomeController in /helloWorldPrj/app/controllers/home_controller.rb&lt;/li&gt;
&lt;li&gt;A view Helper called HomeHelper in /helloWorldPrj/app/helpers/home_helper.rb&lt;/li&gt;
&lt;li&gt;a view folder in&amp;nbsp;/helloWorldPrj/app/views/home&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Now open your favorite editor to proceed. In my case I&#39;m using Rad-Rails editor plugin for Eclipse. Go to the install and update new softwares option and give the following url&amp;nbsp;http://update.aptana.com/install/rails/&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd1EYsFDZoDCmHMR0NubLfqU9xMvv9p0v7aD0Yxw4lCobDRDuGSrhReEugXPIzNmKuVotCxZdo5-Isn8f3bVgDJqWuEepPp1zzd5kKEoD4QQsjnvUe1k0N1WGtrswUYfvwDjjX2X26kPS5/s1600-h/Picture+10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd1EYsFDZoDCmHMR0NubLfqU9xMvv9p0v7aD0Yxw4lCobDRDuGSrhReEugXPIzNmKuVotCxZdo5-Isn8f3bVgDJqWuEepPp1zzd5kKEoD4QQsjnvUe1k0N1WGtrswUYfvwDjjX2X26kPS5/s320/Picture+10.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Make sure you install only the RadRails editor infrastructure and nothing more than that. We will add on the stuff as and when we need it.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Once it is installed change to RadRails perspective and in the Ruby explorer&amp;nbsp;&lt;/div&gt;&lt;div&gt;right click-&amp;gt;new Project-&amp;gt;Rails Project&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Yes, you need to create new Rails Project even though we are going to use our existing&amp;nbsp;helloWorldPrj&amp;nbsp;project.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;In the New project window uncheck both the following two options&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Generate Rails Application skeleton&lt;/li&gt;
&lt;li&gt;Automatically start server after project is created&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;Type in the name&amp;nbsp;&lt;b&gt;helloWorldPrj&lt;/b&gt;&amp;nbsp;in the project name and press ok. This will automatically import the existing project that we created from the terminal into the Ruby explorer.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Open&amp;nbsp;/helloWorldPrj/app/controllers/home_controller.rb file and create an action called &lt;i&gt;view&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #a4357a;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #a4357a;&quot;&gt;class&lt;/span&gt; HomeController &amp;lt; ApplicationController&lt;/div&gt;&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #a4357a;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #a4357a; text-decoration: underline;&quot;&gt;def&lt;/span&gt; view&lt;/div&gt;&lt;div style=&quot;color: #2a00ff; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #004080;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;@model&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; =&lt;/span&gt; &quot;Hello world!!!&quot;&lt;/div&gt;&lt;div style=&quot;color: #a4357a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&amp;nbsp; end&lt;/div&gt;&lt;div style=&quot;color: #a4357a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;end&lt;/div&gt;&lt;div style=&quot;color: #a4357a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black; font-family: Times;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #a4357a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black; font-family: Times;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Next go inside the&amp;nbsp;/&lt;span style=&quot;font-size: medium;&quot;&gt;helloWorldPrj&lt;/span&gt;/app/views/home folder and create a&amp;nbsp;view.html.erb file. This will be our view template.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #a4357a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black; font-family: Times;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Inside the body tag give the following&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #a4357a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black; font-family: Times;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: black; font-family: Times;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Times;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Times;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Times;&quot;&gt;&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;This is my first&amp;nbsp;&lt;span style=&quot;color: #004080;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;application!!!&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #a31515; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;body&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Now the next most important thing; because we are using sqlite3, go to /helloWorldPrj/config/database.yml and change the development,test and production adapters to&amp;nbsp;&lt;span style=&quot;font-family: Monaco; font-size: 11px;&quot;&gt;jdbcsqlite3&lt;span style=&quot;font-family: Times; font-size: medium;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/helloWorldPrj/config/database.yml file should look like this&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;color: #9933cc; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;# SQLite version 3.x&lt;/div&gt;&lt;div style=&quot;color: #9933cc; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;# &amp;nbsp; gem install sqlite3-ruby (not necessary on OS X Leopard)&lt;/div&gt;&lt;div style=&quot;color: #cc8029; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;development&lt;span style=&quot;color: black;&quot;&gt;:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&amp;nbsp; &lt;span style=&quot;color: #0080ff;&quot;&gt;adapter&lt;/span&gt;: jdbcsqlite3&lt;/div&gt;&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&amp;nbsp; &lt;span style=&quot;color: #0080ff;&quot;&gt;database&lt;/span&gt;: db/development.sqlite3&lt;/div&gt;&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&amp;nbsp; &lt;span style=&quot;color: #0080ff;&quot;&gt;pool&lt;/span&gt;: 5&lt;/div&gt;&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&amp;nbsp; &lt;span style=&quot;color: #0080ff;&quot;&gt;timeout&lt;/span&gt;: 5000&lt;/div&gt;&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;color: #9933cc; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;# Warning: The database defined as &quot;test&quot; will be erased and&lt;/div&gt;&lt;div style=&quot;color: #9933cc; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;# re-generated from your development database when you run &quot;rake&quot;.&lt;/div&gt;&lt;div style=&quot;color: #9933cc; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;# Do not set this db to the same as development or production.&lt;/div&gt;&lt;div style=&quot;color: #cc8029; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;test&lt;span style=&quot;color: black;&quot;&gt;:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&amp;nbsp; &lt;span style=&quot;color: #0080ff;&quot;&gt;adapter&lt;/span&gt;: jdbcsqlite3&lt;/div&gt;&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&amp;nbsp; &lt;span style=&quot;color: #0080ff;&quot;&gt;database&lt;/span&gt;: db/test.sqlite3&lt;/div&gt;&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&amp;nbsp; &lt;span style=&quot;color: #0080ff;&quot;&gt;pool&lt;/span&gt;: 5&lt;/div&gt;&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&amp;nbsp; &lt;span style=&quot;color: #0080ff;&quot;&gt;timeout&lt;/span&gt;: 5000&lt;/div&gt;&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;color: #cc8029; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;production&lt;span style=&quot;color: black;&quot;&gt;:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&amp;nbsp; &lt;span style=&quot;color: #0080ff;&quot;&gt;adapter&lt;/span&gt;: jdbcsqlite3&lt;/div&gt;&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&amp;nbsp; &lt;span style=&quot;color: #0080ff;&quot;&gt;database&lt;/span&gt;: db/production.sqlite3&lt;/div&gt;&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&amp;nbsp; &lt;span style=&quot;color: #0080ff;&quot;&gt;pool&lt;/span&gt;: 5&lt;/div&gt;&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&amp;nbsp; &lt;span style=&quot;color: #0080ff;&quot;&gt;timeout&lt;/span&gt;: 5000&lt;/div&gt;&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;font-family: Times; font-size: medium;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;We are done now!!!&amp;nbsp;Go inside the titi project and start the server&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;b&gt;/Projects/helloWorldPrj&amp;gt;jruby -S script/server&lt;/b&gt;&lt;/blockquote&gt;&lt;div&gt;Now go the browser and check this out at&amp;nbsp;&lt;a href=&quot;http://0.0.0.0:3000/&quot;&gt;&amp;nbsp;http://0.0.0.0:3000/&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;You should see something like this&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjogRhPcyGOIFymlSz3ooG8OElZ6qZXxvrrliJo3gVojy1NgCjJS4El_aoHXSzaJq4iGf0puONDvPh89uGsjjxm0o8MRfSfradSj6lbVtGZm7OxQ6J0btJEucNndSBJcYDTtNqd6ubeVcoq/s1600-h/Picture+9.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjogRhPcyGOIFymlSz3ooG8OElZ6qZXxvrrliJo3gVojy1NgCjJS4El_aoHXSzaJq4iGf0puONDvPh89uGsjjxm0o8MRfSfradSj6lbVtGZm7OxQ6J0btJEucNndSBJcYDTtNqd6ubeVcoq/s320/Picture+9.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Now check out your hello world page at&amp;nbsp;&lt;a href=&quot;http://0.0.0.0:3000/home/view&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;http://0.0.0.0:3000/home/view&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;Congratulations!!! You have just created your first Hello world jruby web application :-)&lt;br /&gt;
&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spiritualjava.blogspot.com/feeds/2922922768981854875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spiritualjava.blogspot.com/2009/09/creating-simple-hello-world-webapp-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default/2922922768981854875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default/2922922768981854875'/><link rel='alternate' type='text/html' href='http://spiritualjava.blogspot.com/2009/09/creating-simple-hello-world-webapp-on.html' title='Creating Simple Hello World webapp in JRuby on Rails'/><author><name>Sury</name><uri>http://www.blogger.com/profile/01166747330411085094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWrEdf1OczE15aWSBlOPP0T6HKcbQFaa1mfbwdb09XWMcLde3O1UXHOv5PG0lVv1OVDr768nbSr4tnxqiuhwubNRNGqP2uUyrqR1W_GsL0X53C7pLRS3cc9Mp4w1iVJmA/s220/DSC03533.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd1EYsFDZoDCmHMR0NubLfqU9xMvv9p0v7aD0Yxw4lCobDRDuGSrhReEugXPIzNmKuVotCxZdo5-Isn8f3bVgDJqWuEepPp1zzd5kKEoD4QQsjnvUe1k0N1WGtrswUYfvwDjjX2X26kPS5/s72-c/Picture+10.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2398266148623378164.post-2824235002526440579</id><published>2009-09-13T11:57:00.000-07:00</published><updated>2009-09-29T14:18:13.306-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><title type='text'>How to find hidden folders in finder on Mac OS X</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Go to the finder and on the menu bar select Go-&amp;gt;Go to Folder (or use shortcut key cmd+shift+G)&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhK8il3qoIKj_nZWHIt1ZsS-Go1O4azI3J_wB2I__Yt6qksotnnF4A0Gu9jvWwik_ScpkC4T6U6ZI2UUEcAbRlWQit0AdVLIiVqJdg5cAf5NmyjKUyKQJibm7fo-BLzy8-LZpFeTFhO4yL-/s1600-h/Picture+1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhK8il3qoIKj_nZWHIt1ZsS-Go1O4azI3J_wB2I__Yt6qksotnnF4A0Gu9jvWwik_ScpkC4T6U6ZI2UUEcAbRlWQit0AdVLIiVqJdg5cAf5NmyjKUyKQJibm7fo-BLzy8-LZpFeTFhO4yL-/s320/Picture+1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;After that a window will open as shown below. Type in any path you want to go; say for instance you want to go to hidden folder /usr/local, just type in that. It will open the folder in finder.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjorA4rfAp7bq8ilvKyXmfcBeQuvA6DsX3q6P2BzLxdlHSTr9YzvgudTx0OtyIJV5latlIZsb9FCTFkauiLTko7X7nj36DZR4P5DzighnpqwgKUet7DE2KNl2-Gl2SjraHfL87wF21XdUFS/s1600-h/Picture+2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjorA4rfAp7bq8ilvKyXmfcBeQuvA6DsX3q6P2BzLxdlHSTr9YzvgudTx0OtyIJV5latlIZsb9FCTFkauiLTko7X7nj36DZR4P5DzighnpqwgKUet7DE2KNl2-Gl2SjraHfL87wF21XdUFS/s320/Picture+2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spiritualjava.blogspot.com/feeds/2824235002526440579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spiritualjava.blogspot.com/2009/09/how-to-find-hidden-folders-in-finder-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default/2824235002526440579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default/2824235002526440579'/><link rel='alternate' type='text/html' href='http://spiritualjava.blogspot.com/2009/09/how-to-find-hidden-folders-in-finder-on.html' title='How to find hidden folders in finder on Mac OS X'/><author><name>Sury</name><uri>http://www.blogger.com/profile/01166747330411085094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWrEdf1OczE15aWSBlOPP0T6HKcbQFaa1mfbwdb09XWMcLde3O1UXHOv5PG0lVv1OVDr768nbSr4tnxqiuhwubNRNGqP2uUyrqR1W_GsL0X53C7pLRS3cc9Mp4w1iVJmA/s220/DSC03533.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhK8il3qoIKj_nZWHIt1ZsS-Go1O4azI3J_wB2I__Yt6qksotnnF4A0Gu9jvWwik_ScpkC4T6U6ZI2UUEcAbRlWQit0AdVLIiVqJdg5cAf5NmyjKUyKQJibm7fo-BLzy8-LZpFeTFhO4yL-/s72-c/Picture+1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2398266148623378164.post-5780680022096774287</id><published>2009-09-13T11:45:00.000-07:00</published><updated>2009-09-29T14:17:46.271-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><title type='text'>How to take screen snapshot in Mac OS X</title><content type='html'>Taking screen snapshot in Mac OS X is very simple. If you want to capture the snapshot of the entire screen just press cmd+shift+3 and you will hear a camera click sound!!! Go to the desktop and you will see by default an image called picture-1 is created there. Thats all :-)&lt;br /&gt;
&lt;br /&gt;
If you want to take the snapshot of only a selected area of the window then press cmd+shift+4 and this time you will see that your mouse pointer has become an area selection pointer. Select the area of the window you want to take the snapshot and release the mouse pointer, again you will hear a camera click sound !!!. Go to the desktop and find your image there. Dead simple on Mac... making simple things simpler... thats Mac for you :-)</content><link rel='replies' type='application/atom+xml' href='http://spiritualjava.blogspot.com/feeds/5780680022096774287/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spiritualjava.blogspot.com/2009/09/how-to-take-screen-snapshot-in-mac-os-x.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default/5780680022096774287'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default/5780680022096774287'/><link rel='alternate' type='text/html' href='http://spiritualjava.blogspot.com/2009/09/how-to-take-screen-snapshot-in-mac-os-x.html' title='How to take screen snapshot in Mac OS X'/><author><name>Sury</name><uri>http://www.blogger.com/profile/01166747330411085094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWrEdf1OczE15aWSBlOPP0T6HKcbQFaa1mfbwdb09XWMcLde3O1UXHOv5PG0lVv1OVDr768nbSr4tnxqiuhwubNRNGqP2uUyrqR1W_GsL0X53C7pLRS3cc9Mp4w1iVJmA/s220/DSC03533.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2398266148623378164.post-601046283539746601</id><published>2009-09-10T04:45:00.000-07:00</published><updated>2009-09-29T14:23:02.195-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="miscellaneous"/><title type='text'>Unique way to tackle ATM Thefts</title><content type='html'>I&#39;m deviating from my normal post and want to share an information about an interesting mail that i received recently. Not too sure whether it is correct or not as I never dared to try it and hope nobody need to try it either!!!&lt;br /&gt;
Say for instance you are in an ATM and you see a man just behind you and that he is too close to you for your comfort.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfi0zrCMo_OQfFl37M7jacjrXl7bIgry33qHvzHJpqSePcO-MIRK8YNYwNq61GKaiuyXAb8sjeIqFqaJ2eBjU2K44HNzJx2A9I-TzN7dZM69be9QlVy071_Tj9x1_vqt2C9cE1hHF-Vby0/s1600-h/ATT27341.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfi0zrCMo_OQfFl37M7jacjrXl7bIgry33qHvzHJpqSePcO-MIRK8YNYwNq61GKaiuyXAb8sjeIqFqaJ2eBjU2K44HNzJx2A9I-TzN7dZM69be9QlVy071_Tj9x1_vqt2C9cE1hHF-Vby0/s320/ATT27341.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
You look back and he stares at you, reaches his pocket and takes out a gun, soon his accomplice follows&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho8MpyoYWMMefnKc-c3B-jf-P97I80jY1gMPXi3NDJ_2hZxZVwZXYm8WmENC26ZkoVlkcqHvd45bSXh_ga1JMtvFdUPXZdg2ZKh4scYc34pOJQ-VwZFORLtyY8Weoqyzu27nZND_Q9aXy2/s1600-h/ATT27346.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho8MpyoYWMMefnKc-c3B-jf-P97I80jY1gMPXi3NDJ_2hZxZVwZXYm8WmENC26ZkoVlkcqHvd45bSXh_ga1JMtvFdUPXZdg2ZKh4scYc34pOJQ-VwZFORLtyY8Weoqyzu27nZND_Q9aXy2/s320/ATT27346.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
Now what do you do? Do you fight back or try to run? or try to raise an alarm?....&lt;br /&gt;
The answer is no.... don&#39;t do that... read the following excepts from mail carefully!!!&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: navy;&quot;&gt;&lt;span style=&quot;color: navy;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&quot;... WHEN A THIEF FORCES YOU TO TAKE MONEY FROM THE ATM, DO NOT ARGUE OR RESIST,&lt;/span&gt;&lt;/b&gt; &lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;
YOU MIGHT NOT KNOW WHAT HE OR SHE MIGHT DO TO YOU. &amp;nbsp; WHAT YOU SHOULD DO IS TO&lt;/span&gt;&lt;/b&gt; &lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;
PUNCH YOUR PIN IN THE REVERSE, I...E IF YOUR PIN IS 1254, YOU PUNCH 4521. &amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
THE MOMENT YOU PUNCH IN THE REVERSE, THE MONEY WILL COME OUT BUT WILL BE&lt;/span&gt;&lt;/b&gt; &lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;
STUCK INTO THE MACHINE HALF WAY OUT AND IT WILL ALERT THE POLICE WITHOUT THE NOTICE OF THE THIEF. &lt;br /&gt;
EVERY ATM HAS IT; IT IS SPECIALLY MADE TO SIGNIFY DANGER AND HELP. NOT&lt;/span&gt;&lt;/b&gt; &lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;EVERYONE IS AWARE OF&lt;/span&gt;&lt;/b&gt; &lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;THIS. &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: navy; font-family: Courier New; font-size: medium;&quot;&gt;&lt;span style=&quot;color: navy; font-size: 13.5pt; font-weight: bold;&quot;&gt;...&quot;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Please share this post with your friends, relatives and colleagues of yours.</content><link rel='replies' type='application/atom+xml' href='http://spiritualjava.blogspot.com/feeds/601046283539746601/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spiritualjava.blogspot.com/2009/09/unique-way-to-tackle-atm-thefts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default/601046283539746601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default/601046283539746601'/><link rel='alternate' type='text/html' href='http://spiritualjava.blogspot.com/2009/09/unique-way-to-tackle-atm-thefts.html' title='Unique way to tackle ATM Thefts'/><author><name>Sury</name><uri>http://www.blogger.com/profile/01166747330411085094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWrEdf1OczE15aWSBlOPP0T6HKcbQFaa1mfbwdb09XWMcLde3O1UXHOv5PG0lVv1OVDr768nbSr4tnxqiuhwubNRNGqP2uUyrqR1W_GsL0X53C7pLRS3cc9Mp4w1iVJmA/s220/DSC03533.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfi0zrCMo_OQfFl37M7jacjrXl7bIgry33qHvzHJpqSePcO-MIRK8YNYwNq61GKaiuyXAb8sjeIqFqaJ2eBjU2K44HNzJx2A9I-TzN7dZM69be9QlVy071_Tj9x1_vqt2C9cE1hHF-Vby0/s72-c/ATT27341.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2398266148623378164.post-1750885892972099465</id><published>2009-09-05T06:42:00.000-07:00</published><updated>2009-09-29T14:25:01.217-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Version Control"/><title type='text'>A quick intro to Mercurial Revision control system</title><content type='html'>This post is for all the developers who are using revision control systems like CVS to use Mercurial. This post just contains a few brief descriptions and urls from where more information can be found about using the mercurial&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;/div&gt;&lt;div&gt;Ok so lets get started.&lt;br /&gt;
&lt;br /&gt;
Few FAQ which will make you familiar with the terminologies used in mercurial.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Times;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Times;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Times;&quot;&gt;&lt;div style=&quot;background-color: white; counter-reset: __goog_page__ 0; font-family: Verdana; font-size: 10pt; line-height: normal; margin-bottom: 6px; margin-left: 6px; margin-right: 6px; margin-top: 6px; min-height: 1100px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;b&gt;What is tortoiseHg?&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;This is a windows version of Mercurial. It is like tortoise for CVS.&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;b&gt;Ok fine, but then what is Mercurial?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;It is a revision control system just like CVS&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;b&gt;And what is Hg?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;Its the chemistry name of Mercurial :-)&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;i&gt;Something to know for developers who are on Mac&amp;nbsp;&lt;/i&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;What is Ticke(TCL)?&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;Tools command language is a scripting command language like ruby&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;What is macport(s)?&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;Macport is a command line package distribution tool just like ruby gem for Mac.&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;From where can I install mercurial on my machine?&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;For windows: download the latest version from &lt;span style=&quot;font-family: verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a class=&quot;ulink&quot; href=&quot;http://bitbucket.org/tortoisehg/stable/wiki/Home&quot; target=&quot;_top&quot;&gt;http://bitbucket.org/tortoisehg/stable/wiki/Home&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;For Mac OS-X: Install it from &lt;a href=&quot;http://mercurial.berkwood.com/&quot; id=&quot;h3h-&quot; style=&quot;color: #551a8b;&quot; title=&quot;http://mercurial.berkwood.com/&quot;&gt;http://mercurial.berkwood.com/&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;b&gt;Ok, how can i get started with mercurial once i have installed it?&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;Installing mercurial is just like creating any new directory in your machine which contains all the version control information.&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;To create a hg repository&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;i&gt;&lt;b&gt;hg init myproject&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;i&gt;&lt;br /&gt;
&lt;/i&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;This will create a new repository call myproject&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;Go inside this and copy any file you want to provide versioning with.&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;To add the file to the repository&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;i&gt;&lt;b&gt;hg add&lt;/b&gt; &lt;/i&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;This will add the copied file to the repository&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;To check the status of the added file&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;b&gt;&lt;i&gt;hg status&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;To commit changes&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;b&gt;&lt;i&gt;hg commit -m &#39;initial commit&#39;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;br /&gt;
&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;Detailed instructions can be found at the link below&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-top: 0px;&quot;&gt;&lt;a href=&quot;http://hgbook.red-bean.com/read/a-tour-of-mercurial-the-basics.html&quot; id=&quot;m2zc&quot; style=&quot;color: #551a8b;&quot; title=&quot;http://hgbook.red-bean.com/read/a-tour-of-mercurial-the-basics.html&quot;&gt;http://hgbook.red-bean.com/read/a-tour-of-mercurial-the-basics.html&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spiritualjava.blogspot.com/feeds/1750885892972099465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spiritualjava.blogspot.com/2009/09/quick-intro-to-mercurial-revision.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default/1750885892972099465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2398266148623378164/posts/default/1750885892972099465'/><link rel='alternate' type='text/html' href='http://spiritualjava.blogspot.com/2009/09/quick-intro-to-mercurial-revision.html' title='A quick intro to Mercurial Revision control system'/><author><name>Sury</name><uri>http://www.blogger.com/profile/01166747330411085094</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWrEdf1OczE15aWSBlOPP0T6HKcbQFaa1mfbwdb09XWMcLde3O1UXHOv5PG0lVv1OVDr768nbSr4tnxqiuhwubNRNGqP2uUyrqR1W_GsL0X53C7pLRS3cc9Mp4w1iVJmA/s220/DSC03533.JPG'/></author><thr:total>0</thr:total></entry></feed>