<?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: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-2473647335142014003</id><updated>2012-02-17T10:04:12.137+05:30</updated><category term='kindle'/><category term='Learning Java and Architecture'/><category term='Faridabad'/><category term='JSW IPO share allocation'/><category term='Project Report'/><category term='e-book reader on mobile'/><category term='Vidya Balan'/><category term='Tax Saving and Insurance related Info'/><category term='Maven'/><category term='MBA video lectures'/><category term='Paa'/><category term='Design Pattern'/><category term='Balki'/><category term='Earn Free money'/><category term='Haryana Assembly election 2009'/><category term='amitabh Bachaan'/><category term='movie review'/><category term='abhishek Bachaan'/><category term='Short stories'/><category term='e-book'/><title type='text'>Tech-Serve</title><subtitle type='html'>This blog is to make aware the people about the use of Information Technology to change the attitude of the indian society toward cleaniness, Behaviour, learning education, java, j2ee related technologies , fun and much more.....</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tech-serve.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://tech-serve.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Neeraj Vashisht</name><uri>http://www.blogger.com/profile/03910635354659991914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_KHnPb89mNf4/Sk18VueL8SI/AAAAAAAAAbA/Cz4vLMIAbRA/S220/F-+7331.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>24</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2473647335142014003.post-6215053118031968678</id><published>2011-02-09T21:22:00.002+05:30</published><updated>2011-02-09T21:27:15.793+05:30</updated><title type='text'>Vonage- Free unlimited calls to India and 60 countries and Better way of managing calls when you are in USA</title><content type='html'>Give it try. Its worth.

&lt;a href="http://www.vonage.com/friend_banners/refer.php?ep1=854&amp;ep2=2120&amp;ep3=12293"&gt;&lt;img src="http://www.vonage.com/friend_banners/images/RAF_125x125.gif" border="0"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2473647335142014003-6215053118031968678?l=tech-serve.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-serve.blogspot.com/feeds/6215053118031968678/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-serve.blogspot.com/2011/02/vonage-free-unlimited-calls-to-india.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/6215053118031968678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/6215053118031968678'/><link rel='alternate' type='text/html' href='http://tech-serve.blogspot.com/2011/02/vonage-free-unlimited-calls-to-india.html' title='Vonage- Free unlimited calls to India and 60 countries and Better way of managing calls when you are in USA'/><author><name>Neeraj Vashisht</name><uri>http://www.blogger.com/profile/03910635354659991914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_KHnPb89mNf4/Sk18VueL8SI/AAAAAAAAAbA/Cz4vLMIAbRA/S220/F-+7331.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2473647335142014003.post-3810142677988470754</id><published>2010-01-27T11:13:00.009+05:30</published><updated>2010-01-27T11:34:56.979+05:30</updated><title type='text'></title><content type='html'>Nice Collection of link to java articles and interview question and answers&lt;br&gt;&lt;br&gt;

Webservice with Axis2:-&lt;br&gt;&lt;br&gt;
http://sacrosanctblood.blogspot.com/2007/03/step-by-step-web-services-with-axis2.html&lt;br&gt;&lt;br&gt;

Interview Questions:-&lt;br&gt;&lt;br&gt;
http://www.us.apachecon.com/presentation/materials/30/ApacheCon_US_2008_-_More_Maven_Best_Practices.pdf&lt;br&gt;&lt;br&gt;

http://static.springsource.org/spring/docs/2.0.x/reference/aop.html&lt;br&gt;&lt;br&gt;

http://www.joelonsoftware.com/articles/fog0000000073.html The Guerilla Guide to Interviewing.&lt;br&gt;&lt;br&gt;

http://www.techinterview.org Interview Question database, be careful of pulling your questions from here!&lt;br&gt;&lt;br&gt;

http://blog.mattgoyer.com/stories/ftjobintinseattle.html A comparison of the Amazon and Microsoft interview process.&lt;br&gt;&lt;br&gt;

http://wiki.sabre.com/confluence/display/MySabreDev/Emulator+Refactoring&lt;br&gt;&lt;br&gt;

http://eclipser-blog.blogspot.com/2009/02/eclipse-debugger-part-vii.html&lt;br&gt;&lt;br&gt;

http://java.boot.by/&lt;br&gt;&lt;br&gt;

http://j2ee.masslight.com/Chapter4.html :- Struts&lt;br&gt;&lt;br&gt;

http://ocw.mit.edu/index.html&lt;br&gt;&lt;br&gt;
http://www.leocrawford.org.uk/work/jcea/part1/ejbcontainer.html&lt;br&gt;&lt;br&gt;
http://www.kevinboone.com/jboss_bmp_tutorial.html&lt;br&gt;&lt;br&gt;
http://www.javacaps.com/ejb/ejb_transactions.html&lt;br&gt;&lt;br&gt;
http://www.informit.com/guides/content.asp?g=java&amp;seqNum=132&lt;br&gt;&lt;br&gt;
http://www.naukri.com/mailers/ch/060904/article.htm&lt;br&gt;&lt;br&gt;
http://www.javacamp.org/jobinterview.html&lt;br&gt;&lt;br&gt;
http://www.onjava.com/pub/a/onjava/2003/11/05/HeadFirst_EJB.html&lt;br&gt;&lt;br&gt;
http://java.boot.by/wcd-guide/ch01.html&lt;br&gt;&lt;br&gt;
http://www.informit.com/articles/article.asp?p=31937&amp;seqNum=4&lt;br&gt;&lt;br&gt;
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=61&amp;t=000563&lt;br&gt;&lt;br&gt;
http://www.kyle-brown.com/&lt;br&gt;&lt;br&gt;
http://www.ideas2work.com/designs.html&lt;br&gt;&lt;br&gt;
www.questpond.com&lt;br&gt;&lt;br&gt;
www.4shared.com&lt;br&gt;&lt;br&gt;
http://careers.cse.sc.edu/googleinterview&lt;br&gt;&lt;br&gt;


http://static.springsource.org/spring/docs/2.0.x/reference/aop.html


1. What project management methodology are you following? Waterfall or AUP?

Agile

2. If using AUP, what is the duration of your iterations?

2 weeks

3. If using AUP, what is the frequency of your testing?

Every iteration

OpenTravel Alliance (OTA)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2473647335142014003-3810142677988470754?l=tech-serve.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-serve.blogspot.com/feeds/3810142677988470754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-serve.blogspot.com/2010/01/sharpen-your-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/3810142677988470754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/3810142677988470754'/><link rel='alternate' type='text/html' href='http://tech-serve.blogspot.com/2010/01/sharpen-your-java.html' title=''/><author><name>Neeraj Vashisht</name><uri>http://www.blogger.com/profile/03910635354659991914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_KHnPb89mNf4/Sk18VueL8SI/AAAAAAAAAbA/Cz4vLMIAbRA/S220/F-+7331.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2473647335142014003.post-7757414957562243952</id><published>2010-01-17T10:27:00.002+05:30</published><updated>2010-01-17T10:50:36.724+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='e-book'/><category scheme='http://www.blogger.com/atom/ns#' term='kindle'/><category scheme='http://www.blogger.com/atom/ns#' term='e-book reader on mobile'/><title type='text'>How to make your mobile phone ebook reader</title><content type='html'>&lt;P&gt;
E-book is new concept for india , however its getting popular all over the world. You can get the 300-400 page book in 2 mb file.
You can kindle like device to read these book, but its very costly aranging from 15000- 20000 rupees(INR). But if you want this facility, then  you
can make your smartphone into e-book reader on which you can read the books while travelling.
&lt;/P&gt;

&lt;OL&gt; The benefit of having ebook reader in your smartphone over kindle like device are:
 &lt;LI&gt;Its saves you lot of money.
 &lt;LI&gt;You cn enjoy the music and other mobile features while reading ebook on mobile.
 &lt;LI&gt;You can share your ebooks
 &lt;LI&gt;Kindle is black and white while you can enjoy the color screen of smart phones.
&lt;/OL&gt;

&lt;OL&gt;You can get the software for your mobile from these websites.Nokia, Samsung, Sony Erricson and Blackberry supports the ebook reader for high end phones.
 &lt;LI&gt;wap.mobango.com
 &lt;LI&gt;tequilacat.org
 &lt;LI&gt;mobipocket.com
 &lt;LI&gt;www.free-ebooks.net
 &lt;LI&gt;www.ereader.com
 &lt;LI&gt;www.smartphone-freeware.com
 &lt;LI&gt;www.microsoft.com/reader
&lt;/OL&gt;

&lt;OL&gt;You can get ebook from :
 &lt;LI&gt;http://mnybks.net/
 &lt;LI&gt;www.umnet.com
 &lt;LI&gt;wap.mbo&amp;ter.com
 &lt;LI&gt;www.mobipocket.com
 &lt;LI&gt;www.t&amp;wph.com
 &lt;LI&gt;tu&amp;mobil.org/ebook.html
&lt;/OL&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2473647335142014003-7757414957562243952?l=tech-serve.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-serve.blogspot.com/feeds/7757414957562243952/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-serve.blogspot.com/2010/01/how-to-make-your-mobile-phone-ebook.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/7757414957562243952'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/7757414957562243952'/><link rel='alternate' type='text/html' href='http://tech-serve.blogspot.com/2010/01/how-to-make-your-mobile-phone-ebook.html' title='How to make your mobile phone ebook reader'/><author><name>Neeraj Vashisht</name><uri>http://www.blogger.com/profile/03910635354659991914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_KHnPb89mNf4/Sk18VueL8SI/AAAAAAAAAbA/Cz4vLMIAbRA/S220/F-+7331.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2473647335142014003.post-6686301806041995908</id><published>2009-12-23T09:08:00.001+05:30</published><updated>2009-12-23T09:09:40.234+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JSW IPO share allocation'/><title type='text'>JSW IPO share allocation</title><content type='html'>I have been allocate 60 shares of JSW Energy on 23 december 2009 at price of Rs. 95each.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2473647335142014003-6686301806041995908?l=tech-serve.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-serve.blogspot.com/feeds/6686301806041995908/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-serve.blogspot.com/2009/12/jsw-ipo-share-allocation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/6686301806041995908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/6686301806041995908'/><link rel='alternate' type='text/html' href='http://tech-serve.blogspot.com/2009/12/jsw-ipo-share-allocation.html' title='JSW IPO share allocation'/><author><name>Neeraj Vashisht</name><uri>http://www.blogger.com/profile/03910635354659991914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_KHnPb89mNf4/Sk18VueL8SI/AAAAAAAAAbA/Cz4vLMIAbRA/S220/F-+7331.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2473647335142014003.post-6557464381476121243</id><published>2009-12-06T20:45:00.003+05:30</published><updated>2009-12-06T20:50:37.605+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Paa'/><category scheme='http://www.blogger.com/atom/ns#' term='Vidya Balan'/><category scheme='http://www.blogger.com/atom/ns#' term='movie review'/><category scheme='http://www.blogger.com/atom/ns#' term='Balki'/><category scheme='http://www.blogger.com/atom/ns#' term='abhishek Bachaan'/><category scheme='http://www.blogger.com/atom/ns#' term='amitabh Bachaan'/><title type='text'>"Paa" movie review</title><content type='html'>Written blog at http://bigb.bigadda.com


&lt;P&gt;Namaskar Amitabh Ji
&lt;P&gt;
&lt;P&gt;First of all, Many many congrats to you AND PAA team for making such a nice movie.
&lt;P&gt;
&lt;P&gt;I watched this movie on Saturday at 10 pm (last night) and could not stop myself from smsing in the interval to my friends to watch the movie. The subject was  "Incredible, Simple, Fantastic movie "PAA" watch twice. I was delighted to see the house full after such a long time for my favouite actor and person. I wish you the award for the best child actor and award for abhishek, Vidya, Nag(Vidya's Mother). To handle all these, the best director award goes to Balki.
&lt;P&gt;
I wonder that how you manage to get such good director at every stage of your career. In earlier days, Hrishikesh Daa, manmohan desai, prakash mehra etc and now Rajkumar santoshi, Balki. and even the make up done in "PAA" has convinced me that if the time and role required to create the young amitabh bachaan of 1980's, then its possible.
&lt;P&gt;
&lt;P&gt;When I went to watch the movie, I was having fear that "Auro" role will come in between the movie  after long romance between abhishek and Vidya till interval and second was that with this makeup, any can one can do the role of "Auro". But with the start of the movie, all my fears disappeared and I was assured that this role can only be done either by you or anil Kapoor to the prefection, nobody else. 
&lt;P&gt;
I would have given the movie 5 stars if the movie has happy ending with Auro playing around his Paa. Auro Need not die. If possible, change the end so that positivity of the movie remain intact. Now my rating is 4.75 stars :) Rather its better than "Taare Zameen Par" in movie making. although no comparison.
&lt;P&gt;
Every actor has justified his role. The critics(Times Of India) were not correct in pointing out that why Paresh Rawal has accepted the role or why abhishek choose Doordarshan. Why dont they criticize about the content of the movie rather than focusing on unnecessary things.If such movie or things happens in hollywood movie, they will give 4+ rating with full praise.
&lt;P&gt;
Hats off to Balki and creativity team.Waiting another movie from him and you.  
&lt;P&gt;
If life permits, then I would like to meet you. 
&lt;P&gt;
Regards
Neeraj Vashisht&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2473647335142014003-6557464381476121243?l=tech-serve.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-serve.blogspot.com/feeds/6557464381476121243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-serve.blogspot.com/2009/12/paa-movie-review.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/6557464381476121243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/6557464381476121243'/><link rel='alternate' type='text/html' href='http://tech-serve.blogspot.com/2009/12/paa-movie-review.html' title='&quot;Paa&quot; movie review'/><author><name>Neeraj Vashisht</name><uri>http://www.blogger.com/profile/03910635354659991914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_KHnPb89mNf4/Sk18VueL8SI/AAAAAAAAAbA/Cz4vLMIAbRA/S220/F-+7331.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2473647335142014003.post-108059445542209393</id><published>2009-10-22T10:43:00.003+05:30</published><updated>2009-10-22T18:09:39.529+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Faridabad'/><category scheme='http://www.blogger.com/atom/ns#' term='Haryana Assembly election 2009'/><title type='text'>Haryana Assembly election 2009</title><content type='html'>&lt;table width="200" border="3"&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Party&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Win&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;CONG&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;40&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;INLD+&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;32&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;HJCBL&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;7&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;BJP&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;4&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;OTHERS&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2473647335142014003-108059445542209393?l=tech-serve.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-serve.blogspot.com/feeds/108059445542209393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-serve.blogspot.com/2009/10/haryana-assembly-election-2009.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/108059445542209393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/108059445542209393'/><link rel='alternate' type='text/html' href='http://tech-serve.blogspot.com/2009/10/haryana-assembly-election-2009.html' title='Haryana Assembly election 2009'/><author><name>Neeraj Vashisht</name><uri>http://www.blogger.com/profile/03910635354659991914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_KHnPb89mNf4/Sk18VueL8SI/AAAAAAAAAbA/Cz4vLMIAbRA/S220/F-+7331.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2473647335142014003.post-211906625245949410</id><published>2009-10-03T08:51:00.002+05:30</published><updated>2009-10-27T10:39:58.082+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Short stories'/><title type='text'>Koshish karne walon ki kabhi haar nahi hoti...a poem by Mr.Harivansh Rai Bachan</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;strong&gt;Lehron se Darkar Noka paar Nahi hoti.&lt;br /&gt;
Koshish karne walon ki kabhi haar nahi hoti...&lt;/strong&gt;

&lt;br /&gt;
&lt;br /&gt;
Nanhi chinti jab Daana Lekar chalti hai.&lt;/p&gt;

&lt;br /&gt;
chadti Deewaron par so(100) baar fisalti hai.
&lt;br /&gt;
mann ka vishwaas Ragon mein sahas bharta hai.
&lt;br /&gt;
chadkar girna girkar chadna naa akharta hai.
&lt;br /&gt;
mehnat uski bekar har baar nahi hoti.
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Koshish karne waalon ki Kabhie haar nahi hoti...&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
dubkiyan samundar mein gotakhor lagata hai.
&lt;br /&gt;
ja ja kar khali haath laut kar aata hai.
&lt;br /&gt;
milte na sehaj hi MOTI gehre paani mein.
&lt;br /&gt;
barta dugna vishwaas issi heyrani mein.
&lt;br /&gt;
Muthi uski khaali har baar nahi hoti.
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Koshish karne walon ki kabhi haar nahi hoti...&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
asafalta ek chunoti hai sawikaar karo.
&lt;br /&gt;
kya kami reh gayi dekho or sudhar karo.
&lt;br /&gt;
jab tak na safal ho neend chain ko tyago tum.
&lt;br /&gt;
sangharshon ka maidan chhor na bhago tum.
&lt;br /&gt;
kuch kiya bina hi jai jai kaar nahi hoti.
&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;
koshish karne walon ki kabhi haar nahi hoti..&lt;/strong&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2473647335142014003-211906625245949410?l=tech-serve.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-serve.blogspot.com/feeds/211906625245949410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-serve.blogspot.com/2009/10/koshish-karne-walon-ki-kabhi-haar-nahi.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/211906625245949410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/211906625245949410'/><link rel='alternate' type='text/html' href='http://tech-serve.blogspot.com/2009/10/koshish-karne-walon-ki-kabhi-haar-nahi.html' title='Koshish karne walon ki kabhi haar nahi hoti...a poem by Mr.Harivansh Rai Bachan'/><author><name>Neeraj Vashisht</name><uri>http://www.blogger.com/profile/03910635354659991914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_KHnPb89mNf4/Sk18VueL8SI/AAAAAAAAAbA/Cz4vLMIAbRA/S220/F-+7331.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2473647335142014003.post-8267246072350682937</id><published>2009-09-08T17:31:00.003+05:30</published><updated>2009-10-02T01:32:37.042+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Learning Java and Architecture'/><title type='text'>UML Tutorial for beginner and experts</title><content type='html'>This is one of the good tutorial which I have found out on the internet for beginner and expert who are intrested in learning UML, java architecture. It has explained all the UML diagrams.
&lt;a href="http://edn.embarcadero.com/article/31863"&gt;Good Tutorial on UML&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2473647335142014003-8267246072350682937?l=tech-serve.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://tech-serve.blogspot.com/2009/09/uml-tutorial.html' title='UML Tutorial for beginner and experts'/><link rel='replies' type='application/atom+xml' href='http://tech-serve.blogspot.com/feeds/8267246072350682937/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-serve.blogspot.com/2009/09/uml-tutorial.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/8267246072350682937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/8267246072350682937'/><link rel='alternate' type='text/html' href='http://tech-serve.blogspot.com/2009/09/uml-tutorial.html' title='UML Tutorial for beginner and experts'/><author><name>Neeraj Vashisht</name><uri>http://www.blogger.com/profile/03910635354659991914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_KHnPb89mNf4/Sk18VueL8SI/AAAAAAAAAbA/Cz4vLMIAbRA/S220/F-+7331.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2473647335142014003.post-2135253344781227592</id><published>2009-08-27T16:01:00.002+05:30</published><updated>2009-08-27T16:08:02.103+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Learning Java and Architecture'/><title type='text'>Coding for performance</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;Here are some performance tips gathered from various sources and personal experience. I have sorted them by category (General, J5SE, J5EE)

&lt;/span&gt;&lt;div style="TEXT-ALIGN: center"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="FONT-WEIGHT: bold"&gt;&lt;u&gt;General&lt;/u&gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Always use the simplest classes possible to get the Job Done.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Never code your own frameworks unless the performance is lacking. Reuse code and frameworks.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Use open source frameworks which are established and tested.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;"Never do today what can be put off till tomorrow. " - Aaron Burr&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;If a class proves difficult to code, put it off until you have a rest. You can then look at it with a fresh set of eyes&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Delegate the hard parts to code to another class&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Do not attempt to resolve all scenarios while coding, i.e., Wait to do locale specific encodings until after the initial code is complete.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Place design notes in your code. Explain the performance requirements in your comments. If there are specific SRS requirements, note the number, date, and revision of the SRS document.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Avoid object creation and destruction except as necessary. Reuse existing objects.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Learn Collections and use them correctly. Use "lightweight" collections and avoid "heavyweight" collections where synchronization is not required.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Initialize objects using a constructor with the least amount of requirements. If you need to use a number of parameters other than the default values, consider using the inverse of the object. In other words, if the object contains an int which is initialized to zero (0), then use the object with the default value and treat initialization parameters as the exception.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Use &lt;/span&gt;&lt;a href="http://findbugs.sourceforge.net/"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;findbugs&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; to find common errors and performance problems.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Reduce the distance between objects during operation. It is better to perform complex operations locally.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Use &lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;System.currentTimeMillis()&lt;/span&gt; for performance measurements to determine execution time&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Use the &lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;-verbose:gc&lt;/span&gt; flag on the JVM to determine if the heap size is too small.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Use constants where possible by using &lt;i style="FONT-WEIGHT: bold"&gt;static final&lt;/i&gt; in the variable declaration.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Use &lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;Enum &lt;/span&gt;instead of integer constants. Enums are more flexible and are typesafe.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;Avoid casting and using &lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;instanceof&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Use synchronized methods instead of code blocks.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Avoid synchronized calls within a synchronized method or code block.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Avoid using synchronization over IO operations except as required to maintain correct operation. For example: JPA inside a servlet.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Turn off auto-commit and use transactions to improve throughput.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Use&lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt; -Xms&lt;/span&gt; and &lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;-Xmx&lt;/span&gt; flags to set the minimum and maximum heap sizes. Try to size appropriately to prevent wasting resources.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div style="TEXT-ALIGN: center"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="FONT-WEIGHT: bold"&gt;&lt;u&gt;J5SE&lt;/u&gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="TEXT-ALIGN: center"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Looping&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Do not recalculate constants inside a loop.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;"Fast Fail" - If a method fails, or throws an exception have it exit the loop quickly. Break loops early.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Use local variables in loops. javac can assign an exact location of a local variable for a method at compile time.
&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div style="TEXT-ALIGN: center"&gt;&lt;span style="FONT-WEIGHT: bold;font-family:verdana;font-size:85%;"  &gt;Strings
&lt;/span&gt;&lt;div style="TEXT-ALIGN: left"&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Avoid using Strings when you are modifying them. Strings are immutable. Therefore to "modify" a String, object creation and destruction must occur. Use &lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;StringBuilder&lt;/span&gt; and &lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;StringBuffer&lt;/span&gt; when Strings must be modified.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Create Strings using the short form syntax to avoid creating additional objects.

&lt;/span&gt;&lt;div style="TEXT-ALIGN: center"&gt;&lt;div style="TEXT-ALIGN: left"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="FONT-WEIGHT: bold"&gt;For example use: &lt;/span&gt;String s1 = "ABC";

&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="TEXT-ALIGN: left"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;instead of:&lt;/b&gt; String s1 = new String("ABC");
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Never use &lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;String&lt;/span&gt; or &lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;StringBuffer&lt;/span&gt; for parsing characters. Use a character array.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Try to set the &lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;StringBuilder&lt;/span&gt; or &lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;StringBuffer&lt;/span&gt; to the size required, or maximum size required during initialization to prevent a performance penalty while resizing.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Avoid using &lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;StringTokenizer &lt;/span&gt;if there is a performance requirement. Use a more specific (custom) tokenizer to split Strings. StringTokenizer is a generic utility that is synchronized internally.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Use StringBuilder instead of StringBuffer unless synchronization is required.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div style="TEXT-ALIGN: center"&gt;&lt;span style="FONT-WEIGHT: bold;font-family:verdana;font-size:85%;"  &gt;Collections
&lt;/span&gt;&lt;div style="TEXT-ALIGN: left"&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Avoid using generic object collections. Use generics with collections to avoid having to cast objects.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Use a &lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;LinkedList&lt;/span&gt; over an &lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;ArrayList&lt;/span&gt; if there a large number of insertions and deletions.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Use a &lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;HashMap&lt;/span&gt; instead of a &lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;TreeMap&lt;/span&gt; unless there is a requirement to maintain a sort order.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Use a &lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;HashSet&lt;/span&gt; over a &lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;TreeSet&lt;/span&gt; unless there is a requirement to maintain a sort order.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;When using &lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;Vector&lt;/span&gt;, try to set the initial size to the expected maximum size to prevent having to grow the &lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;Vector&lt;/span&gt;. If you must grow a Vector use a reasonable value to increase the size.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;It is extremely important to try to appropriately size a &lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;HashTable&lt;/span&gt; to prevent reorganization.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div style="TEXT-ALIGN: center"&gt;&lt;span style="FONT-WEIGHT: bold;font-family:verdana;font-size:85%;"  &gt;&lt;u&gt;J5EE
&lt;/u&gt;&lt;/span&gt;&lt;div style="TEXT-ALIGN: left"&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Reduce the number of network operations by returning complete results rather than smaller intermediate results.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;If database design constraints impose a specific database, use the advantages of the database where possible.
&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;If operations are performed on the database, consider using stored procedures and making JDBC calls.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Do not use Entity Beans unless you must, use Java Persistence API (JPA) instead.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Do not use Java Persistence API (JPA) unless you need it, or want to use some of its advanced capabilities.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Limit the subset of data required to the minimum required for your program. Do not pull a whole row of data from table when you require only a few fields.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;When given a choice use local interfaces and local method calls on EJBs&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Shorten the distance between servers. Try to maintain dependent servers as close as possible. In clustered environments, try to keep remote communications on a separate private network interface.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;It is generally better to use a coarser stateless session bean to avoid JNDI lookups for fine grained operations.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Avoid stateful session beans except as necessary.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Set timers for non-activity on stateful session beans as low as possible to prevent "dead" connections waiting to timeout.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Use Data Transfer Objects (DTO) to maintain granularity. DTOs must be &lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;Serializable&lt;/span&gt;.
&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2473647335142014003-2135253344781227592?l=tech-serve.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-serve.blogspot.com/feeds/2135253344781227592/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-serve.blogspot.com/2009/08/coding-for-performance.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/2135253344781227592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/2135253344781227592'/><link rel='alternate' type='text/html' href='http://tech-serve.blogspot.com/2009/08/coding-for-performance.html' title='Coding for performance'/><author><name>Neeraj Vashisht</name><uri>http://www.blogger.com/profile/03910635354659991914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_KHnPb89mNf4/Sk18VueL8SI/AAAAAAAAAbA/Cz4vLMIAbRA/S220/F-+7331.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2473647335142014003.post-240505695340546265</id><published>2009-06-29T17:01:00.002+05:30</published><updated>2009-08-27T16:24:41.516+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Design Pattern'/><title type='text'>Strategy -The Design Pattern</title><content type='html'>&lt;h2&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;The Strategy Pattern&lt;/span&gt;&lt;/h2&gt;&lt;div class="info"&gt;&lt;div class="act"&gt;&lt;div class="fixed"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;I will get right to the point about this pattern. Everyone at some point in their code has a switch statement, that depending on the state of an object, you do some crap and it just looks like this:&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="content"&gt;

&lt;div class="wp_syntax"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="line_numbers"&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;1
2
3
4
5
&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class="code"&gt;&lt;pre class="java"  style="font-family:monospace;"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;switch&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;(&lt;/span&gt;object.&lt;span style="COLOR: rgb(0,102,51)"&gt;getType&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;(&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;)&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;)&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;{&lt;/span&gt;

   &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;case&lt;/span&gt; Type1&lt;span style="COLOR: rgb(51,153,51)"&gt;:&lt;/span&gt;amount&lt;span style="COLOR: rgb(51,153,51)"&gt;=&lt;/span&gt;something&lt;span style="COLOR: rgb(51,153,51)"&gt;;&lt;/span&gt;break&lt;span style="COLOR: rgb(51,153,51)"&gt;;&lt;/span&gt;
   &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;case&lt;/span&gt; Type2&lt;span style="COLOR: rgb(51,153,51)"&gt;:&lt;/span&gt;amount&lt;span style="COLOR: rgb(51,153,51)"&gt;=&lt;/span&gt;somethingelse&lt;span style="COLOR: rgb(51,153,51)"&gt;;&lt;/span&gt;break&lt;span style="COLOR: rgb(51,153,51)"&gt;;&lt;/span&gt;

   &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;case&lt;/span&gt; Type3&lt;span style="COLOR: rgb(51,153,51)"&gt;:&lt;/span&gt;etcetcetc&lt;span style="COLOR: rgb(51,153,51)"&gt;;&lt;/span&gt;
&lt;span style="COLOR: rgb(0,153,0)"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Not only is this about as ugly as it gets, it makes it utterly useless when it comes to extensibility and have thrown out any hope of it being reusable. This is an example of tightly coupling functionality that varies to the object. Things like this are difficult to manage over time and every time you think of another case, you get to let this beast of a switch statement grow and grow and grow. So how do we avoid something like this?&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;This is where the Strategy Pattern comes in. One of the main strengths is it allows you to encapsulate the behavior of an object rather than placing that behavior into the object. This would allow you to not only easily switch out behaviors with ease, but also allow you to switch them out at runtime.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;In our switch statement, we were concerned about the amount. Depending on the type, we are calculating the type differently. What we want to do is rather than implementing into our class, we want to just say ‘whatever you are, calculate your amount.’&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;First thing that we must do is setup an abstract class for our object. What we want to put in here are the behaviors of the object that will change.&lt;/span&gt;&lt;/p&gt;&lt;div class="wp_syntax"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="line_numbers"&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;1
2
3
4
5
6
7
8
9
10
&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class="code"&gt;&lt;pre class="java"  style="font-family:monospace;"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;public&lt;/span&gt; &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;abstract&lt;/span&gt; &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;class&lt;/span&gt; AmountObject &lt;span style="COLOR: rgb(0,153,0)"&gt;{&lt;/span&gt;
   &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;public&lt;/span&gt; AmountObject &lt;span style="COLOR: rgb(0,153,0)"&gt;(&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;)&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;{&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;}&lt;/span&gt;

   &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;public&lt;/span&gt; AmountStrategy amountStrategy&lt;span style="COLOR: rgb(51,153,51)"&gt;;&lt;/span&gt;
   &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;public&lt;/span&gt; &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,102)"&gt;void&lt;/span&gt; calculateAmount&lt;span style="COLOR: rgb(0,153,0)"&gt;(&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;)&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;{&lt;/span&gt;
      amountStrategy.&lt;span style="COLOR: rgb(0,102,51)"&gt;getAmount&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;(&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;)&lt;/span&gt;&lt;span style="COLOR: rgb(51,153,51)"&gt;;&lt;/span&gt;

   &lt;span style="COLOR: rgb(0,153,0)"&gt;}&lt;/span&gt;
   &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;public&lt;/span&gt; AmountStrategy setAmountStrategy&lt;span style="COLOR: rgb(0,153,0)"&gt;(&lt;/span&gt;AmountStrategy as&lt;span style="COLOR: rgb(0,153,0)"&gt;)&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;{&lt;/span&gt;
      amountStrategy &lt;span style="COLOR: rgb(51,153,51)"&gt;=&lt;/span&gt; as&lt;span style="COLOR: rgb(51,153,51)"&gt;;&lt;/span&gt;

   &lt;span style="COLOR: rgb(0,153,0)"&gt;}&lt;/span&gt;
&lt;span style="COLOR: rgb(0,153,0)"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;As you can see, its a simple class, all it has is an AmountStrategy object and something that calls getAmount() on it. For this example, lets just say all it does is output the amount. In a more real world example (which i would like to post for you later), we could pass in whatever parameters into the behavior into the function to do the calculations. Lets look how the behaviors will work. First we are going to have an interface for each different type of behavior to implement.&lt;/span&gt;&lt;/p&gt;&lt;div class="wp_syntax"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="line_numbers"&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;1
2
3
&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class="code"&gt;&lt;pre class="java"  style="font-family:monospace;"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;public&lt;/span&gt; &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;interface&lt;/span&gt; AmountBehavior &lt;span style="COLOR: rgb(0,153,0)"&gt;{&lt;/span&gt;

   &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;public&lt;/span&gt; &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,102)"&gt;void&lt;/span&gt; getAmount&lt;span style="COLOR: rgb(0,153,0)"&gt;(&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;)&lt;/span&gt;&lt;span style="COLOR: rgb(51,153,51)"&gt;;&lt;/span&gt;
&lt;span style="COLOR: rgb(0,153,0)"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Thats it. We have an interface with just its method. Now the implementation of the behavior.&lt;/span&gt;
&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;And for the sake of example, lets implement another one.&lt;/span&gt;&lt;/p&gt;
&lt;div class="wp_syntax"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="line_numbers"&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;1
2
3
4
5
6
&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class="code"&gt;&lt;pre class="java"  style="font-family:monospace;"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;public&lt;/span&gt; &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;class&lt;/span&gt; AmountStrategyB &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;implements&lt;/span&gt; AmountBehavior&lt;span style="COLOR: rgb(0,153,0)"&gt;{&lt;/span&gt;

   &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;public&lt;/span&gt; &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,102)"&gt;void&lt;/span&gt; getAmount&lt;span style="COLOR: rgb(0,153,0)"&gt;(&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;)&lt;/span&gt; &lt;span style="COLOR: rgb(0,153,0)"&gt;{&lt;/span&gt;
      &lt;span style="COLOR: rgb(102,102,102); FONT-STYLE: italic"&gt;//do some calculations. Usually you would pass in parameters for  this&lt;/span&gt;
      &lt;span style="COLOR: rgb(0,51,153)"&gt;System&lt;/span&gt;.&lt;span style="COLOR: rgb(0,102,51)"&gt;out&lt;/span&gt;.&lt;span style="COLOR: rgb(0,102,51)"&gt;println&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;(&lt;/span&gt;&lt;span style="COLOR: rgb(0,0,255)"&gt;"This is Strategy B"&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;)&lt;/span&gt;&lt;span style="COLOR: rgb(51,153,51)"&gt;;&lt;/span&gt;

   &lt;span style="COLOR: rgb(0,153,0)"&gt;}&lt;/span&gt;
&lt;span style="COLOR: rgb(0,153,0)"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Now, when we extend our abstract class, we will be able to assign either one of these strategies. As I said earlier, we have encapsulated the behavior of our object rather than coding it straight into our implementation. So lets see how it will work out for us.&lt;/span&gt;&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="line_numbers"&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;1
2
3
4
5
6
&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class="code"&gt;&lt;pre class="java"  style="font-family:monospace;"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;public&lt;/span&gt; &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;class&lt;/span&gt; AmountStrategyImpl &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;extends&lt;/span&gt; AmountStrategy&lt;span style="COLOR: rgb(0,153,0)"&gt;{&lt;/span&gt;

   &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;public&lt;/span&gt; AmountStrategyImpl&lt;span style="COLOR: rgb(0,153,0)"&gt;(&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;)&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;{&lt;/span&gt;
      amountBehavior &lt;span style="COLOR: rgb(51,153,51)"&gt;=&lt;/span&gt; &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;new&lt;/span&gt; AmountStrategyA &lt;span style="COLOR: rgb(0,153,0)"&gt;(&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;)&lt;/span&gt;&lt;span style="COLOR: rgb(51,153,51)"&gt;;&lt;/span&gt;

      &lt;span style="COLOR: rgb(102,102,102); FONT-STYLE: italic"&gt;//whatever other fields that need to be here.&lt;/span&gt;
   &lt;span style="COLOR: rgb(0,153,0)"&gt;}&lt;/span&gt;
&lt;span style="COLOR: rgb(0,153,0)"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;So now we have our implementation with AmountStrategyA. Once again, its pretty straight forward. We have extended our abstract class that has default functionality and fields already there. From our abstract class, we assign the amountBehavior to it. Finally, lets see what it looks like in action.&lt;/span&gt;&lt;/p&gt;
&lt;div class="wp_syntax"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="line_numbers"&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;1
2
3
4
5
6
&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class="code"&gt;&lt;pre class="java"  style="font-family:monospace;"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;public&lt;/span&gt; &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;class&lt;/span&gt; AmountStrategyExample &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;extends&lt;/span&gt; AmountObject &lt;span style="COLOR: rgb(0,153,0)"&gt;{&lt;/span&gt;

   &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;public&lt;/span&gt; &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;static&lt;/span&gt; &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,102)"&gt;void&lt;/span&gt; main&lt;span style="COLOR: rgb(0,153,0)"&gt;(&lt;/span&gt;&lt;span style="COLOR: rgb(0,51,153)"&gt;String&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;[&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;]&lt;/span&gt; args&lt;span style="COLOR: rgb(0,153,0)"&gt;)&lt;/span&gt; &lt;span style="COLOR: rgb(0,153,0)"&gt;{&lt;/span&gt;

      AmountStrategyImpl amountStrategy &lt;span style="COLOR: rgb(51,153,51)"&gt;=&lt;/span&gt; &lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;new&lt;/span&gt; AmountStrategyImpl &lt;span style="COLOR: rgb(0,153,0)"&gt;(&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;)&lt;/span&gt;&lt;span style="COLOR: rgb(51,153,51)"&gt;;&lt;/span&gt;
      amountStrategy.&lt;span style="COLOR: rgb(0,102,51)"&gt;getAmount&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;(&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;)&lt;/span&gt;&lt;span style="COLOR: rgb(51,153,51)"&gt;;&lt;/span&gt;

   &lt;span style="COLOR: rgb(0,153,0)"&gt;}&lt;/span&gt;
&lt;span style="COLOR: rgb(0,153,0)"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;If you were to compile all these classes and run them, it would output “This is Strategy A”. Now, what we have done is totally isolate the behavior of our object into separate classes and allowed us to assign them to the object depending on the requirements. There is one function that I did not explain in our abstract method though, which is the setAmountStrategy function. What this allows us to do is reassign the strategy AT runtime. So lets say for whatever reason you wanted to change the strategy on how you calculate your amount (IE: You make more money and now your taxes are calculated differently). Add this line at the end of the implementations:&lt;/span&gt;&lt;/p&gt;
&lt;div class="wp_syntax"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="line_numbers"&gt;&lt;pre&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;1
2
&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;td class="code"&gt;&lt;pre class="java"  style="font-family:monospace;"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;   amountStrategy.&lt;span style="COLOR: rgb(0,102,51)"&gt;setStrategy&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;(&lt;/span&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;new&lt;/span&gt; AmountStrategyB&lt;span style="COLOR: rgb(0,153,0)"&gt;(&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;)&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;)&lt;/span&gt;&lt;span style="COLOR: rgb(51,153,51)"&gt;;&lt;/span&gt;

   amountStrategy.&lt;span style="COLOR: rgb(0,102,51)"&gt;getAmount&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;(&lt;/span&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;)&lt;/span&gt;&lt;span style="COLOR: rgb(51,153,51)"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Now it will output “This is Strategy B”. Pretty cool huh? &lt;img class="wp-smiley" alt=":)" src="http://codeofdoom.com/wordpress/wp-includes/images/smilies/icon_smile.gif" /&gt; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;If you were to google Strategy Pattern, one phrase that you will see repeated is “Program for an interface, not for an implementation”, which is exactly what has happened here. We have taken the behavior of the object and placed it in an abstract class and in an interface. We then took the behavior AWAY from the implementation. The implementation should never care how the amount is calculated. All it wants is the amount. The main thing to keep in mind when coding these is think about your object and ask ‘what behavior is static and what behavior is dynamic?’ Take what is dynamic and encapsulate it and take it away from your main object. Then in the implementation, assign the behavior. &lt;/span&gt;&lt;/p&gt;&lt;a href="http://codeofdoom.com/wordpress/2008/04/18/the-strategy-pattern/"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;http://codeofdoom.com/wordpress/2008/04/18/the-strategy-pattern/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2473647335142014003-240505695340546265?l=tech-serve.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-serve.blogspot.com/feeds/240505695340546265/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-serve.blogspot.com/2009/06/design-pattern.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/240505695340546265'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/240505695340546265'/><link rel='alternate' type='text/html' href='http://tech-serve.blogspot.com/2009/06/design-pattern.html' title='Strategy -The Design Pattern'/><author><name>Neeraj Vashisht</name><uri>http://www.blogger.com/profile/03910635354659991914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_KHnPb89mNf4/Sk18VueL8SI/AAAAAAAAAbA/Cz4vLMIAbRA/S220/F-+7331.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2473647335142014003.post-7304890073232830107</id><published>2009-06-04T20:54:00.003+05:30</published><updated>2009-06-04T21:03:51.975+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Learning Java and Architecture'/><title type='text'>Java Architect</title><content type='html'>Some good link regarding the good books on java,design and discussion on java architect. I also want to become good programmer and learn the domain and moreover technology independent. I have experience of 8 years and right now doing MBA from symbiosis. Goal is become project manager who is good at handling the project and people(not by dictatorship). One who has whole knowledge is always approacable.

&lt;a href="http://www.codinghorror.com/blog/archives/000020.html"&gt;http://www.codinghorror.com/blog/archives/000020.html&lt;/a&gt;

&lt;a href="http://veerasundar.com/blog/2008/07/becoming-a-java-architect/"&gt;http://veerasundar.com/blog/2008/07/becoming-a-java-architect/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2473647335142014003-7304890073232830107?l=tech-serve.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-serve.blogspot.com/feeds/7304890073232830107/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-serve.blogspot.com/2009/06/java-architect.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/7304890073232830107'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/7304890073232830107'/><link rel='alternate' type='text/html' href='http://tech-serve.blogspot.com/2009/06/java-architect.html' title='Java Architect'/><author><name>Neeraj Vashisht</name><uri>http://www.blogger.com/profile/03910635354659991914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_KHnPb89mNf4/Sk18VueL8SI/AAAAAAAAAbA/Cz4vLMIAbRA/S220/F-+7331.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2473647335142014003.post-7429872419641253707</id><published>2009-06-02T08:48:00.005+05:30</published><updated>2009-12-06T20:44:51.697+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Project Report'/><title type='text'>Project Report</title><content type='html'>If you need the project report on any topic, then mail me at neerajvas@yahoo.com Charges Apply.

Project-Report-on-Operations-Retail:


&lt;p&gt;&lt;a href="http://www.scribd.com/doc/12631980/Project-Report-on-Operations-Retail"&gt;http://www.scribd.com/doc/12631980/Project-Report-on-Operations-Retail&lt;/a&gt;&lt;/p&gt;



PROJECT-ON-HDFC-BANK:

&lt;a href="http://www.scribd.com/doc/4374980/PROJECT-ON-HDFC-BANK"&gt;http://www.scribd.com/doc/4374980/PROJECT-ON-HDFC-BANK&lt;/a&gt;


Need of Financial advisor
http://www.scribd.com/doc/3476956/Project-Report-New

http://www.superfactory.com/topics/JIT-just-in-time.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2473647335142014003-7429872419641253707?l=tech-serve.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-serve.blogspot.com/feeds/7429872419641253707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-serve.blogspot.com/2009/06/project-report.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/7429872419641253707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/7429872419641253707'/><link rel='alternate' type='text/html' href='http://tech-serve.blogspot.com/2009/06/project-report.html' title='Project Report'/><author><name>Neeraj Vashisht</name><uri>http://www.blogger.com/profile/03910635354659991914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_KHnPb89mNf4/Sk18VueL8SI/AAAAAAAAAbA/Cz4vLMIAbRA/S220/F-+7331.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2473647335142014003.post-7876900519390912760</id><published>2009-06-01T16:17:00.014+05:30</published><updated>2009-06-01T17:58:54.515+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='MBA video lectures'/><title type='text'>Techniques for Operations Effieciency</title><content type='html'>&lt;strong&gt;7QC Tools:-
&lt;/strong&gt;
&lt;strong&gt;1. FISHBONE DIAGRAM: How to Construct a Fishbone Diagram&lt;/strong&gt;&lt;br&gt;
&lt;a href="http://www.youtube.com/watch?v=AT4hdB3UcMk"&gt;http://www.youtube.com/watch?v=AT4hdB3UcMk&lt;/a&gt;&lt;br&gt;

2. The Seven Tools of Quality&lt;br&gt;

&lt;a href="http://www.youtube.com/watch?v=x7m7YH7PKME&amp;amp;feature=related"&gt;http://www.youtube.com/watch?v=x7m7YH7PKME&amp;amp;feature=related&lt;/a&gt;&lt;br&gt;

3. How To...Create a Pareto Chart in Excel&lt;br&gt;

&lt;a href="http://www.youtube.com/watch?v=6LhEp22qD-w&amp;amp;feature=related"&gt;http://www.youtube.com/watch?v=6LhEp22qD-w&amp;amp;feature=related&lt;/a&gt;&lt;br&gt;

4. 5S&lt;br&gt;


&lt;a href="http://www.youtube.com/watch?v=zm3OZmll_oA"&gt;http://www.youtube.com/watch?v=zm3OZmll_oA&lt;/a&gt;&lt;br&gt;

&lt;a href="http://www.youtube.com/watch?v=xerw0q1csZU&amp;amp;feature=related"&gt;http://www.youtube.com/watch?v=xerw0q1csZU&amp;amp;feature=related&lt;/a&gt;&lt;br&gt;

Good video to learn about 5S&lt;br&gt;

&lt;a href="http://www.youtube.com/watch?v=aknvLx1RZC8&amp;amp;feature=related"&gt;http://www.youtube.com/watch?v=aknvLx1RZC8&amp;amp;feature=related&lt;/a&gt;&lt;br&gt;

&lt;a href="http://www.youtube.com/watch?v=HQPZlvwK90Y&amp;amp;feature=channel"&gt;http://www.youtube.com/watch?v=HQPZlvwK90Y&amp;amp;feature=channel&lt;/a&gt;&lt;br&gt;

5. Kaizen&lt;br&gt;
Personal Kaizen:- &lt;a href="http://www.youtube.com/watch?v=2_U-IwrCph4"&gt;http://www.youtube.com/watch?v=2_U-IwrCph4&lt;/a&gt;&lt;br&gt;
&lt;a href="http://www.youtube.com/watch?v=ZTA7zoRm1_Q&amp;amp;feature=related"&gt;http://www.youtube.com/watch?v=ZTA7zoRm1_Q&amp;amp;feature=related&lt;/a&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2473647335142014003-7876900519390912760?l=tech-serve.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-serve.blogspot.com/feeds/7876900519390912760/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-serve.blogspot.com/2009/06/techniques-for-operations-effieciency.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/7876900519390912760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/7876900519390912760'/><link rel='alternate' type='text/html' href='http://tech-serve.blogspot.com/2009/06/techniques-for-operations-effieciency.html' title='Techniques for Operations Effieciency'/><author><name>Neeraj Vashisht</name><uri>http://www.blogger.com/profile/03910635354659991914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_KHnPb89mNf4/Sk18VueL8SI/AAAAAAAAAbA/Cz4vLMIAbRA/S220/F-+7331.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2473647335142014003.post-858556349796241596</id><published>2009-06-01T13:00:00.003+05:30</published><updated>2009-06-01T13:05:11.366+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='MBA video lectures'/><title type='text'>Production Planning and control</title><content type='html'>Production Planning and control:- &lt;br&gt;
&lt;a dir="ltr" title="http://nptel.iitm.ac.in" href="http://nptel.iitm.ac.in/" target="_blank" rel="nofollow"&gt;http://nptel.iitm.ac.in/&lt;/a&gt;&lt;br&gt;

Lecture - 38 Basic Inventory Principles&lt;br&gt;

&lt;a href="http://www.youtube.com/watch?v=tO5MmOBdkxk&amp;amp;feature=related"&gt;http://www.youtube.com/watch?v=tO5MmOBdkxk&amp;amp;feature=related&lt;/a&gt;&lt;br&gt;

Lecture - 39 Inventory Modelling&lt;br&gt;

&lt;a href="http://www.youtube.com/watch?v=os6pOCOSeg4&amp;amp;feature=channel"&gt;http://www.youtube.com/watch?v=os6pOCOSeg4&amp;amp;feature=channel&lt;/a&gt;&lt;br&gt;

Lecture - 41 Scheduling of Job Shops&lt;br&gt;

&lt;a href="http://www.youtube.com/watch?v=chGrYmBNn5Y&amp;amp;feature=channel"&gt;http://www.youtube.com/watch?v=chGrYmBNn5Y&amp;amp;feature=channel&lt;/a&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2473647335142014003-858556349796241596?l=tech-serve.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-serve.blogspot.com/feeds/858556349796241596/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-serve.blogspot.com/2009/06/production-planning-and-control.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/858556349796241596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/858556349796241596'/><link rel='alternate' type='text/html' href='http://tech-serve.blogspot.com/2009/06/production-planning-and-control.html' title='Production Planning and control'/><author><name>Neeraj Vashisht</name><uri>http://www.blogger.com/profile/03910635354659991914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_KHnPb89mNf4/Sk18VueL8SI/AAAAAAAAAbA/Cz4vLMIAbRA/S220/F-+7331.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2473647335142014003.post-3877195149736708309</id><published>2009-02-07T16:53:00.002+05:30</published><updated>2009-02-07T16:56:57.850+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tax Saving and Insurance related Info'/><title type='text'>Life Insurance Policies</title><content type='html'>&lt;span style="font-family:arial;"&gt;Good website for insurance related information. &lt;/span&gt;
&lt;span style="font-family:arial;"&gt; &lt;/span&gt;&lt;a href="http://bimaonline.com/cgi-bin/ind/policies/policies.asp"&gt;&lt;span style="font-family:arial;"&gt;http://bimaonline.com/cgi-bin/ind/policies/policies.asp&lt;/span&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2473647335142014003-3877195149736708309?l=tech-serve.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-serve.blogspot.com/feeds/3877195149736708309/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-serve.blogspot.com/2009/02/life-insurance-policies.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/3877195149736708309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/3877195149736708309'/><link rel='alternate' type='text/html' href='http://tech-serve.blogspot.com/2009/02/life-insurance-policies.html' title='Life Insurance Policies'/><author><name>Neeraj Vashisht</name><uri>http://www.blogger.com/profile/03910635354659991914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_KHnPb89mNf4/Sk18VueL8SI/AAAAAAAAAbA/Cz4vLMIAbRA/S220/F-+7331.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2473647335142014003.post-8223669385029980448</id><published>2009-02-05T18:26:00.002+05:30</published><updated>2009-02-07T16:58:43.984+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tax Saving and Insurance related Info'/><title type='text'>Split your life insurance</title><content type='html'>&lt;a href="http://moneytoday.digitaltoday.in/index.php?option=com_content&amp;amp;task=view&amp;amp;id=4993&amp;amp;issueid=61&amp;amp;sectionid=106&amp;amp;Itemid=1"&gt;http://moneytoday.digitaltoday.in/index.php?option=com_content&amp;amp;task=view&amp;amp;id=4993&amp;amp;issueid=61&amp;amp;sectionid=106&amp;amp;Itemid=1&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2473647335142014003-8223669385029980448?l=tech-serve.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-serve.blogspot.com/feeds/8223669385029980448/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-serve.blogspot.com/2009/02/split-your-life-insurance.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/8223669385029980448'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/8223669385029980448'/><link rel='alternate' type='text/html' href='http://tech-serve.blogspot.com/2009/02/split-your-life-insurance.html' title='Split your life insurance'/><author><name>Neeraj Vashisht</name><uri>http://www.blogger.com/profile/03910635354659991914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_KHnPb89mNf4/Sk18VueL8SI/AAAAAAAAAbA/Cz4vLMIAbRA/S220/F-+7331.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2473647335142014003.post-2225590611765619455</id><published>2009-02-03T12:05:00.005+05:30</published><updated>2009-02-03T12:11:37.403+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Faridabad'/><title type='text'>GOVERNMENT PUBLIC GRIEVANCE CELL</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_KHnPb89mNf4/SYfmiKp3SBI/AAAAAAAAAaQ/0_2LSivYM98/s1600-h/Grievance_Cell.bmp"&gt;&lt;span style="font-family:arial;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5298456961274562578" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; CURSOR: hand; HEIGHT: 214px" alt="" src="http://1.bp.blogspot.com/_KHnPb89mNf4/SYfmiKp3SBI/AAAAAAAAAaQ/0_2LSivYM98/s320/Grievance_Cell.bmp" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;
&lt;/span&gt;&lt;div&gt;&lt;span style="font-family:arial;"&gt;Dear All,

Government of India has an online Grievance forum at &lt;/span&gt;&lt;a title="http://www.pgportal.gov.in/" href="http://www.pgportal.gov.in/" target="_blank"&gt;&lt;span style="font-family:arial;"&gt;http://www.pgportal.gov.in/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt; Can you imagine this is happening in INDIA?

The govt. wants people to use this tool to highlight the problems they faced while dealing with Government officials or departments like Passport Office, Electricity board, BSNL/MTNL, Railways etc.

Many of us say that these things don't work in India. Couple of months back, the Faridabad Municipal Corporation laid new roads in his area and the residents were very happy about it. But 2 weeks later, BSNL dug up the newly laid roads to install new cables which annoyed all the residents. A resident used the above listed grievance forum to highlight his concern. To his surprise, BSNL and Municipal Corporation of Faridabad were served a show cause notice and the guy received a copy of the notice in one week. Government has asked the MC and BSNL about the goof up as it's clear that both the government departments were not in sync at all.

So use this grievance forum and educate others who don't know about this facility. This way we can at least raise our concerns instead of just talking about the 'System' in India.

Invite your friends to contribute for many such happenings. &lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2473647335142014003-2225590611765619455?l=tech-serve.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-serve.blogspot.com/feeds/2225590611765619455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-serve.blogspot.com/2009/02/government-public-grievance-cell.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/2225590611765619455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/2225590611765619455'/><link rel='alternate' type='text/html' href='http://tech-serve.blogspot.com/2009/02/government-public-grievance-cell.html' title='GOVERNMENT PUBLIC GRIEVANCE CELL'/><author><name>Neeraj Vashisht</name><uri>http://www.blogger.com/profile/03910635354659991914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_KHnPb89mNf4/Sk18VueL8SI/AAAAAAAAAbA/Cz4vLMIAbRA/S220/F-+7331.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_KHnPb89mNf4/SYfmiKp3SBI/AAAAAAAAAaQ/0_2LSivYM98/s72-c/Grievance_Cell.bmp' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2473647335142014003.post-5574126861948871783</id><published>2009-01-31T13:09:00.006+05:30</published><updated>2009-10-27T10:36:13.295+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Earn Free money'/><title type='text'>Money Making through mobile</title><content type='html'>&lt;a href="http://mGinger.com/signup.html?inviteId=115728"&gt;
 &lt;img src="http://img.mginger.com/img/banner/mg300x50_green.png"/&gt;&lt;/a&gt;
&lt;a href="http://1.bp.blogspot.com/_KHnPb89mNf4/SYQCa-vXKCI/AAAAAAAAAZ0/3GgJQvJ1l8k/s1600-h/mginger.JPG"&gt;&lt;span style="font-family:arial;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5297361724236048418" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 238px; CURSOR: hand; HEIGHT: 320px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_KHnPb89mNf4/SYQCa-vXKCI/AAAAAAAAAZ0/3GgJQvJ1l8k/s320/mginger.JPG" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;
&lt;/span&gt;&lt;p&gt;It is service which pays you for getting   advertisment in form of sms on your mobile. &lt;br /&gt;
I have already got my first cheque of Rs. 302.and till now in second ininings I have earned 400 rupees. I have attached the letter from mginger and cheque as proof. Although the amount is   little, but its satisfaction, that it works. &lt;/p&gt;
&lt;p&gt;If you want to join it, 

&lt;a href="http://mginger.com/index.jsp?inviteId=115728"&gt;then click on this link &lt;/a&gt;or &lt;br /&gt;
copy paste this url:   http://mginger.com/index.jsp?inviteId=115728 &lt;/p&gt;
&lt;/br&gt;
&lt;p&gt;&lt;strong&gt;Payment for Silver Members:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;As you know, once you register with mGinger with minimal mandatory  details you become a silver member where in mGinger pays you 10 paisa  for each incoming SMS and 5 paisa for every SMS that your friends (in  your network) receive.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Payment for Gold Members:&lt;/strong&gt;&lt;br /&gt;
  Once you complete all profile details and verify your mobile number and  email you become a gold member. When you upgrade to GOLD membership you  will be paid 20 paisa for every sms that you receive and 10 paisa for  every sms your friend receives.&lt;br /&gt;
  Additionally, you will also be paid 5 paisa for every sms your friend&amp;rsquo;s friend receives.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The New mGinger 3&amp;hellip;2&amp;hellip;1&amp;hellip; Payment Policy:&lt;/strong&gt;&lt;br /&gt;
  mGinger now gives you more than one option to earn money. &lt;/p&gt;
&lt;p&gt;The new payment policy goes as follows:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Verify your mobile @ Rs 3:&lt;/strong&gt;&lt;br /&gt;
  mGinger will now pay you more &amp;amp; more. If you haven&amp;rsquo;t verified your  mobile, verify it right away &amp;amp; mGinger will add Rs 3 back to your  earnings within 24 hours. Once your mobile is verified you&amp;rsquo;ll start  receiving messages &amp;amp; get paid for each incoming SMS.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Refer your friends and get Rs 2 on each valid referral:&lt;/strong&gt;&lt;br /&gt;
  More friends, more money! Invite as many friends as you can to your  mGinger network and get Rs 2 added to your mGinger earnings on each  valid referral. Just to remind you again, you will also keep earning  money with each incoming SMS that your friends receive.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Verify your e-mail @ Rs 1:&lt;/strong&gt;&lt;br /&gt;
  Verify your e-mail and get updates, notifications &amp;amp; reminders about  your mGinger account. That&amp;rsquo;s not all; mGinger will also add Rs 1 to  your account as soon as your email is verified. Just click on the email  verification link and you&amp;rsquo;re sorted!&lt;br /&gt;
  At mGinger, with so many earning options to choose from all we wish to say is&amp;hellip;&lt;/p&gt;
&lt;p&gt;Happy  Moneymaking&lt;/p&gt;
&lt;p&gt;The salient feature of mginger &lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt; Get   informed about market and offers &lt;/li&gt;
  &lt;li&gt;Free sms &lt;/li&gt;
  &lt;li&gt;Redeem the money for the   discount coupons.&lt;/li&gt;
  &lt;li&gt;You will get Rs. 2 for every new joinee  &lt;/li&gt;
&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2473647335142014003-5574126861948871783?l=tech-serve.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-serve.blogspot.com/feeds/5574126861948871783/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-serve.blogspot.com/2009/01/money-making-through-mobile.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/5574126861948871783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/5574126861948871783'/><link rel='alternate' type='text/html' href='http://tech-serve.blogspot.com/2009/01/money-making-through-mobile.html' title='Money Making through mobile'/><author><name>Neeraj Vashisht</name><uri>http://www.blogger.com/profile/03910635354659991914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_KHnPb89mNf4/Sk18VueL8SI/AAAAAAAAAbA/Cz4vLMIAbRA/S220/F-+7331.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_KHnPb89mNf4/SYQCa-vXKCI/AAAAAAAAAZ0/3GgJQvJ1l8k/s72-c/mginger.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2473647335142014003.post-1719996994616203085</id><published>2009-01-31T12:13:00.002+05:30</published><updated>2009-02-07T17:22:09.462+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Short stories'/><title type='text'>More or Less</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:arial;"&gt;The cow and its calf and goat were tied near by. Calf saw that the man gave her mother(cow) the dry grass and the goat with good food. The calf was surprised and asked her mother why its so that you give the milk and still you get the dry grass and goat which gives nothing get good things to eat and get fat day by day.




On hearing this, mother cow said "&lt;strong&gt;Its always good to give more than what you get&lt;/strong&gt;". The calf could not unnderstand it.




One Day, the calf saw that man was coming with big knife. calf got friegtened and got close to her mother. Her mother told her that this knife is not for you, its for the goat who has eaten for free till date.




Now the calf understand the meaning of her mother saying "&lt;strong&gt;Its always good to give more than what you get&lt;/strong&gt;". &lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2473647335142014003-1719996994616203085?l=tech-serve.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-serve.blogspot.com/feeds/1719996994616203085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-serve.blogspot.com/2009/01/more-or-less.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/1719996994616203085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/1719996994616203085'/><link rel='alternate' type='text/html' href='http://tech-serve.blogspot.com/2009/01/more-or-less.html' title='More or Less'/><author><name>Neeraj Vashisht</name><uri>http://www.blogger.com/profile/03910635354659991914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_KHnPb89mNf4/Sk18VueL8SI/AAAAAAAAAbA/Cz4vLMIAbRA/S220/F-+7331.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2473647335142014003.post-2478668626898025000</id><published>2009-01-30T12:48:00.001+05:30</published><updated>2009-02-07T17:02:08.241+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tax Saving and Insurance related Info'/><title type='text'>Options for saving Tax</title><content type='html'>&lt;a href="http://moneytoday.digitaltoday.in/index.php?option=com_content&amp;amp;task=view&amp;amp;id=4934&amp;amp;Itemid=1§ionid=106&amp;amp;issueid=60&amp;amp;limit=1&amp;amp;limitstart=0"&gt;&lt;span style="font-family:courier new;"&gt;http://moneytoday.digitaltoday.in/index.php?option=com_content&amp;amp;task=view&amp;amp;id=4934&amp;amp;Itemid=1§ionid=106&amp;amp;issueid=60&amp;amp;limit=1&amp;amp;limitstart=0&lt;/span&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2473647335142014003-2478668626898025000?l=tech-serve.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-serve.blogspot.com/feeds/2478668626898025000/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-serve.blogspot.com/2009/01/tax-planning-in-2009.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/2478668626898025000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/2478668626898025000'/><link rel='alternate' type='text/html' href='http://tech-serve.blogspot.com/2009/01/tax-planning-in-2009.html' title='Options for saving Tax'/><author><name>Neeraj Vashisht</name><uri>http://www.blogger.com/profile/03910635354659991914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_KHnPb89mNf4/Sk18VueL8SI/AAAAAAAAAbA/Cz4vLMIAbRA/S220/F-+7331.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2473647335142014003.post-7608861228172195711</id><published>2009-01-15T17:46:00.001+05:30</published><updated>2009-02-07T17:17:14.775+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Maven'/><title type='text'>Versoning of jars through properties files and include version in manifest.mf</title><content type='html'>&lt;span style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Versoning of jars through properties files and including implementation-version based on version from properties file&lt;/strong&gt;


1. &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#3333ff;"&gt;If you have properties file containing the version of the jars of the module.
e.g the version in [properties file are as follows
&lt;/span&gt;
abc.jar.version=1000
def.jar.version=2000
fgh.jar.version=1000


2. &lt;span style="color:#3333ff;"&gt;you have the strcuture like this&lt;/span&gt;


parent (pom.xml)


module1(pom.xml)


module2(pom.xml)


module3(pom.xml)



3. &lt;span style="color:#3333ff;"&gt;Include the properties from Step1 in your parent pom.xml like this&lt;/span&gt;

&amp;lt;project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&amp;gt;



&amp;lt;modelVersion&amp;gt;4.0.0&amp;lt;/modelVersion&amp;gt;


&amp;lt;artifactId&amp;gt;parent&amp;lt;/artifactId&amp;gt;


&amp;lt;groupId&amp;gt;com.abc.def&amp;lt;/groupId&amp;gt;


&amp;lt;packaging&amp;gt;pom&amp;lt;/packaging&amp;gt;


&amp;lt;version&amp;gt;1.0-SNAPSHOT&amp;lt;/version&amp;gt;


&amp;lt;name&amp;gt;parent&amp;lt;/name&amp;gt;


&amp;lt;url&amp;gt;http://maven.apache.org&amp;lt;/url&amp;gt;



&amp;lt;properties&amp;gt;


&amp;lt;abc.jar.version&amp;gt;1324&amp;lt;/abc.jar.version&amp;gt;


&amp;lt;def.jar.version&amp;gt;1000&amp;lt;/def.jar.version&amp;gt;


&amp;lt;properties&amp;gt;



.............
.............

&amp;lt;/project&amp;gt;




4. &lt;span style="color:#3333ff;"&gt;To use the properties declared in the parent pom.xml in the child module's pom.xml include the following code&lt;/span&gt;


&amp;lt;build&amp;gt;

.....
&amp;lt;resources&amp;gt;
&amp;lt;resource&amp;gt;


&amp;lt;directory&amp;gt;${basedir}/../resources&amp;lt;/directory&amp;gt;


&amp;lt;filtering&amp;gt;true&amp;lt;/filtering&amp;gt;


&amp;lt;/resource&amp;gt;


&amp;lt;resource&amp;gt;


&amp;lt;directory&amp;gt;src/main/resources&amp;lt;/directory&amp;gt;


&amp;lt;filtering&amp;gt;false&amp;lt;/filtering&amp;gt;


&amp;lt;/resource&amp;gt;


&amp;lt;/resources&amp;gt;




5. &lt;span style="color:#3333ff;"&gt;To refer to the particular property in pom.xml&lt;/span&gt;

&amp;lt;dependency&amp;gt;


&amp;lt;groupId&amp;gt;abc.def&amp;lt;/groupId&amp;gt;


&amp;lt;artifactId&amp;gt;abc&amp;lt;/artifactId&amp;gt;


&amp;lt;version&amp;gt;${abc.jar.version}&amp;lt;/version&amp;gt;


&amp;lt;scope&amp;gt;provided&amp;lt;/scope&amp;gt;


&amp;lt;/dependency&amp;gt;




&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;To include the version number in manifest.mf in jar file
&lt;/strong&gt;

1. &lt;span style="color:#3333ff;"&gt;The manifest file Manifest.mf is in parent/resources/META-INF/MANIFEST.MF&lt;/span&gt;


2. &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#3333ff;"&gt;Include the line in manifest.mf
&lt;/span&gt;

Implementation-Version: ${pom.version}


3. &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#3333ff;"&gt;In pom.xml of your module put these lines
&lt;/span&gt;

&amp;lt;archive&amp;gt;


&amp;lt;manifestFile&amp;gt;target/classes/META-INF/MANIFEST.MF&amp;lt;/manifestFile&amp;gt;


&amp;lt;addMavenDescriptor&amp;gt;false&amp;lt;/addMavenDescriptor&amp;gt;


&amp;lt;/archive&amp;gt;




4. &lt;span style="color:#3333ff;"&gt;when you run mvn install, the jar will contain the manifest.mf with&lt;/span&gt;

Implementation-Version: 1000 (your jar version from properties)

&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2473647335142014003-7608861228172195711?l=tech-serve.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-serve.blogspot.com/feeds/7608861228172195711/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-serve.blogspot.com/2009/01/versoning-of-jars-through-properties.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/7608861228172195711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/7608861228172195711'/><link rel='alternate' type='text/html' href='http://tech-serve.blogspot.com/2009/01/versoning-of-jars-through-properties.html' title='Versoning of jars through properties files and include version in manifest.mf'/><author><name>Neeraj Vashisht</name><uri>http://www.blogger.com/profile/03910635354659991914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_KHnPb89mNf4/Sk18VueL8SI/AAAAAAAAAbA/Cz4vLMIAbRA/S220/F-+7331.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2473647335142014003.post-3817718389273413494</id><published>2009-01-12T17:11:00.002+05:30</published><updated>2009-02-07T17:22:09.463+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Maven'/><title type='text'>Including the testcases in genareted module jar</title><content type='html'>&lt;span style="font-family:arial;"&gt;Sometime, its necessary to include the testcases in the jar which you created from mdodule. You can do this, by changing the output path of generated test cases class file. Generally, its default path is test-classes in target folder. You can change the path to classes where other classes are genearted during mvn install.


1.&lt;strong&gt;&lt;span style="color:#3333ff;"&gt;Change the output of test cases classes and it will put the test class alongwith classes from src folder&lt;/span&gt;&lt;/strong&gt;

&amp;lt;build&amp;gt;

.........

&amp;lt;!-- Changed the target directory of compiled test cases--&amp;gt;

&amp;lt;testOutputDirectory&amp;gt;target/classes&amp;lt;/testOutputDirectory&amp;gt;

&amp;lt;/build&amp;gt;


2. &lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="color:#3333ff;"&gt;&lt;strong&gt;While doing mvn install, sometime it may happen that some test case may fail or generate error and due to jar does not get created. To avoid this problem,&lt;/strong&gt;
&lt;/span&gt;

&amp;lt;!-- compile the following test cases, but not run it--&amp;gt;
&amp;lt;plugins&amp;gt;

&amp;lt;plugin&amp;gt;


&amp;lt;groupId&amp;gt;
org.apache.maven.plugins&amp;lt;/groupId&amp;gt;

&amp;lt;artifactId&amp;gt;
maven-surefire-plugin&amp;lt;/artifactId&amp;gt;

&amp;lt;version&amp;gt;2.4.2&amp;lt;/version&amp;gt;

&amp;lt;configuration&amp;gt;

&amp;lt;excludes&amp;gt;

&amp;lt;exclude&amp;gt;
**/ABCTest.java&amp;lt;/exclude&amp;gt;

&amp;lt;/excludes&amp;gt;

&amp;lt;/configuration&amp;gt;

&amp;lt;/plugin&amp;gt;

&amp;lt;/plugins&amp;gt;


&amp;lt;!-- Changed the target directory of compiled test cases--&amp;gt;

&amp;lt;testOutputDirectory&amp;gt;target/classes&amp;lt;/testOutputDirectory&amp;gt;

&amp;lt;/build&amp;gt;
&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2473647335142014003-3817718389273413494?l=tech-serve.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-serve.blogspot.com/feeds/3817718389273413494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-serve.blogspot.com/2009/01/including-testcases-in-genareted-module.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/3817718389273413494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/3817718389273413494'/><link rel='alternate' type='text/html' href='http://tech-serve.blogspot.com/2009/01/including-testcases-in-genareted-module.html' title='Including the testcases in genareted module jar'/><author><name>Neeraj Vashisht</name><uri>http://www.blogger.com/profile/03910635354659991914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_KHnPb89mNf4/Sk18VueL8SI/AAAAAAAAAbA/Cz4vLMIAbRA/S220/F-+7331.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2473647335142014003.post-155128660827154662</id><published>2009-01-12T16:04:00.003+05:30</published><updated>2009-06-03T09:10:04.525+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Faridabad'/><title type='text'>Make Faridabad Clean and Beautiful</title><content type='html'>&lt;font size="-1"&gt;&lt;span style="font-family: Arial;"&gt;&lt;b&gt;You can help in
making Faridabad beautiful &lt;/b&gt;by letting the municipal corporation of
Faridabad knowing about the problem that you are facing regarding
roads, sewrage, parks, etc or any problem in any part of Faridabad
which you think that corporation should be aware of. &lt;br&gt;
&lt;br&gt;
For this, &lt;br&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;ol style="font-family: Arial;"&gt;
&lt;li&gt;&lt;font size="-1"&gt;login to &lt;b&gt;www.mcfbd.org &lt;/b&gt;and go to &lt;b&gt;complaint
&lt;/b&gt;section. &lt;br&gt;
&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;font size="-1"&gt;Describe the complaint. &lt;br&gt;
&lt;/font&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;font size="-1"&gt;&lt;span style="font-family: Arial;"&gt;Once you make the
appropraite complaint, please note down the &lt;b&gt;complaint id and
password and officer name , telephone&lt;/b&gt; who is responsible for
solving it. &lt;br&gt;
&lt;br&gt;
Hope it should solve the problem. &lt;br&gt;
In my case, I have registered 2 complaints, &lt;br&gt;
1. Regarding laying of sewrage pipes on old Faridabad road. (&lt;b&gt;The
work has started&lt;/b&gt;.) &lt;br&gt;
2. Regarding the repair of road near HEWO apartment.( &lt;b&gt;It is
repaired within week.&lt;/b&gt;)&lt;/span&gt;&lt;/font&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2473647335142014003-155128660827154662?l=tech-serve.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-serve.blogspot.com/feeds/155128660827154662/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-serve.blogspot.com/2009/01/make-faridabad-clean-and-beautiful.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/155128660827154662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/155128660827154662'/><link rel='alternate' type='text/html' href='http://tech-serve.blogspot.com/2009/01/make-faridabad-clean-and-beautiful.html' title='Make Faridabad Clean and Beautiful'/><author><name>Neeraj Vashisht</name><uri>http://www.blogger.com/profile/03910635354659991914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_KHnPb89mNf4/Sk18VueL8SI/AAAAAAAAAbA/Cz4vLMIAbRA/S220/F-+7331.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2473647335142014003.post-6110614909472562487</id><published>2009-01-07T09:43:00.002+05:30</published><updated>2009-02-07T17:22:09.463+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Maven'/><title type='text'>How to copy the class files and other files from dependent jars to newly created jar without unpacking the dependent jar</title><content type='html'>&lt;span style="font-family:arial;"&gt;This is how you can include class file from other modules in your module jar without unpacking the dependent jar.

&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;1. Mention the dependency jar from where you want to copy the class files, in your pom file in &amp;lt;dependency&amp;gt;
&lt;/strong&gt;



&amp;lt;dependency&amp;gt;


&amp;lt;groupid&amp;gt;com.abc.def&amp;lt;/groupid&amp;gt;


&amp;lt;artifactid&amp;gt;foo&amp;lt;/artifactid&amp;gt;


&amp;lt;version&amp;gt;1.0-SNAPSHOT&amp;lt;/version&amp;gt;


&amp;lt;type&amp;gt;jar&amp;lt;/type&amp;gt;


&amp;lt;scope&amp;gt;provided&amp;lt;/scope&amp;gt;


&amp;lt;/dependency&amp;gt;



&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;2. Define the plugin where you will include the class file which you want to include in jar
&lt;/strong&gt;


&amp;lt;plugin&amp;gt;


&amp;lt;groupId&amp;gt;

org.apache.maven.plugins&amp;lt;/groupId&amp;gt;


&amp;lt;artifactId&amp;gt;

maven-dependency-plugin&amp;lt;/artifactId&amp;gt;


&amp;lt;executions&amp;gt;


&amp;lt;execution&amp;gt;


&amp;lt;id&amp;gt;

unpack-dependencies&amp;lt;/id&amp;gt;


&amp;lt;phase&amp;gt;

compile&amp;lt;/phase&amp;gt;


&amp;lt;goals&amp;gt;


&amp;lt;goal&amp;gt;

unpack-dependencies&amp;lt;/goal&amp;gt;


&amp;lt;/goals&amp;gt;


&amp;lt;configuration&amp;gt;


&amp;lt;includes&amp;gt;


com/abc/**/Logger.class,
.....
.....
&amp;lt;/includes&amp;gt;


&amp;lt;outputDirectory&amp;gt;

${project.build.directory}/classes&amp;lt;/outputDirectory&amp;gt;


&amp;lt;overWriteReleases&amp;gt;

false&amp;lt;/overWriteReleases&amp;gt;


&amp;lt;overWriteSnapshots&amp;gt;

true&amp;lt;/overWriteSnapshots&amp;gt;


&amp;lt;/configuration&amp;gt;


&amp;lt;/execution&amp;gt;


&amp;lt;/executions&amp;gt;


&amp;lt;/plugin&amp;gt;




&lt;b&gt;This will copy the Logger.class in your newly created jar.&lt;/b&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2473647335142014003-6110614909472562487?l=tech-serve.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tech-serve.blogspot.com/feeds/6110614909472562487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tech-serve.blogspot.com/2009/01/how-to-copy-class-files-and-other-files.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/6110614909472562487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2473647335142014003/posts/default/6110614909472562487'/><link rel='alternate' type='text/html' href='http://tech-serve.blogspot.com/2009/01/how-to-copy-class-files-and-other-files.html' title='How to copy the class files and other files from dependent jars to newly created jar without unpacking the dependent jar'/><author><name>Neeraj Vashisht</name><uri>http://www.blogger.com/profile/03910635354659991914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_KHnPb89mNf4/Sk18VueL8SI/AAAAAAAAAbA/Cz4vLMIAbRA/S220/F-+7331.jpg'/></author><thr:total>0</thr:total></entry></feed>
