<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2834836888490179598</id><updated>2025-07-26T21:55:17.883+05:30</updated><category term="mohan"/><category term="Java Interview QA Series"/><category term="javascript"/><category term="sudan"/><category term="java"/><category term="Black Berry"/><category term="Database"/><category term="Free Softwares"/><category term="Panam"/><category term="SAP"/><category term="intro"/><category term="tips and tricks"/><category term="CSS"/><category term="Contact Me"/><category term="File Upload jsp"/><category term="Rafeek"/><category term="Siva"/><category term="commonsFileUpload"/><category term="excel"/><category term="insert new row"/><title type='text'>Our Learnings</title><subtitle type='html'>To share our daily learning&amp;#39;s with U &amp;amp; Just share Ur learning&amp;#39;s with us. Read More and Learn More.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://learnings.site4sites.co.in/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default'/><link rel='alternate' type='text/html' href='https://learnings.site4sites.co.in/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default?start-index=26&amp;max-results=25'/><author><name>Mohan</name><uri>http://www.blogger.com/profile/04845674887431822308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhotcj3nbvUVot7IDvQRefWuLYxrkLC8LwGGO46JOuXcodDsFsyLSPfzQgSTj8ieRqfMMgM87RSm4_btDUJ0OfVcF4iAWihOECdCAaFaXu2_Nd63JEVch7eQx9d2N1l_94/s220/HD+Wallpaper+%281902%29.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>40</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2834836888490179598.post-1346621699432333275</id><published>2019-10-10T10:10:00.002+05:30</published><updated>2019-10-10T10:11:16.696+05:30</updated><title type='text'>500 Years Calendar download</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: purple; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: x-large;&quot;&gt;500 Years Calendar&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: purple; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEJDdCZGr53yNNtWOdQ-tHtVv3cNDtUT4fJkv8he4iZ1c_YJG0GGZglku5uxeJTvVrG1pEE_lLf5va3FDE1_X4rSaeoteZUARrwIB6TJbK0t3xuJ-cx8piNleEOBy9buIdPeoQbxMjhe__/s1600/500+Years+Calendar.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1039&quot; data-original-width=&quot;1600&quot; height=&quot;415&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEJDdCZGr53yNNtWOdQ-tHtVv3cNDtUT4fJkv8he4iZ1c_YJG0GGZglku5uxeJTvVrG1pEE_lLf5va3FDE1_X4rSaeoteZUARrwIB6TJbK0t3xuJ-cx8piNleEOBy9buIdPeoQbxMjhe__/s640/500+Years+Calendar.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: purple; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://learnings.site4sites.co.in/feeds/1346621699432333275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnings.site4sites.co.in/2019/10/500-years-calendar-download.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/1346621699432333275'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/1346621699432333275'/><link rel='alternate' type='text/html' href='https://learnings.site4sites.co.in/2019/10/500-years-calendar-download.html' title='500 Years Calendar download'/><author><name>Mohan</name><uri>http://www.blogger.com/profile/04845674887431822308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhotcj3nbvUVot7IDvQRefWuLYxrkLC8LwGGO46JOuXcodDsFsyLSPfzQgSTj8ieRqfMMgM87RSm4_btDUJ0OfVcF4iAWihOECdCAaFaXu2_Nd63JEVch7eQx9d2N1l_94/s220/HD+Wallpaper+%281902%29.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEJDdCZGr53yNNtWOdQ-tHtVv3cNDtUT4fJkv8he4iZ1c_YJG0GGZglku5uxeJTvVrG1pEE_lLf5va3FDE1_X4rSaeoteZUARrwIB6TJbK0t3xuJ-cx8piNleEOBy9buIdPeoQbxMjhe__/s72-c/500+Years+Calendar.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2834836888490179598.post-1578896303124014312</id><published>2015-03-07T14:39:00.001+05:30</published><updated>2015-03-07T14:39:26.125+05:30</updated><title type='text'>South India 10 days trip - Great temples</title><content type='html'>&lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;&lt;div class=&quot;gmail_signature&quot;&gt;&lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;&lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;font color=&quot;#333333&quot; face=&quot;proxima-nova-1, proxima-nova-2, Tahoma, Helvetica, Verdana, sans-serif&quot;&gt;&lt;span style=&quot;font-size:14px;line-height:18.2000007629395px&quot;&gt;Guys..&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;font color=&quot;#333333&quot; face=&quot;proxima-nova-1, proxima-nova-2, Tahoma, Helvetica, Verdana, sans-serif&quot;&gt;&lt;span style=&quot;font-size:14px;line-height:18.2000007629395px&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;font color=&quot;#333333&quot; face=&quot;proxima-nova-1, proxima-nova-2, Tahoma, Helvetica, Verdana, sans-serif&quot;&gt;&lt;span style=&quot;font-size:14px;line-height:18.2000007629395px&quot;&gt;Visit the famous temples mentioned below. Given as a route map where you can follow the same.&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;font color=&quot;#333333&quot; face=&quot;proxima-nova-1, proxima-nova-2, Tahoma, Helvetica, Verdana, sans-serif&quot;&gt;&lt;span style=&quot;font-size:14px;line-height:18.2000007629395px&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;font color=&quot;#333333&quot; face=&quot;proxima-nova-1, proxima-nova-2, Tahoma, Helvetica, Verdana, sans-serif&quot;&gt;&lt;span style=&quot;font-size:14px;line-height:18.2000007629395px&quot;&gt;Start from Bangalore.. you can change based on your location.&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;font color=&quot;#333333&quot; face=&quot;proxima-nova-1, proxima-nova-2, Tahoma, Helvetica, Verdana, sans-serif&quot;&gt;&lt;span style=&quot;font-size:14px;line-height:18.2000007629395px&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;font color=&quot;#333333&quot; face=&quot;proxima-nova-1, proxima-nova-2, Tahoma, Helvetica, Verdana, sans-serif&quot;&gt;&lt;span style=&quot;font-size:14px;line-height:18.2000007629395px&quot;&gt;Cover Tamil Nadu and Andhra Pradesh more... Temples&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Start: Bangalore&lt;br&gt;&lt;/div&gt;&lt;div&gt;   1) Melukote ( Cheluva narayana swami, narasimha swami) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Melukote&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Melukote&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   2) Sri Rangapatna (Ranganatha swami) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Srirangapatna&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Srirangapatna&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   3) Sri Rangapatna (Nimishamba temple)  - &lt;a href=&quot;http://en.wikipedia.org/wiki/Nimishambha&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Nimishambha&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   4) Mysore (Chamundi hills, Mysore Palace) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Mysore&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Mysore&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   5) After mysore 5kms Datta Peetam ( Dattatreya temple) - &lt;a href=&quot;http://www.dattapeetham.com/&quot; target=&quot;_blank&quot;&gt;http://www.dattapeetham.com/&lt;/a&gt;     &lt;a href=&quot;http://en.wikipedia.org/wiki/Ganapathi_Sachchidananda&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Ganapathi_Sachchidananda&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   6) Nanjangud (Lord shiva temple) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Nanjangud&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Nanjangud&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   7) Vengopala swamy temple - &lt;a href=&quot;http://en.wikipedia.org/wiki/Himavad_Gopalaswamy_Betta&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Himavad_Gopalaswamy_Betta&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   8) Bandipur national forest - &lt;a href=&quot;http://en.wikipedia.org/wiki/Bandipur_National_Park&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Bandipur_National_Park&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   9) Ooty (doddabetta, park, climate ) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Udhagamandalam&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Udhagamandalam&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   10) Guruvayoor (Lord Krishna Temple and Shiva temple) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Guruvayur&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Guruvayur&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   &lt;a href=&quot;https://www.google.co.in/maps/dir/Bengaluru,+Karnataka/Melukote+Cheluvarayaswamy+Temple,+Melukote,+Karnataka/Sri+Ranganathaswamy+Temple,+Srirangapatna,+Karnataka/Nimishamba,+Srirangapatna,+Karnataka/Mysore,+Karnataka/Nanjangud,+Karnataka/Himavad+Gopalaswamy+Hills+Rd,+Sri+Hangala,+Karnataka+571126/Bandipur+National+Park,+Mysuru,+Karnataka/Ooty,+Tamil+Nadu/Guruvayoor,+Kerala/@11.8463656,75.6350386,8z/data=!3m1!4b1!4m62!4m61!1m5!1m1!1s0x3bae1670c9b44e6d:0xf8dfc3e8517e4fe0!2m2!1d77.5945627!2d12.9715987!1m5!1m1!1s0x3baf9004a4f71985:0x6545f5e47c813e14!2m2!1d76.647588!2d12.660288!1m5!1m1!1s0x3baf77070f7b1b0f:0xab35be62cadfe767!2m2!1d76.679249!2d12.424884!1m5!1m1!1s0x3baf768d3561c657:0x137675ab70a94aa7!2m2!1d76.710668!2d12.418754!1m5!1m1!1s0x3baf7010988f73e5:0x7b92fb661b13ee09!2m2!1d76.3637285!2d12.1873152!1m5!1m1!1s0x3baf682bfe1f29eb:0xd1e5927b3c8e5f8!2m2!1d76.680093!2d12.1199769!1m5!1m1!1s0x3ba8b2a757c9da1f:0x735e4c4bcd5c4f9e!2m2!1d76.6463081!2d11.7448446!1m5!1m1!1s0x3ba8aaa8dde6363b:0x120624bbcf55937b!2m2!1d76.631913!2d11.667945!1m5!1m1!1s0x3ba8bd84b5f3d78d:0x179bdb14c93e3f42!2m2!1d76.7!2d11.41!1m5!1m1!1s0x3ba79461cd1b5745:0x96c6ecd0de2d2b4!2m2!1d76.0362579!2d10.5952496!3e0?hl=en&quot; target=&quot;_blank&quot;&gt;https://www.google.co.in/maps/dir/Bengaluru,+Karnataka/Melukote+Cheluvarayaswamy+Temple,+Melukote,+Karnataka/Sri+Ranganathaswamy+Temple,+Srirangapatna,+Karnataka/Nimishamba,+Srirangapatna,+Karnataka/Mysore,+Karnataka/Nanjangud,+Karnataka/Himavad+Gopalaswamy+Hills+Rd,+Sri+Hangala,+Karnataka+571126/Bandipur+National+Park,+Mysuru,+Karnataka/Ooty,+Tamil+Nadu/Guruvayoor,+Kerala/@11.8463656,75.6350386,8z/data=!3m1!4b1!4m62!4m61!1m5!1m1!1s0x3bae1670c9b44e6d:0xf8dfc3e8517e4fe0!2m2!1d77.5945627!2d12.9715987!1m5!1m1!1s0x3baf9004a4f71985:0x6545f5e47c813e14!2m2!1d76.647588!2d12.660288!1m5!1m1!1s0x3baf77070f7b1b0f:0xab35be62cadfe767!2m2!1d76.679249!2d12.424884!1m5!1m1!1s0x3baf768d3561c657:0x137675ab70a94aa7!2m2!1d76.710668!2d12.418754!1m5!1m1!1s0x3baf7010988f73e5:0x7b92fb661b13ee09!2m2!1d76.3637285!2d12.1873152!1m5!1m1!1s0x3baf682bfe1f29eb:0xd1e5927b3c8e5f8!2m2!1d76.680093!2d12.1199769!1m5!1m1!1s0x3ba8b2a757c9da1f:0x735e4c4bcd5c4f9e!2m2!1d76.6463081!2d11.7448446!1m5!1m1!1s0x3ba8aaa8dde6363b:0x120624bbcf55937b!2m2!1d76.631913!2d11.667945!1m5!1m1!1s0x3ba8bd84b5f3d78d:0x179bdb14c93e3f42!2m2!1d76.7!2d11.41!1m5!1m1!1s0x3ba79461cd1b5745:0x96c6ecd0de2d2b4!2m2!1d76.0362579!2d10.5952496!3e0?hl=en&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   &lt;/div&gt;&lt;div&gt;   11) Kochi (Optional) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Kochi&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Kochi&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   12) Trivendram (Anantha Padmanabhsyamy Temple and kovalam beach) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Thiruvananthapuram&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Thiruvananthapuram&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   13) Suchindram (Big Anjaneya temple) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Suchindram&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Suchindram&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   14) Kanya kumari (Amman temple - sun rise view and Boating to Vivekananda rock) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Kanyakumari&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Kanyakumari&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   15) Tiruchendur ( Lord subramanya swamy (Kumara swamy) temple) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Thiruchendur&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Thiruchendur&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   16) Kovilpatti (Big ganapathi temple) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Kovilpatti&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Kovilpatti&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   17) Srivilliputtur (Andal Amman temple (Maha lakshmi) birth place) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Srivilliputhur&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Srivilliputhur&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   18) Rameshwaram (Lord Shiva temple - worshipped by lord rama and lord rama sea bath) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Rameswaram&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Rameswaram&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   19) Madurai ( Meenakshi amman temple) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Madurai&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Madurai&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   &lt;a href=&quot;https://www.google.co.in/maps/dir/Guruvayoor,+Kerala/Trivandrum,+Kerala/Suchindram,+Tamil+Nadu/Kanyakumari,+Tamil+Nadu/Thiruchendur,+Tamil+Nadu/Kovilpatti,+Tamil+Nadu/Srivilliputhur,+Tamil+Nadu/Rameswaram,+Tamil+Nadu/Madurai,+Tamil+Nadu/Palani,+Tamil+Nadu/@9.3418568,76.4855903,8z/data=!3m1!4b1!4m62!4m61!1m5!1m1!1s0x3ba79461cd1b5745:0x96c6ecd0de2d2b4!2m2!1d76.0362579!2d10.5952496!1m5!1m1!1s0x3b05bbb805bbcd47:0x15439fab5c5c81cb!2m2!1d76.9366376!2d8.5241391!1m5!1m1!1s0x3b04f181ad3eabdf:0x4dc8897d102ae0d0!2m2!1d77.465!2d8.155!1m5!1m1!1s0x3b04ed3d2a087861:0x1e790e896aeffaa0!2m2!1d77.5384507!2d8.0883064!1m5!1m1!1s0x3b0390118f119e01:0xb9bc989564965383!2m2!1d78.1250848!2d8.4963081!1m5!1m1!1s0x3b06b26570998f29:0xd95cda8fab23619b!2m2!1d77.87!2d9.17!1m5!1m1!1s0x3b06dcb7c2dc05ed:0x85ab3be7b79f6af2!2m2!1d77.6340859!2d9.5121365!1m5!1m1!1s0x3b01e3c4e61cf2b3:0xd667f9b98bbd63a1!2m2!1d79.3129291!2d9.2876254!1m5!1m1!1s0x3b00c582b1189633:0xdc955b7264f63933!2m2!1d78.1197754!2d9.9252007!1m5!1m1!1s0x3ba9de87ad84703f:0x15eb8f900655b911!2m2!1d77.5209392!2d10.4489188!3e0?hl=en&quot; target=&quot;_blank&quot;&gt;https://www.google.co.in/maps/dir/Guruvayoor,+Kerala/Trivandrum,+Kerala/Suchindram,+Tamil+Nadu/Kanyakumari,+Tamil+Nadu/Thiruchendur,+Tamil+Nadu/Kovilpatti,+Tamil+Nadu/Srivilliputhur,+Tamil+Nadu/Rameswaram,+Tamil+Nadu/Madurai,+Tamil+Nadu/Palani,+Tamil+Nadu/@9.3418568,76.4855903,8z/data=!3m1!4b1!4m62!4m61!1m5!1m1!1s0x3ba79461cd1b5745:0x96c6ecd0de2d2b4!2m2!1d76.0362579!2d10.5952496!1m5!1m1!1s0x3b05bbb805bbcd47:0x15439fab5c5c81cb!2m2!1d76.9366376!2d8.5241391!1m5!1m1!1s0x3b04f181ad3eabdf:0x4dc8897d102ae0d0!2m2!1d77.465!2d8.155!1m5!1m1!1s0x3b04ed3d2a087861:0x1e790e896aeffaa0!2m2!1d77.5384507!2d8.0883064!1m5!1m1!1s0x3b0390118f119e01:0xb9bc989564965383!2m2!1d78.1250848!2d8.4963081!1m5!1m1!1s0x3b06b26570998f29:0xd95cda8fab23619b!2m2!1d77.87!2d9.17!1m5!1m1!1s0x3b06dcb7c2dc05ed:0x85ab3be7b79f6af2!2m2!1d77.6340859!2d9.5121365!1m5!1m1!1s0x3b01e3c4e61cf2b3:0xd667f9b98bbd63a1!2m2!1d79.3129291!2d9.2876254!1m5!1m1!1s0x3b00c582b1189633:0xdc955b7264f63933!2m2!1d78.1197754!2d9.9252007!1m5!1m1!1s0x3ba9de87ad84703f:0x15eb8f900655b911!2m2!1d77.5209392!2d10.4489188!3e0?hl=en&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   &lt;/div&gt;&lt;div&gt;   20) Palani (Lord subramanya swamy temple) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Palani&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Palani&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   21) Srirangam (Lord vishna - ranganatha swamy big temple) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Srirangam&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Srirangam&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   22) Thiruvanaikovil (Jambukeswaram - Lord shiva in water - Jala linga) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Jambukeswarar_Temple,_Thiruvanaikaval&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Jambukeswarar_Temple,_Thiruvanaikaval&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   23) Tiruchy (Uchi pillayar temple on hill) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Tiruchirappalli&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Tiruchirappalli&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   24) Thanjavur ( Big shiva temple - Main entrance monumental tower&amp;#39;s shadow will not appear at any time)   - &lt;a href=&quot;http://en.wikipedia.org/wiki/Thanjavur&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Thanjavur&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   25) Kumbakonam (Lord shiva and other 4 temples)   - &lt;a href=&quot;http://en.wikipedia.org/wiki/Kumbakonam&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Kumbakonam&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   26) Thirunageswaram (Lord Rahu Temple) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Thirunageswaram&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Thirunageswaram&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   27) Oppiliappan (Lord maha vishu and prahlad - food offered without salt to god) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Uppiliappan_Temple&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Uppiliappan_Temple&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   28) Nachiyar Koil (Lord Maha vishnu with garuda vahana) -  &lt;a href=&quot;http://en.wikipedia.org/wiki/Nachiyar_Koil&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Nachiyar_Koil&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   29) Koothanur (Lord Saraswathi temple) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Koothanur&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Koothanur&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   30) Tirunallar (Lord seneswara planet temple) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Thirunallar&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Thirunallar&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   31) Mayiladuthurai (Lord shiva) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Mayiladuthurai&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Mayiladuthurai&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   32) sirkazhi (Lord parvathi devi - Milk given to poet) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Sirkazhi&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Sirkazhi&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   33) Chidambaram (Akasa linga) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Chidambaram&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Chidambaram&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   &lt;a href=&quot;https://www.google.co.in/maps/dir/Palani,+Tamil+Nadu/Srirangam,+Tiruchirappalli,+Tamil+Nadu/Thiruvanaikovil+Jambukeswarar+Akilandeswari+Temple,+Single+Street,+Srirangam,+Tiruchirappalli,+Tamil+Nadu/Thanjavur,+Tamil+Nadu/Kumbakonam,+Tamil+Nadu/Thirunallar,+Puducherry/Mayiladuthurai,+Tamil+Nadu/Sirkazhi,+Tamil+Nadu/Chidambaram,+Tamil+Nadu/Thiruvannammalai,+Tamil+Nadu/@12.4763253,77.2993263,8z/data=!4m62!4m61!1m5!1m1!1s0x3ba9de87ad84703f:0x15eb8f900655b911!2m2!1d77.5209392!2d10.4489188!1m5!1m1!1s0x3baaf5d38807dbd3:0x6fc3d1a428e19458!2m2!1d78.6965972!2d10.8560297!1m5!1m1!1s0x3baaf42daec2b661:0x17fb7103d4fdb225!2m2!1d78.705457!2d10.853232!1m5!1m1!1s0x3baab89cea453039:0xe113da9b1f632be6!2m2!1d79.1378274!2d10.7869994!1m5!1m1!1s0x3a5532b360353419:0x9ecb5d94413ad35!2m2!1d79.3881132!2d10.9616945!1m5!1m1!1s0x3a5516f7ab3be1db:0x92ef1e1bb6f4746d!2m2!1d79.791667!2d10.925556!1m5!1m1!1s0x3a5526c731f25c21:0x4339eccad0b5866a!2m2!1d79.6522218!2d11.1018399!1m5!1m1!1s0x3a54de1af2991ed9:0x13e9ce3a26f66c3b!2m2!1d79.7361217!2d11.2390878!1m5!1m1!1s0x3a54c23aa1bce10b:0xe1a29e91a8ec81aa!2m2!1d79.6953594!2d11.3981936!1m5!1m1!1s0x3bacc0852cd3d6cd:0x74002b16e5bac856!2m2!1d79.0746957!2d12.2252841!3e0?hl=en&quot; target=&quot;_blank&quot;&gt;https://www.google.co.in/maps/dir/Palani,+Tamil+Nadu/Srirangam,+Tiruchirappalli,+Tamil+Nadu/Thiruvanaikovil+Jambukeswarar+Akilandeswari+Temple,+Single+Street,+Srirangam,+Tiruchirappalli,+Tamil+Nadu/Thanjavur,+Tamil+Nadu/Kumbakonam,+Tamil+Nadu/Thirunallar,+Puducherry/Mayiladuthurai,+Tamil+Nadu/Sirkazhi,+Tamil+Nadu/Chidambaram,+Tamil+Nadu/Thiruvannammalai,+Tamil+Nadu/@12.4763253,77.2993263,8z/data=!4m62!4m61!1m5!1m1!1s0x3ba9de87ad84703f:0x15eb8f900655b911!2m2!1d77.5209392!2d10.4489188!1m5!1m1!1s0x3baaf5d38807dbd3:0x6fc3d1a428e19458!2m2!1d78.6965972!2d10.8560297!1m5!1m1!1s0x3baaf42daec2b661:0x17fb7103d4fdb225!2m2!1d78.705457!2d10.853232!1m5!1m1!1s0x3baab89cea453039:0xe113da9b1f632be6!2m2!1d79.1378274!2d10.7869994!1m5!1m1!1s0x3a5532b360353419:0x9ecb5d94413ad35!2m2!1d79.3881132!2d10.9616945!1m5!1m1!1s0x3a5516f7ab3be1db:0x92ef1e1bb6f4746d!2m2!1d79.791667!2d10.925556!1m5!1m1!1s0x3a5526c731f25c21:0x4339eccad0b5866a!2m2!1d79.6522218!2d11.1018399!1m5!1m1!1s0x3a54de1af2991ed9:0x13e9ce3a26f66c3b!2m2!1d79.7361217!2d11.2390878!1m5!1m1!1s0x3a54c23aa1bce10b:0xe1a29e91a8ec81aa!2m2!1d79.6953594!2d11.3981936!1m5!1m1!1s0x3bacc0852cd3d6cd:0x74002b16e5bac856!2m2!1d79.0746957!2d12.2252841!3e0?hl=en&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   &lt;/div&gt;&lt;div&gt;   34) Thiruvannamalai (Lord shiva as agni linga and as mountain) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Tiruvannamalai&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Tiruvannamalai&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   35) Thennangur (Lord panduranga swami temple) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Thennangur&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Thennangur&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   36) KanchiPuram (Lord kamakshi amman, ulagananda perumal (Vamana Avatara),  Lord ekambareswar (shiva) , Lord varadarajaswamy temple)&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;white-space:pre-wrap&quot;&gt;					&lt;/span&gt;- &lt;a href=&quot;http://en.wikipedia.org/wiki/Kanchipuram&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Kanchipuram&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   37) Thiruttani (Lord subramanya swamy temple) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Thiruttani&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Thiruttani&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   38) Nagalapuram ( Lord venkateswara) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Nagalapuram&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Nagalapuram&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   39) Sri kalahastri (Lord shiva - Vayu(air) linga) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Srikalahasti&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Srikalahasti&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   40) Tirupati (Tirumala - Lord venkateswara) and In Tirupati (Govindaraja swamy temple, kodanda rama swamy temple, kapila teethram (shiva) , iskon temple)&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;white-space:pre-wrap&quot;&gt;			&lt;/span&gt;-&lt;a href=&quot;http://en.wikipedia.org/wiki/Tirupati,_Andhra_Pradesh&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Tirupati,_Andhra_Pradesh&lt;/a&gt;   -  &lt;a href=&quot;http://en.wikipedia.org/wiki/Tirumala&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Tirumala&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   41) Tiruchanur (Padmavathi amman(devi) temple - wife of lord venkateswara)  - &lt;a href=&quot;http://en.wikipedia.org/wiki/Tiruchanur&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Tiruchanur&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   41) Kanipakam ( Lord ganapathi temple) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Kanipakam&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Kanipakam&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   42) Vepanjeri (Lord Lakshi narayana temple and astha lakshmi temple) - &lt;a href=&quot;http://www.vepanjeri.com/&quot; target=&quot;_blank&quot;&gt;http://www.vepanjeri.com/&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   &lt;a href=&quot;https://www.google.co.in/maps/dir/Thiruvannamalai,+Tamil+Nadu/Thennangur,+Tamil+Nadu/Kanchipuram,+Tamil+Nadu/Thiruthani,+Tamil+Nadu/Nagalapuram,+Andhra+Pradesh/Srikalahasti,+Andhra+Pradesh/Tirupati,+Andhra+Pradesh/Kanipakam,+Andhra+Pradesh/Vepanjeri,+Andhra+Pradesh/Ponnai,+Tamil+Nadu/@12.9878451,78.8253873,9z/data=!3m1!4b1!4m62!4m61!1m5!1m1!1s0x3bacc0852cd3d6cd:0x74002b16e5bac856!2m2!1d79.0746957!2d12.2252841!1m5!1m1!1s0x3a5326fdaef0e41f:0x62e2615fc9f0c2e9!2m2!1d79.613011!2d12.5549484!1m5!1m1!1s0x3a52c2f7e0c7f12d:0xde5f8682b1cb2a4d!2m2!1d79.7036402!2d12.8341735!1m5!1m1!1s0x3a52a4e88096e81b:0x3f117fe0519ba508!2m2!1d79.6109049!2d13.1758491!1m5!1m1!1s0x3a4d610798df206d:0x3a5f49a106d2ab7e!2m2!1d79.7988547!2d13.3857837!1m5!1m1!1s0x3a4d3e543dbbc769:0xc759d83ecf891652!2m2!1d79.7037255!2d13.7520171!1m5!1m1!1s0x3a4d4b0f88620427:0xcf4152d1daca0cac!2m2!1d79.4191795!2d13.6287557!1m5!1m1!1s0x3bad5fc3f84b4515:0xca0fe629c03660ef!2m2!1d79.035548!2d13.2775912!1m5!1m1!1s0x3bad5732d9eb328f:0xa72d524ae299d191!2m2!1d79.2313697!2d13.2237561!1m5!1m1!1s0x3bad4e2928504f65:0x202bfd089d47f4bf!2m2!1d79.2535725!2d13.1241046!3e0?hl=en&quot; target=&quot;_blank&quot;&gt;https://www.google.co.in/maps/dir/Thiruvannamalai,+Tamil+Nadu/Thennangur,+Tamil+Nadu/Kanchipuram,+Tamil+Nadu/Thiruthani,+Tamil+Nadu/Nagalapuram,+Andhra+Pradesh/Srikalahasti,+Andhra+Pradesh/Tirupati,+Andhra+Pradesh/Kanipakam,+Andhra+Pradesh/Vepanjeri,+Andhra+Pradesh/Ponnai,+Tamil+Nadu/@12.9878451,78.8253873,9z/data=!3m1!4b1!4m62!4m61!1m5!1m1!1s0x3bacc0852cd3d6cd:0x74002b16e5bac856!2m2!1d79.0746957!2d12.2252841!1m5!1m1!1s0x3a5326fdaef0e41f:0x62e2615fc9f0c2e9!2m2!1d79.613011!2d12.5549484!1m5!1m1!1s0x3a52c2f7e0c7f12d:0xde5f8682b1cb2a4d!2m2!1d79.7036402!2d12.8341735!1m5!1m1!1s0x3a52a4e88096e81b:0x3f117fe0519ba508!2m2!1d79.6109049!2d13.1758491!1m5!1m1!1s0x3a4d610798df206d:0x3a5f49a106d2ab7e!2m2!1d79.7988547!2d13.3857837!1m5!1m1!1s0x3a4d3e543dbbc769:0xc759d83ecf891652!2m2!1d79.7037255!2d13.7520171!1m5!1m1!1s0x3a4d4b0f88620427:0xcf4152d1daca0cac!2m2!1d79.4191795!2d13.6287557!1m5!1m1!1s0x3bad5fc3f84b4515:0xca0fe629c03660ef!2m2!1d79.035548!2d13.2775912!1m5!1m1!1s0x3bad5732d9eb328f:0xa72d524ae299d191!2m2!1d79.2313697!2d13.2237561!1m5!1m1!1s0x3bad4e2928504f65:0x202bfd089d47f4bf!2m2!1d79.2535725!2d13.1241046!3e0?hl=en&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   &lt;/div&gt;&lt;div&gt;   43) Ponnai Near by(Navagraha and ganapathi temple) - &lt;a href=&quot;https://www.flickr.com/photos/rajushanthi/sets/72157613067984651/&quot; target=&quot;_blank&quot;&gt;https://www.flickr.com/photos/rajushanthi/sets/72157613067984651/&lt;/a&gt; and &lt;a href=&quot;http://en.wikipedia.org/wiki/Ponnai&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Ponnai&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   44) Aragonda (Lord anjaneya temple) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Aragonda&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Aragonda&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   45) Mulbagal (Lord anjaneya temple) - &lt;a href=&quot;http://en.wikipedia.org/wiki/Mulbagal&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Mulbagal&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   46) Kurudumale (Lord maha ganapathi temple)  - &lt;a href=&quot;http://en.wikipedia.org/wiki/Kurudumale&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Kurudumale&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   &lt;a href=&quot;https://www.google.co.in/maps/dir/Ponnai,+Tamil+Nadu+517403/Aragonda,+Andhra+Pradesh/Mulbagal,+Karnataka/Sri+MahaGanapathi+Temple/Bangalore,+Karnataka/@13.1358236,77.8331366,9z/data=!3m1!4b1!4m32!4m31!1m5!1m1!1s0x3bad4e2928504f65:0x202bfd089d47f4bf!2m2!1d79.2535725!2d13.1241046!1m5!1m1!1s0x3bad61c0b72013a5:0xc4094c96354fa807!2m2!1d78.9564!2d13.281261!1m5!1m1!1s0x3bad8e9792d0a99d:0xd54bacf407594a0!2m2!1d78.3940737!2d13.1666533!1m5!1m1!1s0x0:0xc2874c1c68875c04!2m2!1d78.369468!2d13.210097!1m5!1m1!1s0x3bae1670c9b44e6d:0xf8dfc3e8517e4fe0!2m2!1d77.5945627!2d12.9715987!3e0?hl=en&quot; target=&quot;_blank&quot;&gt;https://www.google.co.in/maps/dir/Ponnai,+Tamil+Nadu+517403/Aragonda,+Andhra+Pradesh/Mulbagal,+Karnataka/Sri+MahaGanapathi+Temple/Bangalore,+Karnataka/@13.1358236,77.8331366,9z/data=!3m1!4b1!4m32!4m31!1m5!1m1!1s0x3bad4e2928504f65:0x202bfd089d47f4bf!2m2!1d79.2535725!2d13.1241046!1m5!1m1!1s0x3bad61c0b72013a5:0xc4094c96354fa807!2m2!1d78.9564!2d13.281261!1m5!1m1!1s0x3bad8e9792d0a99d:0xd54bacf407594a0!2m2!1d78.3940737!2d13.1666533!1m5!1m1!1s0x0:0xc2874c1c68875c04!2m2!1d78.369468!2d13.210097!1m5!1m1!1s0x3bae1670c9b44e6d:0xf8dfc3e8517e4fe0!2m2!1d77.5945627!2d12.9715987!3e0?hl=en&lt;/a&gt;&lt;/div&gt;&lt;div&gt;   &lt;/div&gt;&lt;div&gt; End : Bangalore&lt;/div&gt;&lt;span class=&quot;&quot;&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;famous temple trips, andhra pradesh temples, tamil nadu temples, temple trip, great temples in south india.&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='https://learnings.site4sites.co.in/feeds/1578896303124014312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnings.site4sites.co.in/2015/03/south-india-10-days-trip-great-temples.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/1578896303124014312'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/1578896303124014312'/><link rel='alternate' type='text/html' href='https://learnings.site4sites.co.in/2015/03/south-india-10-days-trip-great-temples.html' title='South India 10 days trip - Great temples'/><author><name>Mohan</name><uri>http://www.blogger.com/profile/04845674887431822308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhotcj3nbvUVot7IDvQRefWuLYxrkLC8LwGGO46JOuXcodDsFsyLSPfzQgSTj8ieRqfMMgM87RSm4_btDUJ0OfVcF4iAWihOECdCAaFaXu2_Nd63JEVch7eQx9d2N1l_94/s220/HD+Wallpaper+%281902%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2834836888490179598.post-6816043608632244661</id><published>2013-04-09T07:10:00.000+05:30</published><updated>2013-04-09T07:12:42.136+05:30</updated><title type='text'>Executable Java Jar File and Windows Exe File Creation</title><content type='html'>&lt;div class=&quot;WordSection1&quot;&gt;  &lt;p style=&quot;mso-line-height-alt:10.0pt&quot;&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;How to create an executable java jar file? I want to just double click the jar file and the application should run, please help me. I want to convert   my java application to a windows exe file, how can I do it? These are two frequently asked questions.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=&quot;mso-line-height-alt:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;For you guys who know about these things already you may skip this article, as there is no surprise element embedded. For us who are interested in learning new things go ahead, anything   new adds up.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;h2 style=&quot;mso-line-height-alt:15.5pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:22.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:#42D236&quot;&gt;How to Create an Executable JAR File?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;  &lt;p style=&quot;mso-line-height-alt:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;JDK gives us a tool to create&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;em&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;jar&lt;/span&gt;&lt;/em&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;files.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=&quot;mso-line-height-alt:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsvHzmfVZMN2Q0mQZlGoGS0MejDYTW7jwnFVgCE1FiB41jxu72GWqMC_XEn0yqFl1979RgJaOro4-bdZlMyASXpN7TgrvgwQeM8UNVWLC3vKZOSgsHGDDSgM9PFdoycQD-HZcJtIZNNW9B/s1600/image001-762137.png&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsvHzmfVZMN2Q0mQZlGoGS0MejDYTW7jwnFVgCE1FiB41jxu72GWqMC_XEn0yqFl1979RgJaOro4-bdZlMyASXpN7TgrvgwQeM8UNVWLC3vKZOSgsHGDDSgM9PFdoycQD-HZcJtIZNNW9B/s320/image001-762137.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5864656563023866578&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=&quot;mso-line-height-alt:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;Before creating a java jar file, we need to create a java manifest file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=&quot;mso-line-height-alt:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;Command to create an executable java jar file:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=&quot;mso-line-height-alt:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;em&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;jar -cvfm BundleExample.jar manifes&lt;/span&gt;&lt;/em&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&lt;br&gt;  &lt;em&gt;&lt;span style=&quot;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot;&gt;t.txt com/javapapers/corejava/*.class&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;h3 style=&quot;mso-line-height-alt:12.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:16.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:#42D236&quot;&gt;How to create a java manifest file?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;  &lt;p style=&quot;mso-line-height-alt:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;Generally we will have the&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&lt;a href=&quot;http://docs.oracle.com/javase/tutorial/deployment/jar/manifestindex.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color:#4290F9&quot;&gt;manifest   file&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;located in,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ul type=&quot;disc&quot;&gt;  &lt;li class=&quot;MsoNormal&quot; style=&quot;color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-line-height-alt:10.0pt;mso-list:l0 level1 lfo1&quot;&gt;  &lt;span style=&quot;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot;&gt;META-INF/manifest.mf&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;p style=&quot;mso-line-height-alt:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;This manifest file contains information about the jar file. Information like which is the main java class to be executed, who created the application, version of the application, etc.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=&quot;mso-line-height-alt:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;It is a regular text file. Remember to press enter at the end of each line and importantly in the last line.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=&quot;mso-line-height-alt:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;So with respect to creating an executable java jar file, we need to add the main class of the application using which it can be launched. Our example manifest file is like below,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=&quot;mso-line-height-alt:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;em&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;Main-Class: com.javapapers.corejava.JavaBundleExample&lt;/span&gt;&lt;/em&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=&quot;mso-line-height-alt:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;This is the only line I have and that is sufficient for our purpose.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;h3 style=&quot;mso-line-height-alt:12.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:16.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:#42D236&quot;&gt;Sample Application&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;  &lt;p style=&quot;mso-line-height-alt:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;We need a sample java application to enjoy this. Lets create a simple hello world type swing application.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class=&quot;MsoNormalTable&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; width=&quot;507&quot; style=&quot;width:380.0pt;border-top-left-radius: 0px !important;border-top-right-radius: 0px !important;border-bottom-right-radius: 0px !important;border-bottom-left-radius: 0px !important;bottom: auto !important;outline: 0px !important;box-sizing: content-box !important;background-position:initial initial !important;background-repeat:initial initial !important;float:none;overflow:visible;right:auto&quot;&gt;  &lt;tbody&gt;  &lt;tr style=&quot;border-top-left-radius: 0px !important;border-top-right-radius: 0px !important;border-bottom-right-radius: 0px !important;border-bottom-left-radius: 0px !important;bottom: auto !important;outline: 0px !important;box-sizing: content-box !important;background-position:initial initial !important;background-repeat:initial initial !important;float:none;overflow:visible;right:auto&quot;&gt;  &lt;td width=&quot;507&quot; style=&quot;width:380.0pt;padding:0in 0in 0in 0in;border-top-left-radius: 0px !important;border-top-right-radius: 0px !important;border-bottom-right-radius: 0px !important;border-bottom-left-radius: 0px !important;bottom: auto !important;outline: 0px !important;box-sizing: content-box !important;background-position:initial initial !important;background-repeat:initial initial !important;float:none;overflow:visible;right:auto&quot;&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;package&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;  &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;com.javapapers.corejava;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:16.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;import&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;  &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;java.awt.GridLayout;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;import&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;  &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;javax.swing.BorderFactory;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;import&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;  &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;javax.swing.JButton;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;import&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;  &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;javax.swing.JFrame;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;import&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;  &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;javax.swing.JLabel;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;import&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;  &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;javax.swing.JPanel;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;public&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;  &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;class&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;  &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;JavaBundleExample {&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;&amp;nbsp;&amp;nbsp;private&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;  &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;static&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;  &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;void&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;  &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;createAndShowGUI() {&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;JFrame.setDefaultLookAndFeelDecorated(true);&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;JFrame frame = new&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;  &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;JFrame(&amp;quot;Bundle Example&amp;quot;);&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;JPanel pane = new&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;  &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;JPanel(new&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;  &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;GridLayout(0, 1));&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;JButton button = new&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;  &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;JButton(&amp;quot;Dummy Button!&amp;quot;);&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pane.add(button);&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;JLabel label = new&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;  &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;JLabel(&amp;quot;Example for Bundling JRE with Java Class&amp;quot;);&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pane.add(label);&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pane.setBorder(BorderFactory.createEmptyBorder(30, 30, 10, 30));&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;frame.getContentPane().add(pane);&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;frame.pack();&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;frame.setVisible(true);&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;&amp;nbsp;&amp;nbsp;public&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;  &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;static&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;  &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;void&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;  &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;main(String[] args) {&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;javax.swing.SwingUtilities.invokeLater(new&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;  &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;Runnable() {&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;public&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;  &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;void&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;  &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;run() {&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;createAndShowGUI();&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;});&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size:12.0pt&quot;&gt;}&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;/td&gt;  &lt;/tr&gt;  &lt;/tbody&gt;  &lt;/table&gt;  &lt;p style=&quot;mso-line-height-alt:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;Output:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=&quot;mso-line-height-alt:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDPkr3h0aq1DmVd7BkoODQY8_jzJZVyy2ocysqwmHix4vjLOucjrhrzOzfvS-Aui8GbGKBJA4pBfbMZ5_XZGKC6ba1Z1C66eJ82-fcZDKZiOV8JOZmyfEZI-9z_XIYS2_WqyHYr5Ta-xUl/s1600/image002-763776.png&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDPkr3h0aq1DmVd7BkoODQY8_jzJZVyy2ocysqwmHix4vjLOucjrhrzOzfvS-Aui8GbGKBJA4pBfbMZ5_XZGKC6ba1Z1C66eJ82-fcZDKZiOV8JOZmyfEZI-9z_XIYS2_WqyHYr5Ta-xUl/s320/image002-763776.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5864656567395915618&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=&quot;mso-line-height-alt:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;Just execute the following line (command) to create the jar file, you should have added JDK to PATH.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=&quot;mso-line-height-alt:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;em&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;jar -cvfm BundleExample.jar manifes&lt;/span&gt;&lt;/em&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&lt;br&gt;  &lt;em&gt;&lt;span style=&quot;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot;&gt;t.txt com/javapapers/corejava/*.class&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=&quot;mso-line-height-alt:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;Now we can double click the jar file and the application will launch and run.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;h2 style=&quot;mso-line-height-alt:15.5pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:22.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:#42D236&quot;&gt;How to Create a Windows Exe file?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;  &lt;p style=&quot;mso-line-height-alt:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;If we create a windows native exe file, then we loose the platform independent-ness.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=&quot;mso-line-height-alt:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZKGVcrFlGoNiIXEo0RejYDWyJcLMpX0BJrMgjWPMz7OXFPYvOgKjOSl222TZ-rCNUOIE6IUyBS1sKtbzMT5oBTkIL_EA0O7opLr4h25-eCIxjHqcAYqTPIZysJtZ1pmOVkJLmQiGC8vva/s1600/image003-764811.jpg&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZKGVcrFlGoNiIXEo0RejYDWyJcLMpX0BJrMgjWPMz7OXFPYvOgKjOSl222TZ-rCNUOIE6IUyBS1sKtbzMT5oBTkIL_EA0O7opLr4h25-eCIxjHqcAYqTPIZysJtZ1pmOVkJLmQiGC8vva/s320/image003-764811.jpg&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5864656573057339074&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=&quot;mso-line-height-alt:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;Let us use a tool called&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&lt;a href=&quot;http://sourceforge.net/projects/launch4j/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color:#4290F9&quot;&gt;Launch4J&lt;/span&gt;&lt;/a&gt;.   It&amp;#8217;s a nice tool, works good and easy to use.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=&quot;mso-line-height-alt:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;Its core features are,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ul type=&quot;disc&quot;&gt;  &lt;li class=&quot;MsoNormal&quot; style=&quot;color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-line-height-alt:10.0pt;mso-list:l2 level1 lfo2&quot;&gt;  &lt;span style=&quot;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot;&gt;creating lightweight Windows native EXE&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-line-height-alt:10.0pt;mso-list:l2 level1 lfo2&quot;&gt;  &lt;span style=&quot;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot;&gt;JRE version control&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-line-height-alt:10.0pt;mso-list:l2 level1 lfo2&quot;&gt;  &lt;span style=&quot;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot;&gt;app icon&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-line-height-alt:10.0pt;mso-list:l2 level1 lfo2&quot;&gt;  &lt;span style=&quot;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot;&gt;splash screen&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-line-height-alt:10.0pt;mso-list:l2 level1 lfo2&quot;&gt;  &lt;span style=&quot;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot;&gt;process name&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-line-height-alt:10.0pt;mso-list:l2 level1 lfo2&quot;&gt;  &lt;span style=&quot;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot;&gt;Java download page&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;p style=&quot;mso-line-height-alt:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;Download Launch4J and use the GUI to create the windows/Java exe file. Launc4J creates an XML file to save the configuration.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=&quot;mso-line-height-alt:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;a href=&quot;http://javapapers.com/wp-content/uploads/2013/04/launch4jconfig.png&quot;&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:#4290F9;text-decoration:none&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLAMlqVdlGcluWz8ZaPo-OVVjfX8w4tPR1NUs_MNlzqwXGbX22_SgYIHiBk6KzvuOUu5vLTmGgzejpt-pxKUhBdF2Sj-Umu_y7P0i6kaK2l35027EhN1VYPIj5I8D6vLCQrWDmTZ8jOD3k/s1600/image004-766008.png&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLAMlqVdlGcluWz8ZaPo-OVVjfX8w4tPR1NUs_MNlzqwXGbX22_SgYIHiBk6KzvuOUu5vLTmGgzejpt-pxKUhBdF2Sj-Umu_y7P0i6kaK2l35027EhN1VYPIj5I8D6vLCQrWDmTZ8jOD3k/s320/image004-766008.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5864656582558826642&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ul type=&quot;disc&quot;&gt;  &lt;li class=&quot;MsoNormal&quot; style=&quot;color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-line-height-alt:10.0pt;mso-list:l1 level1 lfo3&quot;&gt;  &lt;span style=&quot;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot;&gt;I have specified the output file, this is the name of the exe file to be created.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-line-height-alt:10.0pt;mso-list:l1 level1 lfo3&quot;&gt;  &lt;span style=&quot;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot;&gt;Jar is the input file which we want to bundle as an exe file. Lets use the Java JAR which we created in the previous step.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-line-height-alt:10.0pt;mso-list:l1 level1 lfo3&quot;&gt;  &lt;span style=&quot;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot;&gt;In JRE tab, we can specify the Min JRE version required. So this will detect the JRE available in the system and verify if the version is sufficient.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-line-height-alt:10.0pt;mso-list:l1 level1 lfo3&quot;&gt;  &lt;span style=&quot;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot;&gt;Click the cog wheel icon from the menu to generate the exe file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size:14.0pt&quot;&gt;Source: javapapers.com&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='https://learnings.site4sites.co.in/feeds/6816043608632244661/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnings.site4sites.co.in/2013/04/executable-java-jar-file-and-windows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/6816043608632244661'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/6816043608632244661'/><link rel='alternate' type='text/html' href='https://learnings.site4sites.co.in/2013/04/executable-java-jar-file-and-windows.html' title='Executable Java Jar File and Windows Exe File Creation'/><author><name>Mohan</name><uri>http://www.blogger.com/profile/04845674887431822308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhotcj3nbvUVot7IDvQRefWuLYxrkLC8LwGGO46JOuXcodDsFsyLSPfzQgSTj8ieRqfMMgM87RSm4_btDUJ0OfVcF4iAWihOECdCAaFaXu2_Nd63JEVch7eQx9d2N1l_94/s220/HD+Wallpaper+%281902%29.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsvHzmfVZMN2Q0mQZlGoGS0MejDYTW7jwnFVgCE1FiB41jxu72GWqMC_XEn0yqFl1979RgJaOro4-bdZlMyASXpN7TgrvgwQeM8UNVWLC3vKZOSgsHGDDSgM9PFdoycQD-HZcJtIZNNW9B/s72-c/image001-762137.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2834836888490179598.post-1997672481483765852</id><published>2013-04-04T21:26:00.000+05:30</published><updated>2013-04-04T21:27:51.474+05:30</updated><title type='text'>Ant Colony Optimization in Java</title><content type='html'>&lt;div class=&quot;WordSection1&quot;&gt;  &lt;p style=&quot;line-height:10.0pt&quot;&gt;&lt;span style=&quot;font-size:9.5pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;Long back I introduced Wordle word clouds as part of Java gallery and then completely forgot about the gallery category. Today I was reading about ant colony   optimization and came across a nice implementation of it in Java. Thought of sharing this Java application to you as part of Java gallery.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=&quot;line-height:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:9.5pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;Ant colony optimization is an awesome algorithm inspired by ant&amp;#8217;s natural intelligence. Like cockroaches, ants are extremely successful insects surviving for millions of years. Ants   live in colonies and they have hierarchies among them. Physical castes are, like worker ants have responsibilities divided based on their size.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=&quot;line-height:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:9.5pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUNcrlR-hJy_5vvG8MgHAZBPu8bLwzHg5mv7My6c6lELED3sNEU-giKdv6ycqcTQUOvoYpsMW-lVlgAe9MLj241pEGOHQD_iA_Pq8X966rfBdH4q2T99Jx0SZY1kkthQYfPHel4wyxwMP8/s1600/image001-771475.jpg&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUNcrlR-hJy_5vvG8MgHAZBPu8bLwzHg5mv7My6c6lELED3sNEU-giKdv6ycqcTQUOvoYpsMW-lVlgAe9MLj241pEGOHQD_iA_Pq8X966rfBdH4q2T99Jx0SZY1kkthQYfPHel4wyxwMP8/s320/image001-771475.jpg&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5863021506012216722&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-size:9.5pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=&quot;line-height:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:9.5pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;Ants communicate within themselves effectively. Their form of communication is efficient enough to help them survive for millions of years. Apart from sound, touch they use a secreted   chemical called pheromone to communicate. Ants go out in search of food and once it finds a food source, on its return back to home ants spit pheromone on the trail. If it comes across obstacles during its way back, the group gets dispersed to find a shortest   route.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=&quot;line-height:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:9.5pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;Ants use pheromones to find the shortest path between home and food source. Pheromones evaporate quickly. Assume that there are two path trails formed by ants between its home and food   source. When an ant walks out looking for food, it will choose the path where the pheromone is denser. Since the shortest path will have denser pheromone.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=&quot;line-height:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:9.5pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTYZWeXoQGKvi8j2cT6QlEdjFSYbm3PUwiY9kBh2g_vZy8SaZm6CczRwcKQ4KwZFk8B0frCM6wc4uUF2xz5vjiClpLif7SliokskJR9j_or8tP_7HLyIudGGEgP6ecZnkmLsRRv0mpANch/s1600/image002-773082.png&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTYZWeXoQGKvi8j2cT6QlEdjFSYbm3PUwiY9kBh2g_vZy8SaZm6CczRwcKQ4KwZFk8B0frCM6wc4uUF2xz5vjiClpLif7SliokskJR9j_or8tP_7HLyIudGGEgP6ecZnkmLsRRv0mpANch/s320/image002-773082.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5863021517266363170&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-size:9.5pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=&quot;line-height:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:9.5pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;Christian Borgelt has created a nice implementation of&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://www.borgelt.net/acopt.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color:#4290F9&quot;&gt;ant   colony optimization in Java&lt;/span&gt;&lt;/a&gt;. It is worth having a look at it. He has used Java Swing, Awt, for UI using which the traversal for shortest path is shown.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=&quot;line-height:10.0pt;orphans: auto;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px&quot;&gt;  &lt;span style=&quot;font-size:9.5pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJHCChRkzG_2zlqQwh2aVeDCXC6uWjX4llihEIUpC5SxWJBmthSKkkSHpYJq9623v3PNByIWKUVFssG5lsBY6RuTqYNa8_IA9o5-Ee0nRZxuxEZ4oQ-AtWI64IIJBL7ka1lGvyQx4H5TPu/s1600/image003-775896.png&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJHCChRkzG_2zlqQwh2aVeDCXC6uWjX4llihEIUpC5SxWJBmthSKkkSHpYJq9623v3PNByIWKUVFssG5lsBY6RuTqYNa8_IA9o5-Ee0nRZxuxEZ4oQ-AtWI64IIJBL7ka1lGvyQx4H5TPu/s320/image003-775896.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5863021523438148706&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-size:9.5pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;=========&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;Source: javapapers.com&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='https://learnings.site4sites.co.in/feeds/1997672481483765852/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnings.site4sites.co.in/2013/04/ant-colony-optimization-in-java.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/1997672481483765852'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/1997672481483765852'/><link rel='alternate' type='text/html' href='https://learnings.site4sites.co.in/2013/04/ant-colony-optimization-in-java.html' title='Ant Colony Optimization in Java'/><author><name>Mohan</name><uri>http://www.blogger.com/profile/04845674887431822308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhotcj3nbvUVot7IDvQRefWuLYxrkLC8LwGGO46JOuXcodDsFsyLSPfzQgSTj8ieRqfMMgM87RSm4_btDUJ0OfVcF4iAWihOECdCAaFaXu2_Nd63JEVch7eQx9d2N1l_94/s220/HD+Wallpaper+%281902%29.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUNcrlR-hJy_5vvG8MgHAZBPu8bLwzHg5mv7My6c6lELED3sNEU-giKdv6ycqcTQUOvoYpsMW-lVlgAe9MLj241pEGOHQD_iA_Pq8X966rfBdH4q2T99Jx0SZY1kkthQYfPHel4wyxwMP8/s72-c/image001-771475.jpg" height="72" width="72"/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2834836888490179598.post-2226220090789933850</id><published>2013-02-25T14:59:00.000+05:30</published><updated>2013-02-25T15:01:26.984+05:30</updated><title type='text'>What is National Drug Code (NDC)</title><content type='html'>&lt;div class=&quot;WordSection1&quot;&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color:#1F497D&quot;&gt;What is a National Drug Code (&lt;b&gt;NDC&lt;/b&gt;)?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color:#1F497D&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color:#1F497D&quot;&gt;The NDC, or &lt;b&gt;National Drug Code&lt;/b&gt;, is a unique 10-digit, 3-segment number. It is a universal product identifier for  &lt;b&gt;human drugs&lt;/b&gt; in the United States. The code is present on all nonprescription (OTC) and prescription medication packages and inserts in the US.  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color:#1F497D&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color:#1F497D&quot;&gt;The 3 segments of the NDC identify the  &lt;b&gt;labeler&lt;/b&gt;, the &lt;b&gt;product&lt;/b&gt;, and the &lt;b&gt;commercial package size&lt;/b&gt;. (Please refer the below example NDC Image)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color:#1F497D&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color:#1F497D&quot;&gt;The first set of numbers in the NDC identifies the labeler (manufacturer, repackager, or distributer).  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color:#1F497D&quot;&gt;The second set of numbers is the product code, which identifies the specific strength, dosage form (i.e, capsule, tablet, liquid) and formulation of a drug for a specific manufacturer.  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color:#1F497D&quot;&gt;Finally, the third set is the package code, which identifies package sizes and types. The labeler code is assigned by the FDA, while the product and package code are assigned by the labeler.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white&quot;&gt;  &lt;b&gt;&lt;span lang=&quot;EN&quot; style=&quot;font-size:15.0pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black&quot;&gt;Example NDC&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top:9.6pt;background:white&quot;&gt;&lt;span style=&quot;font-size:9.5pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:#333333&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgk-N5QWjjSr33Jc079awnA6icOjpVEXFf1YydBeLt70GMU-wD9YZNiyxPo4IT7-GnpNzEjbN9VhskN04HvEIUTBEKd0sOdrJGbOwdWb7V3zazo9MCCjZTFNh_YsxI2mpWWhP1pP1OirXI/s1600/image002-786984.png&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgk-N5QWjjSr33Jc079awnA6icOjpVEXFf1YydBeLt70GMU-wD9YZNiyxPo4IT7-GnpNzEjbN9VhskN04HvEIUTBEKd0sOdrJGbOwdWb7V3zazo9MCCjZTFNh_YsxI2mpWWhP1pP1OirXI/s320/image002-786984.png&quot;  border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5848820697649718930&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;font-size:9.5pt;font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:#1F497D&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top:9.6pt;background:white&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color:#1F497D&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top:9.6pt;background:white&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color:#1F497D&quot;&gt;Find the codes in  &lt;a href=&quot;http://www.findacode.com/&quot;&gt;http://www.findacode.com/&lt;/a&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='https://learnings.site4sites.co.in/feeds/2226220090789933850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnings.site4sites.co.in/2013/02/what-is-national-drug-code-ndc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/2226220090789933850'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/2226220090789933850'/><link rel='alternate' type='text/html' href='https://learnings.site4sites.co.in/2013/02/what-is-national-drug-code-ndc.html' title='What is National Drug Code (NDC)'/><author><name>Mohan</name><uri>http://www.blogger.com/profile/04845674887431822308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhotcj3nbvUVot7IDvQRefWuLYxrkLC8LwGGO46JOuXcodDsFsyLSPfzQgSTj8ieRqfMMgM87RSm4_btDUJ0OfVcF4iAWihOECdCAaFaXu2_Nd63JEVch7eQx9d2N1l_94/s220/HD+Wallpaper+%281902%29.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgk-N5QWjjSr33Jc079awnA6icOjpVEXFf1YydBeLt70GMU-wD9YZNiyxPo4IT7-GnpNzEjbN9VhskN04HvEIUTBEKd0sOdrJGbOwdWb7V3zazo9MCCjZTFNh_YsxI2mpWWhP1pP1OirXI/s72-c/image002-786984.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2834836888490179598.post-5430481420063115520</id><published>2012-03-08T11:15:00.001+05:30</published><updated>2012-03-08T11:15:24.555+05:30</updated><title type='text'>To compile java files within Directory including subdirectory</title><content type='html'>There is no direct way to do it.&lt;p&gt;Alternatives:&lt;br&gt;1. using Build tool like Maven, Ant etc or using Batch scripts.&lt;br&gt;2. using command line,&lt;p&gt;&amp;gt;dir /b /s *.java &amp;gt;&amp;gt; files.txt&lt;p&gt;Dir to Display a list of files and subfolders&lt;br&gt;/b for Bare format (no heading, file sizes or summary).&lt;br&gt;/s for include all subfolders.&lt;br&gt;&amp;gt;&amp;gt; for print the output in to a file&lt;p&gt;Then type: javac @files.txt</content><link rel='replies' type='application/atom+xml' href='https://learnings.site4sites.co.in/feeds/5430481420063115520/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnings.site4sites.co.in/2012/03/to-compile-java-files-within-directory.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/5430481420063115520'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/5430481420063115520'/><link rel='alternate' type='text/html' href='https://learnings.site4sites.co.in/2012/03/to-compile-java-files-within-directory.html' title='To compile java files within Directory including subdirectory'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2834836888490179598.post-3614993496317584632</id><published>2011-06-30T16:30:00.000+05:30</published><updated>2011-07-27T12:47:23.833+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="mohan"/><title type='text'>String and StringBuffer Implementation - which is fast</title><content type='html'>&lt;div class=Section1&gt;  &lt;div&gt;  &lt;p class=MsoNormal&gt;&lt;span style=&#39;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:maroon&#39;&gt;All,&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div&gt;  &lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div&gt;  &lt;p class=MsoNormal&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:maroon&#39;&gt;I came across some interesting fact on String and String Buffer. We&amp;nbsp;know that String concatination internaly uses StringBuffer to do the concatination operation, and thinking about this we do concatination&amp;nbsp;as mentioned below:&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div&gt;  &lt;p class=MsoNormal&gt;&lt;span style=&#39;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:maroon&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String str=a+b; a and b is string objects.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div&gt;  &lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div&gt;  &lt;p class=MsoNormal&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:maroon&#39;&gt;java compiler compiles above code in this fashion: &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div&gt;  &lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div&gt;  &lt;p class=MsoNormal&gt;&lt;span style=&#39;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:maroon&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String str=(new StringBuffer()).append(a).append(b).toString()); &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div&gt;  &lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div&gt;  &lt;p class=MsoNormal&gt;&lt;span style=&#39;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:maroon&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Above code creates two objects, and as you must be knowing that java maintains the string data in char array which is also an object so +1 more object. So in total 3 objects gets created for one concatination operation. Please note that object creation is one of the costiliest operation in java. &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div&gt;  &lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div&gt;  &lt;p class=MsoNormal&gt;&lt;span style=&#39;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:maroon&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I created one test program just to see the performance difference and results were dramatic... i ran both loop in same program 1 lakhs times. See the time difference... So based on below result i would recommend please start using StringBuffer.append whenever you are doing any concatination operation in java...&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div&gt;  &lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div&gt;  &lt;p class=MsoNormal&gt;&lt;strong&gt;&lt;span style=&#39;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:red&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; time taken by string: 78080 (ms)&lt;/span&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style=&#39;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:red&#39;&gt;&lt;br&gt; &lt;strong&gt;&lt;span style=&#39;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; time taken by String buffer: 31 (ms)&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div&gt;  &lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div&gt;  &lt;p class=MsoNormal&gt;&lt;span style=&#39;color:#1F497D&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div&gt;  &lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div&gt;  &lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div&gt;  &lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div&gt;  &lt;p class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div&gt;  &lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='https://learnings.site4sites.co.in/feeds/3614993496317584632/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnings.site4sites.co.in/2011/06/string-and-stringbuffer-implementation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/3614993496317584632'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/3614993496317584632'/><link rel='alternate' type='text/html' href='https://learnings.site4sites.co.in/2011/06/string-and-stringbuffer-implementation.html' title='String and StringBuffer Implementation - which is fast'/><author><name>Mohan</name><uri>http://www.blogger.com/profile/04845674887431822308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhotcj3nbvUVot7IDvQRefWuLYxrkLC8LwGGO46JOuXcodDsFsyLSPfzQgSTj8ieRqfMMgM87RSm4_btDUJ0OfVcF4iAWihOECdCAaFaXu2_Nd63JEVch7eQx9d2N1l_94/s220/HD+Wallpaper+%281902%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2834836888490179598.post-6500163986958354797</id><published>2011-06-30T16:24:00.000+05:30</published><updated>2011-07-27T12:48:44.511+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="mohan"/><title type='text'>How to identify the YUI version</title><content type='html'>&lt;img src=&quot;cid:image001.jpg@01CB9D17.A8C4F5C0&quot; v:src=&quot;cid:image001.jpg@01CB9D17.A8C4F5C0&quot; v:shapes=&quot;_x0000_Mail&quot; width=0 height=0 class=shape style=&#39;display:none;width:0;height:0&#39;&gt;  &lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;&#39;&gt;Hi all,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;&#39;&gt;Steps for identifying YUI version:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ol start=1 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-list:l0 level1 lfo3&#39;&gt;&lt;span style=&#39;font-size:      10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;&#39;&gt;Open the YUIInclude.js (or      respective YUI related JS you have used).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-list:l0 level1 lfo3&#39;&gt;&lt;span style=&#39;font-size:      10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;&#39;&gt;Search for the string      &amp;#8216;YAHOO.register(&amp;#8217;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-list:l0 level1 lfo3&#39;&gt;&lt;span style=&#39;font-size:      10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;&#39;&gt;This is a JS function where you      pass the version number. Check its arguments for your YUI version.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;p class=MsoNormal&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;&#39;&gt;NOTE: If you are using YUI version less than 2.8, please upgrade it to 2.8. This will not require any code changes other than JS and CSS file change. Do a thorough testing of your application functionality after upgrading.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;&#39;&gt;Thanks.&lt;span style=&#39;color:#1F497D&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='https://learnings.site4sites.co.in/feeds/6500163986958354797/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnings.site4sites.co.in/2011/06/how-to-identify-yui-version.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/6500163986958354797'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/6500163986958354797'/><link rel='alternate' type='text/html' href='https://learnings.site4sites.co.in/2011/06/how-to-identify-yui-version.html' title='How to identify the YUI version'/><author><name>Mohan</name><uri>http://www.blogger.com/profile/04845674887431822308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhotcj3nbvUVot7IDvQRefWuLYxrkLC8LwGGO46JOuXcodDsFsyLSPfzQgSTj8ieRqfMMgM87RSm4_btDUJ0OfVcF4iAWihOECdCAaFaXu2_Nd63JEVch7eQx9d2N1l_94/s220/HD+Wallpaper+%281902%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2834836888490179598.post-4398066110960570874</id><published>2011-04-07T10:45:00.001+05:30</published><updated>2011-07-27T12:48:16.249+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java Interview QA Series"/><title type='text'>Java J2EE Interview Questions and Answers - Part 7</title><content type='html'>&lt;div class=Section1&gt;  &lt;ol start=91 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l3 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is connection pooling?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- With servlets,      opening a database connection is a major bottleneck because we are      creating and tearing down a new connection for every page request and the      time taken to create connection will be more. Creating a connection pool      is an ideal approach for a complicated servlet. With a connection pool, we      can duplicate only the resources we need to duplicate rather than the      entire servlet. A connection pool can also intelligently manage the size      of the pool and make sure each connection remains valid. A number of      connection pool packages are currently available. Some like      DbConnectionBroker are freely available from Java Exchange Works by      creating an object that dispenses connections and connection Ids on      request. The ConnectionPool class maintains a Hastable, using Connection      objects as keys and Boolean values as stored values. The Boolean value      indicates whether a connection is in use or not. A program calls      getConnection() method of the ConnectionPool for getting Connection object      it can use; it calls returnConnection() to give the connection back to the      pool. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l3 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;Why should we go for interservlet communication?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Servlets running      together in the same server communicate with each other in several ways.      The three major reasons to use interservlet communication are: a) Direct      servlet manipulation - allows to gain access to the other currently loaded      servlets and perform certain tasks (through the ServletContext object) b)      Servlet reuse - allows the servlet to reuse the public methods of another      servlet. c) Servlet collaboration - requires to communicate with each      other by sharing specific information (through method invocation) &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l3 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;Is it possible to call servlet with parameters in the      URL?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;-      Yes. You can call a servlet with parameters in the syntax as (?Param1 =      xxx || m2 = yyy). &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;p class=MsoNormal&gt;&lt;span style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ol start=94 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l1 level1 lfo2&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is Servlet chaining?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Servlet chaining is      a technique in which two or more servlets can cooperate in servicing a      single request. In servlet chaining, one servlet&amp;#8217;s output is piped      to the next servlet&amp;#8217;s input. This process continues until the last      servlet is reached. Its output is then sent back to the client. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l1 level1 lfo2&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;How do servlets handle multiple simultaneous requests?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- The server has      multiple threads that are available to handle requests. When a request      comes in, it is assigned to a thread, which calls a service method (for      example: doGet(), doPost() and service()) of the servlet. For this reason,      a single servlet object can have its service methods called by many      threads at once. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l1 level1 lfo2&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is the difference between TCP/IP and UDP?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- TCP/IP is a two-way      communication between the client and the server and it is a reliable and      there is a confirmation regarding reaching the message to the destination.      It is like a phone call. UDP is a one-way communication only between the      client and the server and it is not a reliable and there is no      confirmation regarding reaching the message to the destination. It is like      a postal mail. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;ol start=97 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo3&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is Inet address?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:      10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Every computer connected to a      network has an IP address. An IP address is a number that uniquely      identifies each computer on the Net. An IP address is a 32-bit number. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo3&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is Domain Naming Service(DNS)?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- It is very      difficult to remember a set of numbers(IP address) to connect to the      Internet. The Domain Naming Service(DNS) is used to overcome this problem.      It maps one particular IP address to a string of characters. For example,      www. mascom. com implies com is the domain name reserved for US commercial      sites, moscom is the name of the company and www is the name of the specific      computer, which is mascom&amp;#8217;s server. &lt;/span&gt;&lt;span style=&#39;font-size:      12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo3&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is URL?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;      font-family:&quot;Comic Sans MS&quot;&#39;&gt;- URL stands for Uniform Resource Locator and      it points to resource files on the Internet. URL has four components:      http://www. address. com:80/index.html, where http - protocol name,      address - IP address or host name, 80 - port number and index.html - file      path. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;ol start=100 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l2 level1 lfo4&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is RMI and steps involved in developing an RMI      object?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;-      Remote Method Invocation (RMI) allows java object that executes on one      machine and to invoke the method of a Java object to execute on another      machine. The steps involved in developing an RMI object are: a) Define the      interfaces b) Implementing these interfaces c) Compile the interfaces and      their implementations with the java compiler d) Compile the server      implementation with RMI compiler e) Run the RMI registry f) Run the      application &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l2 level1 lfo4&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is RMI architecture?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- RMI architecture      consists of four layers and each layer performs specific functions: a)      Application layer - contains the actual object definition. b) Proxy layer      - consists of stub and skeleton. c) Remote Reference layer - gets the      stream of bytes from the transport layer and sends it to the proxy layer.      d) Transportation layer - responsible for handling the actual      machine-to-machine communication. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;      font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l2 level1 lfo4&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;what is UnicastRemoteObject?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- All remote objects      must extend UnicastRemoteObject, which provides functionality that is      needed to make objects available from remote machines. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;ol start=103 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l0 level1 lfo5&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;Explain the methods, rebind() and lookup() in Naming      class?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;-      rebind() of the Naming class(found in java. rmi) is used to update the RMI      registry on the server machine. Naming. rebind(&amp;#8221;AddSever&amp;#8221;,      AddServerImpl); lookup() of the Naming class accepts one argument, the rmi      URL and returns a reference to an object of type AddServerImpl. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l0 level1 lfo5&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is a Java Bean?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:      10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- A Java Bean is a software component      that has been designed to be reusable in a variety of different      environments. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l0 level1 lfo5&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is a Jar file?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:      10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Jar file allows to efficiently      deploying a set of classes and their associated resources. The elements in      a jar file are compressed, which makes downloading a Jar file much faster      than separately downloading several uncompressed files. The package java.      util. zip contains classes that read and write jar files.&lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='https://learnings.site4sites.co.in/feeds/4398066110960570874/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnings.site4sites.co.in/2011/04/java-j2ee-interview-questions-and_3334.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/4398066110960570874'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/4398066110960570874'/><link rel='alternate' type='text/html' href='https://learnings.site4sites.co.in/2011/04/java-j2ee-interview-questions-and_3334.html' title='Java J2EE Interview Questions and Answers - Part 7'/><author><name>Mohan</name><uri>http://www.blogger.com/profile/04845674887431822308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhotcj3nbvUVot7IDvQRefWuLYxrkLC8LwGGO46JOuXcodDsFsyLSPfzQgSTj8ieRqfMMgM87RSm4_btDUJ0OfVcF4iAWihOECdCAaFaXu2_Nd63JEVch7eQx9d2N1l_94/s220/HD+Wallpaper+%281902%29.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2834836888490179598.post-5815589088507336960</id><published>2011-04-07T10:45:00.000+05:30</published><updated>2011-07-27T12:48:16.250+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java Interview QA Series"/><title type='text'>Java J2EE Interview Questions and Answers - Part 6</title><content type='html'>&lt;div class=Section1&gt;  &lt;ol start=76 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l0 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What are the types of statements in JDBC?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Statement: to be      used createStatement() method for executing single SQL statement      PreparedStatement &amp;#8212; To be used preparedStatement() method for executing      same SQL statement over and over. CallableStatement &amp;#8212; To be used      prepareCall() method for multiple SQL statements over and over. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l0 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is stored procedure?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Stored procedure is      a group of SQL statements that forms a logical unit and performs a particular      task. Stored Procedures are used to encapsulate a set of operations or      queries to execute on database. Stored procedures can be compiled and      executed with different parameters and results and may have any      combination of input/output parameters. &lt;/span&gt;&lt;span style=&#39;font-size:      12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l0 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;How to create and call stored procedures?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- To create stored      procedures: Create procedure procedurename (specify in, out and in out      parameters) BEGIN Any multiple SQL statement; END; To call stored      procedures: CallableStatement csmt = con. prepareCall(&amp;#8221;{call procedure      name(?,?)}&amp;#8221;); csmt. registerOutParameter(column no. , data type);      csmt. setInt(column no. , column name) csmt. execute(); &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;ol start=79 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l2 level1 lfo2&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is servlet?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;      font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Servlets are modules that extend      request/response-oriented servers, such as java-enabled web servers. For example,      a servlet might be responsible for taking data in an HTML order-entry form      and applying the business logic used to update a company&amp;#8217;s order      database. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l2 level1 lfo2&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What are the classes and interfaces for servlets?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- There are two      packages in servlets and they are javax. servlet and &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l2 level1 lfo2&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is the difference between an applet and a servlet?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- a) Servlets are to      servers what applets are to browsers. b) Applets must have graphical user      interfaces whereas servlets have no graphical user interfaces. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;ol start=82 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l1 level1 lfo3&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is the difference between doPost and doGet methods?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- a) doGet() method      is used to get information, while doPost() method is used for posting      information. b) doGet() requests can&amp;#8217;t send large amount of      information and is limited to 240-255 characters. However, doPost()requests      passes all of its data, of unlimited length. c) A doGet() request is      appended to the request URL in a query string and this allows the exchange      is visible to the client, whereas a doPost() request passes directly over      the socket connection as part of its HTTP request body and the exchange      are invisible to the client. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;      font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l1 level1 lfo3&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is the life cycle of a servlet?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Each Servlet has      the same life cycle: a) A server loads and initializes the servlet by init      () method. b) The servlet handles zero or more client&amp;#8217;s requests      through service() method. c) The server removes the servlet through      destroy() method. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l1 level1 lfo3&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;Who is loading the init() method of servlet?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Web server &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;ol start=85 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l3 level1 lfo4&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What are the different servers available for developing      and deploying Servlets?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;      font-family:&quot;Comic Sans MS&quot;&#39;&gt;- a) Java Web Server b) JRun g) Apache Server      h) Netscape Information Server i) Web Logic &lt;/span&gt;&lt;span style=&#39;font-size:      12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l3 level1 lfo4&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;How many ways can we track client and what are they?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- The servlet API      provides two ways to track client state and they are: a) Using Session      tracking and b) Using Cookies. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;      font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l3 level1 lfo4&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is session tracking and how do you track a user      session in servlets?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;- Session tracking is a mechanism that servlets use to      maintain state about a series requests from the same user across some      period of time. The methods used for session tracking are: a) User      Authentication - occurs when a web server restricts access to some of its      resources to only those clients that log in using a recognized username      and password. b) Hidden form fields - fields are added to an HTML form      that are not displayed in the client&amp;#8217;s browser. When the form      containing the fields is submitted, the fields are sent back to the      server. c) URL rewriting - every URL that the user clicks on is      dynamically modified or rewritten to include extra information. The extra      information can be in the form of extra path information, added parameters      or some custom, server-specific URL change. d) Cookies - a bit of      information that is sent by a web server to a browser and which can later      be read back from that browser. e) HttpSession- places a limit on the      number of sessions that can exist in memory. This limit is set in the      session. maxresidents property. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;      font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;ol start=88 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo5&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is Server-Side Includes (SSI)?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Server-Side      Includes allows embedding servlets within HTML pages using a special      servlet tag. In many servlets that support servlets, a page can be      processed by the server to include output from servlets at certain points      inside the HTML page. This is accomplished using a special internal      SSINCLUDE, which processes the servlet tags. SSINCLUDE servlet will be      invoked whenever a file with an. shtml extension is requested. So HTML      files that include server-side includes must be stored with an . shtml      extension. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo5&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What are cookies and how will you use them?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Cookies are a mechanism      that a servlet uses to have a client hold a small amount of      state-information associated with the user. a) Create a cookie with the      Cookie constructor: public Cookie(String name, String value) b) A servlet      can send a cookie to the client by passing a Cookie object to the      addCookie() method of HttpServletResponse: public void      HttpServletResponse. addCookie(Cookie cookie) c) A servlet retrieves      cookies by calling the getCookies() method of HttpServletRequest: public      Cookie[ ] HttpServletRequest. getCookie(). &lt;/span&gt;&lt;span style=&#39;font-size:      12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo5&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;Is it possible to communicate from an applet to servlet      and how many ways and how?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;      font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Yes, there are three ways to communicate      from an applet to servlet and they are: a) HTTP Communication(Text-based      and object-based) b) Socket Communication c) RMI Communication&lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='https://learnings.site4sites.co.in/feeds/5815589088507336960/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnings.site4sites.co.in/2011/04/java-j2ee-interview-questions-and_07.html#comment-form' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/5815589088507336960'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/5815589088507336960'/><link rel='alternate' type='text/html' href='https://learnings.site4sites.co.in/2011/04/java-j2ee-interview-questions-and_07.html' title='Java J2EE Interview Questions and Answers - Part 6'/><author><name>Mohan</name><uri>http://www.blogger.com/profile/04845674887431822308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhotcj3nbvUVot7IDvQRefWuLYxrkLC8LwGGO46JOuXcodDsFsyLSPfzQgSTj8ieRqfMMgM87RSm4_btDUJ0OfVcF4iAWihOECdCAaFaXu2_Nd63JEVch7eQx9d2N1l_94/s220/HD+Wallpaper+%281902%29.jpg'/></author><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2834836888490179598.post-3101769393003685340</id><published>2011-04-04T23:23:00.001+05:30</published><updated>2011-07-27T12:48:16.251+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java Interview QA Series"/><title type='text'>Java J2EE Interview Questions and Answers - Part 5</title><content type='html'>&lt;div class=Section1&gt;  &lt;ol start=61 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l0 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;Which containers use a Border layout as their default      layout?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;-      Window, Frame and Dialog classes use a BorderLayout as their layout. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l0 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;Which containers use a Flow layout as their default      layout?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;-      Panel and Applet classes use the FlowLayout as their default layout. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l0 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What are wrapper classes?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Wrapper classes are      classes that allow primitive types to be accessed as objects. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;ol start=64 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l3 level1 lfo2&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What are Vector, Hashtable, LinkedList and Enumeration?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Vector : The Vector      class provides the capability to implement a growable array of objects.      Hashtable : The Hashtable class implements a Hashtable data structure. A      Hashtable indexes and stores objects in a dictionary using hash codes as      the object&amp;#8217;s keys. Hash codes are integer values that identify      objects. LinkedList: Removing or inserting elements in the middle of an      array can be done using LinkedList. A LinkedList stores each object in a      separate link whereas an array stores object references in consecutive      locations. Enumeration: An object that implements the Enumeration      interface generates a series of elements, one at a time. It has two      methods, namely hasMoreElements() and nextElement(). HasMoreElemnts()      tests if this enumeration has more elements and nextElement method returns      successive elements of the series. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;      font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l3 level1 lfo2&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is the difference between set and list?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Set stores elements      in an unordered way but does not contain duplicate elements, whereas list      stores elements in an ordered way but may contain duplicate elements. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l3 level1 lfo2&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is a stream and what are the types of Streams and      classes of the Streams?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;      font-family:&quot;Comic Sans MS&quot;&#39;&gt;- A Stream is an abstraction that either      produces or consumes information. There are two types of Streams and they      are: Byte Streams: Provide a convenient means for handling input and      output of bytes. Character Streams: Provide a convenient means for      handling input &amp;amp; output of characters. Byte Streams classes: Are      defined by using two abstract classes, namely InputStream and      OutputStream. Character Streams classes: Are defined by using two abstract      classes, namely Reader and Writer. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;      font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;ol start=67 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l1 level1 lfo3&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is the difference between Reader/Writer and      InputStream/Output Stream?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;      font-family:&quot;Comic Sans MS&quot;&#39;&gt;- The Reader/Writer class is      character-oriented and the InputStream/OutputStream class is      byte-oriented. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l1 level1 lfo3&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is an I/O filter?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:      10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- An I/O filter is an object that      reads from one stream and writes to another, usually altering the data in      some way as it is passed from one stream to another. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l1 level1 lfo3&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is serialization and deserialization?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Serialization is      the process of writing the state of an object to a byte stream.      Deserialization is the process of restoring these objects. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;ol start=70 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l2 level1 lfo4&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is JDBC?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;      font-family:&quot;Comic Sans MS&quot;&#39;&gt;- JDBC is a set of Java API for executing SQL      statements. This API consists of a set of classes and interfaces to enable      programs to write pure Java Database applications. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l2 level1 lfo4&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What are drivers available?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- a) JDBC-ODBC Bridge      driver b) Native API Partly-Java driver c) JDBC-Net Pure Java driver d)      Native-Protocol Pure Java driver &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;      font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l2 level1 lfo4&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is the difference between JDBC and ODBC?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- a) OBDC is for      Microsoft and JDBC is for Java applications. b) ODBC can&amp;#8217;t be      directly used with Java because it uses a C interface. c) ODBC makes use      of pointers which have been removed totally from Java. d) ODBC mixes      simple and advanced features together and has complex options for simple      queries. But JDBC is designed to keep things simple while allowing      advanced capabilities when required. e) ODBC requires manual installation      of the ODBC driver manager and driver on all client machines. JDBC drivers      are written in Java and JDBC code is automatically installable, secure,      and portable on all platforms. f) JDBC API is a natural Java interface and      is built on ODBC. JDBC retains some of the basic features of ODBC. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;ol start=73 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo5&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What are the types of JDBC Driver Models and explain      them?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;-      There are two types of JDBC Driver Models and they are: a) Two tier model      and b) Three tier model Two tier model: In this model, Java applications      interact directly with the database. A JDBC driver is required to      communicate with the particular database management system that is being      accessed. SQL statements are sent to the database and the results are      given to user. This model is referred to as client/server configuration      where user is the client and the machine that has the database is called      as the server. Three tier model: A middle tier is introduced in this      model. The functions of this model are: a) Collection of SQL statements      from the client and handing it over to the database, b) Receiving results      from database to the client and c) Maintaining control over accessing and      updating of the above. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:      &quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo5&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What are the steps involved for making a connection with      a database or how do you connect to a database?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt; a) Loading the      driver : To load the driver, Class. forName() method is used. Class.      forName(&amp;#8221;sun. jdbc. odbc. JdbcOdbcDriver&amp;#8221;); When the driver is      loaded, it registers itself with the java. sql. DriverManager class as an      available database driver. b) Making a connection with database: To open a      connection to a given database, DriverManager. getConnection() method is      used. Connection con = DriverManager. getConnection      (&amp;#8221;jdbc:odbc:somedb&amp;#8221;, &amp;#8220;user&amp;#8221;,      &amp;#8220;password&amp;#8221;); c) Executing SQL statements : To execute a SQL      query, java. sql. statements class is used. createStatement() method of      Connection to obtain a new Statement object. Statement stmt = con.      createStatement(); A query that returns data can be executed using the      executeQuery() method of Statement. This method executes the statement and      returns a java. sql. ResultSet that encapsulates the retrieved data:      ResultSet rs = stmt. executeQuery(&amp;#8221;SELECT * FROM some table&amp;#8221;);      d) Process the results : ResultSet returns one row at a time. Next()      method of ResultSet object can be called to move to the next row. The      getString() and getObject() methods are used for retrieving column values:      while(rs. next()) { String event = rs. getString(&amp;#8221;event&amp;#8221;); Object      count = (Integer) rs. getObject(&amp;#8221;count&amp;#8221;); &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo5&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What type of driver did you use in project?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- JDBC- ODBC Bridge      driver (is a driver that uses native(C language) libraries and makes calls      to an existing ODBC driver to access a database engine).&lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='https://learnings.site4sites.co.in/feeds/3101769393003685340/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnings.site4sites.co.in/2011/04/java-j2ee-interview-questions-and_4647.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/3101769393003685340'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/3101769393003685340'/><link rel='alternate' type='text/html' href='https://learnings.site4sites.co.in/2011/04/java-j2ee-interview-questions-and_4647.html' title='Java J2EE Interview Questions and Answers - Part 5'/><author><name>Mohan</name><uri>http://www.blogger.com/profile/04845674887431822308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhotcj3nbvUVot7IDvQRefWuLYxrkLC8LwGGO46JOuXcodDsFsyLSPfzQgSTj8ieRqfMMgM87RSm4_btDUJ0OfVcF4iAWihOECdCAaFaXu2_Nd63JEVch7eQx9d2N1l_94/s220/HD+Wallpaper+%281902%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2834836888490179598.post-3767721189263494918</id><published>2011-04-04T23:21:00.001+05:30</published><updated>2011-07-27T12:48:16.252+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java Interview QA Series"/><title type='text'>Java J2EE Interview Questions and Answers - Part 4</title><content type='html'>&lt;div class=Section1&gt;  &lt;ol start=46 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l1 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is an applet?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;      font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Applet is a dynamic and interactive program      that runs inside a web page displayed by a java capable browser. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l1 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is the difference between applications and applets?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- a)Application must      be run on local machine whereas applet needs no explicit installation on      local machine. b)Application must be run explicitly within a      java-compatible virtual machine whereas applet loads and runs itself      automatically in a java-enabled browser. d)Application starts execution      with its main method whereas applet starts execution with its init method.      e)Application can run with or without graphical user interface whereas      applet must run within a graphical user interface. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l1 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;How does applet recognize the height and width?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Using      getParameters() method. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:      &quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;ol start=49 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo2&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;When do you use codebase in applet?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- When the applet      class file is not in the same directory, codebase is used. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo2&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is the lifecycle of an applet?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- init() method - Can      be called when an applet is first loaded start() method - Can be called      each time an applet is started. paint() method - Can be called when the      applet is minimized or maximized. stop() method - Can be used when the      browser moves off the applet&amp;#8217;s page. destroy() method - Can be called      when the browser is finished with the applet. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo2&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;How do you set security in applets?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- using      setSecurityManager() method &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;      font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;ol start=52 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l3 level1 lfo3&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is an event and what are the models available for      event handling?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;-      An event is an event object that describes a state of change in a source.      In other words, event occurs when an action is generated, like pressing      button, clicking mouse, selecting a list, etc. There are two types of      models for handling events and they are: a) event-inheritance model and b)      event-delegation model &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:      &quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l3 level1 lfo3&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What are the advantages of the model over the      event-inheritance model?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;      font-family:&quot;Comic Sans MS&quot;&#39;&gt;- The event-delegation model has two      advantages over the event-inheritance model. They are: a)It enables event      handling by objects other than the ones that generate the events. This      allows a clean separation between a component&amp;#8217;s design and its use.      b)It performs much better in applications where many events are generated.      This performance improvement is due to the fact that the event-delegation      model does not have to be repeatedly process unhandled events as is the      case of the event-inheritance. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;      font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l3 level1 lfo3&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is source and listener?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- source : A source      is an object that generates an event. This occurs when the internal state      of that object changes in some way. listener : A listener is an object      that is notified when an event occurs. It has two major requirements.      First, it must have been registered with one or more sources to receive      notifications about specific types of events. Second, it must implement      methods to receive and process these notifications. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;ol start=55 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l2 level1 lfo4&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is adapter class?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:      10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- An adapter class provides an empty      implementation of all methods in an event listener interface. Adapter      classes are useful when you want to receive and process only some of the      events that are handled by a particular event listener interface. You can      define a new class to act listener by extending one of the adapter classes      and implementing only those events in which you are interested. For      example, the MouseMotionAdapter class has two methods, mouseDragged()and mouseMoved().      The signatures of these empty are exactly as defined in the      MouseMotionListener interface. If you are interested in only mouse drag      events, then you could simply extend MouseMotionAdapter and implement      mouseDragged() . &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l2 level1 lfo4&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is meant by controls and what are different types of      controls in AWT?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;-      Controls are components that allow a user to interact with your      application and the AWT supports the following types of controls: Labels,      Push Buttons, Check Boxes, Choice Lists, Lists, Scrollbars, Text Components.      These controls are subclasses of Component. &lt;/span&gt;&lt;span style=&#39;font-size:      12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l2 level1 lfo4&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is the difference between choice and list?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- A Choice is      displayed in a compact form that requires you to pull it down to see the      list of available choices and only one item may be selected from a choice.      A List may be displayed in such a way that several list items are visible      and it supports the selection of one or more list items. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;ol start=58 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l0 level1 lfo5&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is the difference between scrollbar and scrollpane?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- A Scrollbar is a      Component, but not a Container whereas Scrollpane is a Container and      handles its own events and perform its own scrolling. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l0 level1 lfo5&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is a layout manager and what are different types of      layout managers available in java AWT?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:      10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- A layout manager is an object that      is used to organize components in a container. The different layouts are      available are FlowLayout, BorderLayout, CardLayout, GridLayout and      GridBagLayout. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l0 level1 lfo5&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;How are the elements of different layouts organized?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- FlowLayout: The      elements of a FlowLayout are organized in a top to bottom, left to right      fashion. BorderLayout: The elements of a BorderLayout are organized at the      borders (North, South, East and West) and the center of a container.      CardLayout: The elements of a CardLayout are stacked, on top of the other,      like a deck of cards. GridLayout: The elements of a GridLayout are of      equal size and are laid out using the square of a grid. GridBagLayout: The      elements of a GridBagLayout are organized according to a grid. However,      the elements are of different size and may occupy more than one row or column      of the grid. In addition, the rows and columns may have different sizes.&lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='https://learnings.site4sites.co.in/feeds/3767721189263494918/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnings.site4sites.co.in/2011/04/java-j2ee-interview-questions-and_04.html#comment-form' title='20 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/3767721189263494918'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/3767721189263494918'/><link rel='alternate' type='text/html' href='https://learnings.site4sites.co.in/2011/04/java-j2ee-interview-questions-and_04.html' title='Java J2EE Interview Questions and Answers - Part 4'/><author><name>Mohan</name><uri>http://www.blogger.com/profile/04845674887431822308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhotcj3nbvUVot7IDvQRefWuLYxrkLC8LwGGO46JOuXcodDsFsyLSPfzQgSTj8ieRqfMMgM87RSm4_btDUJ0OfVcF4iAWihOECdCAaFaXu2_Nd63JEVch7eQx9d2N1l_94/s220/HD+Wallpaper+%281902%29.jpg'/></author><thr:total>20</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2834836888490179598.post-8630839684517184293</id><published>2011-04-03T20:04:00.001+05:30</published><updated>2011-07-27T12:48:16.254+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java Interview QA Series"/><title type='text'>Java J2EE Interview Questions and Answers - Part 3</title><content type='html'>&lt;div class=Section1&gt;  &lt;ol start=31 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l2 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is a cloneable interface and how many methods does      it contain?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;-      It is not having any method because it is a TAGGED or MARKER interface. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l2 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is the difference between abstract class and      interface?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;-      a) All the methods declared inside an interface are abstract whereas      abstract class must have at least one abstract method and others may be      concrete or abstract. b) In abstract class, key word abstract must be used      for the methods whereas interface we need not use that keyword for the      methods. c) Abstract class must have subclasses whereas interface      can&amp;#8217;t have subclasses. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;      font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l2 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;Can you have an inner class inside a method and what      variables can you access?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;      font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Yes, we can have an inner class inside a      method and final variables can be accessed. &lt;/span&gt;&lt;span style=&#39;font-size:      12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;ol start=34 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l1 level1 lfo2&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is the difference between String and String Buffer?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- a) String objects      are constants and immutable whereas StringBuffer objects are not. b)      String class supports constant strings whereas StringBuffer class supports      growable and modifiable strings. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;      font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l1 level1 lfo2&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is the difference between Array and vector?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Array is a set of      related data type and static whereas vector is a growable array of objects      and dynamic. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l1 level1 lfo2&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is the difference between exception and error?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- The exception class      defines mild error conditions that your program encounters. Exceptions can      occur when trying to open the file, which does not exist, the network      connection is disrupted, operands being manipulated are out of prescribed      ranges, the class file you are interested in loading is missing. The error      class defines serious error conditions that you should not attempt to      recover from. In most cases it is advisable to let the program terminate      when such an error is encountered. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;      font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;ol start=37 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l3 level1 lfo3&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is the difference between process and thread?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Process is a program      in execution whereas thread is a separate path of execution in a program. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l3 level1 lfo3&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is multithreading and what are the methods for      inter-thread communication and what is the class in which these methods      are defined?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;-      Multithreading is the mechanism in which more than one thread run      independent of each other within the process. wait (), notify () and      notifyAll() methods can be used for inter-thread communication and these      methods are in Object class. wait() : When a thread executes a call to      wait() method, it surrenders the object lock and enters into a waiting      state. notify() or notifyAll() : To remove a thread from the waiting      state, some other thread must make a call to notify() or notifyAll()      method on the same object. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;      font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l3 level1 lfo3&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is the class and interface in java to create thread      and which is the most advantageous method?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Thread class and      Runnable interface can be used to create threads and using Runnable      interface is the most advantageous method to create threads because we      need not extend thread class here. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;      font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;ol start=40 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo4&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What are the states associated in the thread?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Thread contains      ready, running, waiting and dead states. &lt;/span&gt;&lt;span style=&#39;font-size:      12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo4&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is synchronization?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Synchronization is      the mechanism that ensures that only one thread is accessed the resources      at a time. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo4&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;When you will synchronize a piece of your code?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- When you expect      your code will be accessed by different threads and these threads may      change a particular data causing data corruption. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;ol start=43 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l0 level1 lfo5&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is deadlock?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;      font-family:&quot;Comic Sans MS&quot;&#39;&gt;- When two threads are waiting each other and      can&amp;#8217;t precede the program is said to be deadlock. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l0 level1 lfo5&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is daemon thread and which method is used to create      the daemon thread?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;- Daemon thread is a low priority thread which runs      intermittently in the back ground doing the garbage collection operation      for the java runtime system. setDaemon method is used to create a daemon      thread. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l0 level1 lfo5&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;Are there any global variables in Java, which can be      accessed by other part of your program?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:      10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- No, it is not the main method in      which you define variables. Global variables is not possible because concept      of encapsulation is eliminated here.&lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;      font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='https://learnings.site4sites.co.in/feeds/8630839684517184293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnings.site4sites.co.in/2011/04/java-j2ee-interview-questions-and_5059.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/8630839684517184293'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/8630839684517184293'/><link rel='alternate' type='text/html' href='https://learnings.site4sites.co.in/2011/04/java-j2ee-interview-questions-and_5059.html' title='Java J2EE Interview Questions and Answers - Part 3'/><author><name>Mohan</name><uri>http://www.blogger.com/profile/04845674887431822308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhotcj3nbvUVot7IDvQRefWuLYxrkLC8LwGGO46JOuXcodDsFsyLSPfzQgSTj8ieRqfMMgM87RSm4_btDUJ0OfVcF4iAWihOECdCAaFaXu2_Nd63JEVch7eQx9d2N1l_94/s220/HD+Wallpaper+%281902%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2834836888490179598.post-2455727525946588365</id><published>2011-04-03T19:45:00.001+05:30</published><updated>2011-07-27T12:48:16.255+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java Interview QA Series"/><title type='text'>Java J2EE Interview Questions and Answers - Part 2</title><content type='html'>&lt;div class=Section1&gt;  &lt;ol start=16 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l0 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is Garbage Collection and how to call it explicitly?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- When an object is      no longer referred to by any variable, java automatically reclaims memory      used by that object. This is known as garbage collection. System. gc()      method may be used to call it explicitly. &lt;/span&gt;&lt;span style=&#39;font-size:      12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l0 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is finalize() method?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- finalize () method      is used just before an object is destroyed and can be called just prior to      garbage collection. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l0 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What are Transient and Volatile Modifiers?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Transient: The      transient modifier applies to variables only and it is not stored as part      of its object&amp;#8217;s Persistent state. Transient variables are not      serialized. Volatile: Volatile modifier applies to variables only and it      tells the compiler that the variable modified by volatile can be changed      unexpectedly by other parts of the program. &lt;/span&gt;&lt;span style=&#39;font-size:      12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;ol start=19 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo2&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is method overloading and method overriding?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Method overloading:      When a method in a class having the same method name with different      arguments is said to be method overloading. Method overriding : When a      method in a class having the same method name with same arguments is said      to be method overriding. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:      &quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo2&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is difference between overloading and overriding?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- a) In overloading,      there is a relationship between methods available in the same class      whereas in overriding, there is relationship between a superclass method      and subclass method. b) Overloading does not block inheritance from the      superclass whereas overriding blocks inheritance from the superclass. c)      In overloading, separate methods share the same name whereas in      overriding, subclass method replaces the superclass. d) Overloading must      have different method signatures whereas overriding must have same      signature. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo2&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is meant by Inheritance and what are its advantages?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Inheritance is the      process of inheriting all the features from a class. The advantages of      inheritance are reusability of code and accessibility of variables and      methods of the super class by subclasses. &lt;/span&gt;&lt;span style=&#39;font-size:      12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;ol start=22 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l2 level1 lfo3&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is the difference between this() and super()?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- this() can be used      to invoke a constructor of the same class whereas super() can be used to      invoke a super class constructor. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;      font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l2 level1 lfo3&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is the difference between superclass and subclass?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- A super class is a      class that is inherited whereas sub class is a class that does the      inheriting. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l2 level1 lfo3&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What modifiers may be used with top-level class?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- public, abstract      and final can be used for top-level class. &lt;/span&gt;&lt;span style=&#39;font-size:      12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;ol start=25 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l1 level1 lfo4&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What are inner class and anonymous class?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Inner class :      classes defined in other classes, including those defined in methods are      called inner classes. An inner class can have any accessibility including      private. Anonymous class : Anonymous class is a class defined inside a      method without a name and is instantiated and declared in the same place      and cannot have explicit constructors. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;      font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l1 level1 lfo4&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is a package?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;      font-family:&quot;Comic Sans MS&quot;&#39;&gt;- A package is a collection of classes and      interfaces that provides a high-level layer of access protection and name      space management. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l1 level1 lfo4&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is a reflection package?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- java. lang. reflect      package has the ability to analyze itself in runtime. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;ol start=28 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l3 level1 lfo5&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is interface and its use?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Interface is similar      to a class which may contain method&amp;#8217;s signature only but not bodies      and it is a formal set of method and constant declarations that must be      defined by the class that implements it. Interfaces are useful for:      a)Declaring methods that one or more classes are expected to implement      b)Capturing similarities between unrelated classes without forcing a class      relationship. c)Determining an object&amp;#8217;s programming interface      without revealing the actual body of the class. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l3 level1 lfo5&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is an abstract class?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- An abstract class      is a class designed with implementation gaps for subclasses to fill in and      is deliberately incomplete. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;      font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l3 level1 lfo5&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is the difference between Integer and int?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- a) Integer is a      class defined in the java. lang package, whereas int is a primitive data      type defined in the Java language itself. Java does not automatically      convert from one to the other. b) Integer can be used as an argument for a      method that requires an object, whereas int can be used for calculations.&lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='https://learnings.site4sites.co.in/feeds/2455727525946588365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnings.site4sites.co.in/2011/04/java-j2ee-interview-questions-and_03.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/2455727525946588365'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/2455727525946588365'/><link rel='alternate' type='text/html' href='https://learnings.site4sites.co.in/2011/04/java-j2ee-interview-questions-and_03.html' title='Java J2EE Interview Questions and Answers - Part 2'/><author><name>Mohan</name><uri>http://www.blogger.com/profile/04845674887431822308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhotcj3nbvUVot7IDvQRefWuLYxrkLC8LwGGO46JOuXcodDsFsyLSPfzQgSTj8ieRqfMMgM87RSm4_btDUJ0OfVcF4iAWihOECdCAaFaXu2_Nd63JEVch7eQx9d2N1l_94/s220/HD+Wallpaper+%281902%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2834836888490179598.post-2319143873023388073</id><published>2011-04-03T19:24:00.000+05:30</published><updated>2011-07-27T12:48:16.256+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java Interview QA Series"/><title type='text'>Java J2EE Interview Questions and Answers - Part 1</title><content type='html'>&lt;div class=Section1&gt;  &lt;ol start=1 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is the difference between procedural and      object-oriented programs?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;      font-family:&quot;Comic Sans MS&quot;&#39;&gt;- a) In procedural program, programming logic      follows certain procedures and the instructions are executed one after      another. In OOP program, unit of program is object, which is nothing but      combination of data and code. b) In procedural program, data is exposed to      the whole program whereas in OOPs program, it is accessible within the      object and which in turn assures the security of the code. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What are Encapsulation, Inheritance and Polymorphism?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Encapsulation is      the mechanism that binds together code and data it manipulates and keeps      both safe from outside interference and misuse. Inheritance is the process      by which one object acquires the properties of another object.      Polymorphism is the feature that allows one interface to be used for      general class actions. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:      &quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is the difference between Assignment and      Initialization?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;-      Assignment can be done as many times as desired whereas initialization can      be done only once. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is OOPs?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;      font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Object oriented programming organizes a      program around its data, i. e. , objects and a set of well defined      interfaces to that data. An object-oriented program can be characterized      as data controlling access to code. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;      font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What are Class, Constructor and Primitive data types?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Class is a template      for multiple objects with similar features and it is a blue print for      objects. It defines a type of object according to the data the object can      hold and the operations the object can perform. Constructor is a special      kind of method that determines how an object is initialized when created.      Primitive data types are 8 types and they are: byte, short, int, long,      float, double, boolean, char. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;      font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is an Object and how do you allocate memory to it?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Object is an      instance of a class and it is a software unit that combines a structured      set of data with a set of operations for inspecting and manipulating that      data. When an object is created using new operator, memory is allocated to      it. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is the difference between constructor and method?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Constructor will be      automatically invoked when an object is created whereas method has to be      called explicitly. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What are methods and how are they defined?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Methods are      functions that operate on instances of classes in which they are defined.      Objects can communicate with each other using methods and can call methods      in other classes. Method definition has four parts. They are name of the      method, type of object or primitive type the method returns, a list of      parameters and the body of the method. A method&amp;#8217;s signature is a      combination of the first three parts mentioned above. &lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is the use of bin and lib in JDK?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Bin contains all      tools such as javac, appletviewer, awt tool, etc., whereas lib contains      API and all packages. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:      &quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is casting?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;      font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Casting is used to convert the value of one      type to another. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;How many ways can an argument be passed to a subroutine      and explain them?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;- An argument can be passed in two ways. They are passing      by value and passing by reference. Passing by value: This method copies      the value of an argument into the formal parameter of the subroutine.      Passing by reference: In this method, a reference to an argument (not the      value of the argument) is passed to the parameter.&lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is the difference between an argument and a      parameter?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;-      While defining method, variables passed in the method are called      parameters. While using those methods, values passed to those variables      are called arguments. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:      &quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What are different types of access modifiers?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- public: Anything      declared as public can be accessed from anywhere. private: Anything      declared as private can&amp;#8217;t be seen outside of its class. protected: Anything      declared as protected can be accessed by classes in the same package and      subclasses in the other packages. default modifier : Can be accessed only      to classes in the same package. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;      font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is final, finalize() and finally?&lt;/span&gt;&lt;/b&gt;&lt;span      style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;- final : final      keyword can be used for class, method and variables. A final class cannot      be sub classed and it prevents other programmers from sub classing a      secure class to invoke insecure methods. A final method can&amp;#8217;t be      overridden. A final variable can&amp;#8217;t change from its initialized      value. finalize() : finalize() method is used just before an object is      destroyed and can be called just prior to garbage collection. finally :      finally, a key word used in exception handling, creates a block of code      that will be executed after a try/catch block has completed and before the      code following the try/catch block. The finally block will execute whether      or not an exception is thrown. For example, if a method opens a file upon      exit, then you will not want the code that closes the file to be bypassed      by the exception-handling mechanism. This finally keyword is designed to      address this contingency. &lt;/span&gt;&lt;span style=&#39;font-size:12.0pt;font-family:      &quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l4 level1 lfo1&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:      &quot;Comic Sans MS&quot;&#39;&gt;What is UNICODE?&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;      font-family:&quot;Comic Sans MS&quot;&#39;&gt;- Unicode is used for internal representation      of characters and strings and it uses 16 bits to represent each other.&lt;/span&gt;&lt;span      style=&#39;font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='https://learnings.site4sites.co.in/feeds/2319143873023388073/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnings.site4sites.co.in/2011/04/java-j2ee-interview-questions-and.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/2319143873023388073'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/2319143873023388073'/><link rel='alternate' type='text/html' href='https://learnings.site4sites.co.in/2011/04/java-j2ee-interview-questions-and.html' title='Java J2EE Interview Questions and Answers - Part 1'/><author><name>Mohan</name><uri>http://www.blogger.com/profile/04845674887431822308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhotcj3nbvUVot7IDvQRefWuLYxrkLC8LwGGO46JOuXcodDsFsyLSPfzQgSTj8ieRqfMMgM87RSm4_btDUJ0OfVcF4iAWihOECdCAaFaXu2_Nd63JEVch7eQx9d2N1l_94/s220/HD+Wallpaper+%281902%29.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2834836888490179598.post-487913893244813391</id><published>2010-09-19T16:17:00.001+05:30</published><updated>2011-07-27T12:50:17.010+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="mohan"/><title type='text'>Auto alignment of Multiple Divs (Assigning Multiple Divs using CSS)</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:teal&#39;&gt;A very frequently asked question is how to align Multiple DIV&amp;#8217;s using CSS.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:teal&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:teal&#39;&gt;Here&amp;#8217;s how to align multiple DIV&amp;#8217;s. For simplicity sake, I will be aligning 10 divs in JSP.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:teal;background:white;mso-highlight:white&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:teal;background:white;mso-highlight:white&#39;&gt;&amp;lt;!&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#3F7F7F;background: white;mso-highlight:white&#39;&gt;DOCTYPE &lt;/span&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:navy;background:white;mso-highlight:white&#39;&gt;html &lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:gray; background:white;mso-highlight:white&#39;&gt;PUBLIC &lt;/span&gt;&lt;span style=&#39;font-size: 10.0pt;font-family:&quot;Courier New&quot;;color:navy;background:white;mso-highlight: white&#39;&gt;&amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:#3F7F5F;background:white;mso-highlight:white&#39;&gt;&amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:teal;background:white; mso-highlight:white&#39;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:teal;background:white;mso-highlight:white&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#3F7F7F;background: white;mso-highlight:white&#39;&gt;html &lt;/span&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:#7F007F;background:white;mso-highlight:white&#39;&gt;xmlns&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:white; mso-highlight:white&#39;&gt;=&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;; color:#2A00FF;background:white;mso-highlight:white&#39;&gt;&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:teal;background:white; mso-highlight:white&#39;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:teal;background:white;mso-highlight:white&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#3F7F7F;background: white;mso-highlight:white&#39;&gt;head&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family: &quot;Courier New&quot;;color:teal;background:white;mso-highlight:white&#39;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:black;background:white;mso-highlight:white&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:teal; background:white;mso-highlight:white&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:#3F7F7F;background:white;mso-highlight:white&#39;&gt;title&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:teal;background:white; mso-highlight:white&#39;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;; color:black;background:white;mso-highlight:white&#39;&gt;Aligning Multiple DIV&#39;s using CSS&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:teal; background:white;mso-highlight:white&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:#3F7F7F;background:white;mso-highlight:white&#39;&gt;title&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:teal;background:white; mso-highlight:white&#39;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:black;background:white;mso-highlight:white&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:teal; background:white;mso-highlight:white&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:#3F7F7F;background:white;mso-highlight:white&#39;&gt;style &lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#7F007F; background:white;mso-highlight:white&#39;&gt;type&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:black;background:white;mso-highlight:white&#39;&gt;=&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#2A00FF;background: white;mso-highlight:white&#39;&gt;&amp;quot;text/css&amp;quot;&lt;/span&gt;&lt;span style=&#39;font-size: 10.0pt;font-family:&quot;Courier New&quot;;color:teal;background:white;mso-highlight: white&#39;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;background:white;mso-highlight:white&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:#3F7F7F&#39;&gt;.divOuter&lt;/span&gt;&lt;span style=&#39;color:black&#39;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;background:white;mso-highlight:white&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:#7F007F&#39;&gt;display&lt;/span&gt;&lt;span style=&#39;color:black&#39;&gt;:&lt;/span&gt;&lt;span style=&#39;color:#2A00E1&#39;&gt;inline&lt;/span&gt;&lt;span style=&#39;color:black&#39;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;background:white;mso-highlight:white&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:#7F007F&#39;&gt;text-align&lt;/span&gt;&lt;span style=&#39;color:black&#39;&gt;:&lt;/span&gt;&lt;span style=&#39;color:#2A00E1&#39;&gt;center&lt;/span&gt;&lt;span style=&#39;color:black&#39;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;background:white;mso-highlight:white&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:black&#39;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;background:white;mso-highlight:white&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:#3F7F7F&#39;&gt;.divInner1&lt;/span&gt;&lt;span style=&#39;color:black&#39;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;background:white;mso-highlight:white&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:#7F007F&#39;&gt;border&lt;/span&gt;&lt;span style=&#39;color:black&#39;&gt;: &lt;/span&gt;&lt;span style=&#39;color:#2A00E1&#39;&gt;1px solid&lt;/span&gt;&lt;span style=&#39;color:black&#39;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;background:white;mso-highlight:white&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:#7F007F&#39;&gt;float&lt;/span&gt;&lt;span style=&#39;color:black&#39;&gt;:&lt;/span&gt;&lt;span style=&#39;color:#2A00E1&#39;&gt;left&lt;/span&gt;&lt;span style=&#39;color:black&#39;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;background:white;mso-highlight:white&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:#7F007F&#39;&gt;width&lt;/span&gt;&lt;span style=&#39;color:black&#39;&gt;:&lt;/span&gt;&lt;span style=&#39;color:#2A00E1&#39;&gt;400px&lt;/span&gt;&lt;span style=&#39;color:black&#39;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;background:white;mso-highlight:white&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:#7F007F&#39;&gt;height&lt;/span&gt;&lt;span style=&#39;color:black&#39;&gt;:&lt;/span&gt;&lt;span style=&#39;color:#2A00E1&#39;&gt;150px&lt;/span&gt;&lt;span style=&#39;color:black&#39;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;background:white;mso-highlight:white&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:#7F007F&#39;&gt;margin-left&lt;/span&gt;&lt;span style=&#39;color:black&#39;&gt;:&lt;/span&gt;&lt;span style=&#39;color:#2A00E1&#39;&gt;20px&lt;/span&gt;&lt;span style=&#39;color:black&#39;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;background:white;mso-highlight:white&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:#7F007F&#39;&gt;margin-right&lt;/span&gt;&lt;span style=&#39;color:black&#39;&gt;:&lt;/span&gt;&lt;span style=&#39;color:#2A00E1&#39;&gt;3px&lt;/span&gt;&lt;span style=&#39;color:black&#39;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;background:white;mso-highlight:white&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:black&#39;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;background:white;mso-highlight:white&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&#39;color:teal&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;color:#3F7F7F&#39;&gt;style&lt;/span&gt;&lt;span style=&#39;color:teal&#39;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family: &quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:teal;background:white;mso-highlight:white&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#3F7F7F;background: white;mso-highlight:white&#39;&gt;head&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family: &quot;Courier New&quot;;color:teal;background:white;mso-highlight:white&#39;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:teal;background:white;mso-highlight:white&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#3F7F7F;background: white;mso-highlight:white&#39;&gt;body&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family: &quot;Courier New&quot;;color:teal;background:white;mso-highlight:white&#39;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:teal;background:white;mso-highlight:white&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#3F7F7F;background: white;mso-highlight:white&#39;&gt;div &lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family: &quot;Courier New&quot;;color:#7F007F;background:white;mso-highlight:white&#39;&gt;class&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:white; mso-highlight:white&#39;&gt;=&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;; color:#2A00FF;background:white;mso-highlight:white&#39;&gt;&#39;divOuter&#39;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:teal;background:white; mso-highlight:white&#39;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:#BF5F3F;background:white;mso-highlight:white&#39;&gt;&amp;lt;%&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:#7F0055;background:white;mso-highlight:white&#39;&gt;for &lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black; background:white;mso-highlight:white&#39;&gt;(&lt;/span&gt;&lt;b&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:#7F0055;background:white;mso-highlight:white&#39;&gt;int &lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black; background:white;mso-highlight:white&#39;&gt;i=0;i&amp;lt;10;i++){&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;background:white;mso-highlight:white&#39;&gt;&amp;nbsp;&lt;span style=&#39;color:#BF5F3F&#39;&gt;%&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:black;background:white;mso-highlight:white&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:teal; background:white;mso-highlight:white&#39;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:#3F7F7F;background:white;mso-highlight:white&#39;&gt;div &lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#7F007F; background:white;mso-highlight:white&#39;&gt;class&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:black;background:white;mso-highlight:white&#39;&gt;=&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#2A00FF;background: white;mso-highlight:white&#39;&gt;&#39;divInner1&#39;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:teal;background:white;mso-highlight:white&#39;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:white; mso-highlight:white&#39;&gt;First DIV&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family: &quot;Courier New&quot;;color:#BF5F3F;background:white;mso-highlight:white&#39;&gt;&amp;lt;%=&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black;background:white; mso-highlight:white&#39;&gt;i&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;; color:#BF5F3F;background:white;mso-highlight:white&#39;&gt;%&amp;gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:teal;background:white; mso-highlight:white&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family: &quot;Courier New&quot;;color:#3F7F7F;background:white;mso-highlight:white&#39;&gt;div&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:teal;background:white; mso-highlight:white&#39;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:#BF5F3F;background:white;mso-highlight:white&#39;&gt;&amp;lt;%&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:black;background:white;mso-highlight:white&#39;&gt;} &lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#BF5F3F;background: white;mso-highlight:white&#39;&gt;%&amp;gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:teal;background:white;mso-highlight:white&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#3F7F7F;background: white;mso-highlight:white&#39;&gt;div&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family: &quot;Courier New&quot;;color:teal;background:white;mso-highlight:white&#39;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;text-autospace:none&#39;&gt;&lt;span style=&#39;font-size:10.0pt; font-family:&quot;Courier New&quot;;color:teal;background:white;mso-highlight:white&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#3F7F7F;background: white;mso-highlight:white&#39;&gt;body&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family: &quot;Courier New&quot;;color:teal;background:white;mso-highlight:white&#39;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;; color:teal;background:white;mso-highlight:white&#39;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#3F7F7F;background: white;mso-highlight:white&#39;&gt;html&lt;/span&gt;&lt;span style=&#39;font-size:10.0pt;font-family: &quot;Courier New&quot;;color:teal;background:white;mso-highlight:white&#39;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='https://learnings.site4sites.co.in/feeds/487913893244813391/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnings.site4sites.co.in/2010/09/auto-alignment-of-multiple-divs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/487913893244813391'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/487913893244813391'/><link rel='alternate' type='text/html' href='https://learnings.site4sites.co.in/2010/09/auto-alignment-of-multiple-divs.html' title='Auto alignment of Multiple Divs (Assigning Multiple Divs using CSS)'/><author><name>Mohan</name><uri>http://www.blogger.com/profile/04845674887431822308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhotcj3nbvUVot7IDvQRefWuLYxrkLC8LwGGO46JOuXcodDsFsyLSPfzQgSTj8ieRqfMMgM87RSm4_btDUJ0OfVcF4iAWihOECdCAaFaXu2_Nd63JEVch7eQx9d2N1l_94/s220/HD+Wallpaper+%281902%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2834836888490179598.post-3319535004457809924</id><published>2010-09-06T20:57:00.002+05:30</published><updated>2010-09-06T21:12:00.858+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Siva"/><title type='text'>I will be the great Contributor</title><content type='html'>&lt;div class=&quot;Section1&quot;&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family:Arial;font-size:85%;&quot;&gt;&lt;span style=&quot;;font-family:Arial;font-size:10pt;&quot;  &gt;Thanks for inviting me to this blog.for sharing  my thoughts and getting the knowledge from others..&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family:Arial;font-size:85%;&quot;&gt;&lt;span style=&quot;;font-family:Arial;font-size:10pt;&quot;  &gt;I am happy to join in this blog.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://learnings.site4sites.co.in/feeds/3319535004457809924/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnings.site4sites.co.in/2010/09/hi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/3319535004457809924'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/3319535004457809924'/><link rel='alternate' type='text/html' href='https://learnings.site4sites.co.in/2010/09/hi.html' title='I will be the great Contributor'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2834836888490179598.post-1741524238435043132</id><published>2010-05-17T16:20:00.001+05:30</published><updated>2011-07-27T12:49:20.289+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Free Softwares"/><title type='text'>Freewares/ Free Softwares 13 May 2010</title><content type='html'>&lt;div class=Section1&gt;  &lt;div id=ygrp-mlmsg&gt;  &lt;div style=&#39;z-index:1&#39; id=ygrp-msg&gt;  &lt;div id=ygrp-text&gt;  &lt;p style=&#39;margin-bottom:12.0pt&#39;&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;STOPzilla!&lt;br&gt; &lt;br&gt; STOPzilla! is anti-spyware Solution. It can detect, block, and quarantine Spyware and Adware in real time.Its features include: On-demand &amp;amp; automatic Spyware scanning; Updates automatically for optimal protection; Pop-up protection - intercepts and destroys all forms of Pop-ups while letting user-requested to Popup; Kills Browser Hijackers, removes rootkits, prevents botnet attacks; Blocks Phishing Attacks, protects from malicious Web sites; Clears Cookies &amp;amp; History. &lt;br&gt; &lt;br&gt; STOPzilla! for Windows 7, VistaTM 32/64bit, 98, Me, 2000 and XP can be downloaded at &lt;a href=&quot;http://www.stopzilla.com/download/STOPzilla_Setup.exe&quot;&gt;http://www.stopzilla.com/download/STOPzilla_Setup.exe&lt;/a&gt;&lt;font color=navy&gt;&lt;span style=&#39;color:navy&#39;&gt; &lt;/span&gt;&lt;/font&gt;&lt;br&gt; &lt;br&gt; The developers aver that STOPzilla! would protect a PC from the moment it is switched on, and claim that the utility has been downloaded millions of times.&lt;br&gt; &lt;br&gt; Lunascape&lt;br&gt; &lt;br&gt; Lunascape is a triple engine browser, for web designers and developers. With it you can choose the right engine to overcome web-browser compatibility issues, long loading times, and messed up websites display. You need only 2 clicks to change your engine! Features include a &amp;quot;split tab display&amp;quot; to view a Web page in three rendering engines side-by-side to easily check the browser compatibility. Customizable - more than 100 features can be customised; Choice of display on toolbars, the look of of your browser can be changed in a snap - about 200 skin designs to choose from and create your own too. &lt;br&gt; &lt;br&gt; The 8.35 MB Lunascape v6.1.2.21284 (22 Apr 2010) for Win XP/2003/Vista/Windows7 can be downloaded at &lt;a href=&quot;http://www.lunascape.tv/&quot;&gt;http://www.lunascape.tv/&lt;/a&gt;&lt;font color=navy&gt;&lt;span style=&#39;color:navy&#39;&gt; &lt;/span&gt;&lt;/font&gt;&lt;br&gt; &lt;br&gt; It has been downloaded over 15 million times, available globally in 11 languages.&lt;br&gt; &lt;br&gt; File Finder&lt;br&gt; &lt;br&gt; Locate32 is a file finder which works by indexing all your files on your hard disk drive and provides almost instant access to them. It can be used to find files from your hard drives and other locations. Locate32 uses databases to store information about directory structures and uses these databases in its searches. The use of these databases provides very fast searching speed. The software includes a dialog based application as well as console programs which can be used to both update and access databases. Supported operation systems are Windows 98/ME/NT4/2000/XP/&lt;st1:place w:st=&quot;on&quot;&gt;Vista&lt;/st1:place&gt;. &lt;br&gt; &lt;br&gt; You can download Locate32 for your OS at &lt;a href=&quot;http://locate32.net/content/view/18/31/&quot;&gt;http://locate32.net/content/view/18/31/&lt;/a&gt;&lt;font color=navy&gt;&lt;span style=&#39;color:navy&#39;&gt; &lt;/span&gt;&lt;/font&gt;&lt;br&gt; &lt;br&gt; The developer invites enthusiastic persons who are willing to help with this project. You can get in touch with him at &lt;a href=&quot;http://locate32.net/component/option,com_contact/task,view/contact_id,2/Itemid,29/&quot;&gt;http://locate32.net/component/option,com_contact/task,view/contact_id,2/Itemid,29/&lt;/a&gt;&lt;br&gt; &lt;br&gt; -----------------------------------------------------&lt;br&gt; &lt;br&gt; Please suggest a utility to list and back up the drivers in my PC.&lt;br&gt; &lt;br&gt; You could try Double Driver v4.0 which can be downloaded at &lt;br&gt; &lt;a href=&quot;http://www.boozet.org/dd.htm&quot;&gt;http://www.boozet.org/dd.htm&lt;/a&gt;&lt;font color=navy&gt;&lt;span style=&#39;color:navy&#39;&gt; &lt;/span&gt;&lt;/font&gt;&amp;nbsp;It lets you view all the installed &lt;br&gt; drivers, back up, restore, save, and print the select ones.&lt;br&gt; &lt;br&gt; ---------------------------------------------------------&lt;br&gt; &lt;br&gt; QUOTE TO MULL OVER&lt;br&gt; &lt;br&gt; You can do anything in this world if you are prepared to take the consequences.&lt;br&gt; &lt;br&gt; &lt;st1:place w:st=&quot;on&quot;&gt;W. Somerset&lt;/st1:place&gt; Maugham&lt;br&gt; (1874-1965, British novelist, playwright)&lt;br&gt; &lt;br&gt; &lt;br&gt; &lt;font color=white&gt;&lt;span style=&#39;color:white&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;/div&gt;  &lt;/div&gt;  &lt;/div&gt;  &lt;!--~-|**|PrettyHtmlEnd|**|-~--&gt; </content><link rel='replies' type='application/atom+xml' href='https://learnings.site4sites.co.in/feeds/1741524238435043132/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnings.site4sites.co.in/2010/05/freewares-free-softwares-13-may-2010.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/1741524238435043132'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/1741524238435043132'/><link rel='alternate' type='text/html' href='https://learnings.site4sites.co.in/2010/05/freewares-free-softwares-13-may-2010.html' title='Freewares/ Free Softwares 13 May 2010'/><author><name>Mohan</name><uri>http://www.blogger.com/profile/04845674887431822308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhotcj3nbvUVot7IDvQRefWuLYxrkLC8LwGGO46JOuXcodDsFsyLSPfzQgSTj8ieRqfMMgM87RSm4_btDUJ0OfVcF4iAWihOECdCAaFaXu2_Nd63JEVch7eQx9d2N1l_94/s220/HD+Wallpaper+%281902%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2834836888490179598.post-373281848434153046</id><published>2010-04-15T08:39:00.001+05:30</published><updated>2011-07-27T12:49:20.290+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Free Softwares"/><title type='text'>Freeware / Free Software 08 Apr 2010</title><content type='html'>&lt;div class=Section1&gt;  &lt;div id=ygrp-mlmsg&gt;  &lt;div style=&#39;z-index:1&#39; id=ygrp-msg&gt;  &lt;div id=ygrp-text&gt;  &lt;p style=&#39;margin-bottom:12.0pt&#39;&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;FlipAlbum&lt;br&gt; &lt;br&gt; FlipAlbum Standard with a with a natural and intuitive interface is a digital photo album utility to organize your digital images, better. Easy to use, yet highly customizable, FlipAlbum can automatically create realistic, book-like albums. The features include - Auto Flip function; Auto Slide Show - present the contents of your book as a slide show with auto-play. The slide show options include variable time interval between slides, transition effects, number of rows and columns of photos, etc; Realistic 3D Page-Flipping provides a pleasant viewing experience, Multi-page rapid flipping for album browsing; Preview; Supported Multimedia Formats include: Image: BMP, GIF, JPG, PCX, WMF, ICO, PNG, PCD, PSD and TIF; Video: AVI, MPEG1, WMV; and Audio: MIDI, WAV, MP3 and WMA. &lt;br&gt; &lt;br&gt; FlipAlbum Standard v7.0.4 for Windows 2000, XP, and &lt;st1:place w:st=&quot;on&quot;&gt;Vista&lt;/st1:place&gt; can be downloaded at &lt;a href=&quot;http://www.flipalbum.com/fahome/product/fastd/download/&quot;&gt;http://www.flipalbu&lt;wbr&gt;m.com/fahome/&lt;wbr&gt;product/fastd/&lt;wbr&gt;download/&lt;/a&gt;&lt;br&gt; &lt;br&gt; Please note the standard version (freeware) of FlipAlbum may not include all the features. &lt;br&gt; &lt;br&gt; Essential PIM&lt;br&gt; &lt;br&gt; Essential PIM, a Personal Information Manager, lets you keep all your information in the electronic format. The fully Netbook compatible Essential PIM can store your appointments, tasks, to do lists, notes, contacts and email messages in a graphical and easily accessible form. The freeware edition of Essential PIM offers quite a lot of features to make it an interesting and effective choice for many. Among them are an easy to use scheduler, contact and to-do lists, &amp;quot;EPIM Today&amp;quot; option, overview in a single window of a user customizable schedule timeline - all readily accessible from the navigation pane; Versatile import/export capabilities; Scheduler: Color-coded, easy to read day/week/month schedules; To Do List: Categories, priority, completion status, due date, and reminder fields; Tree-like multilevel structure, unlimited number of folders and notes; Contact Manager&lt;br&gt; Wide selection of fields - adding a new data field to a contact is easy and quick; Fast search and sorting; &lt;br&gt; &lt;br&gt; EssentialPIM v3.23 can be downloaded at &lt;a href=&quot;http://www.essentialpim.com/download/essentialpimpro2.exe&quot;&gt;http://www.essentia&lt;wbr&gt;lpim.com/&lt;wbr&gt;download/&lt;wbr&gt;essentialpimpro2&lt;wbr&gt;.exe&lt;/a&gt;&lt;br&gt; &lt;br&gt; A portable edition can be downloaded at &lt;a href=&quot;http://www.essentialpim.com/download/essentialpimproport2.exe&quot;&gt;http://www.essentia&lt;wbr&gt;lpim.com/&lt;wbr&gt;download/&lt;wbr&gt;essentialpimprop&lt;wbr&gt;ort2.exe&lt;/a&gt;&lt;br&gt; &lt;br&gt; XMind&lt;br&gt; &lt;br&gt; XMind is a brainstorming and mind mapping software to share your ideas with others. It&#39;s easy-to-use, just double-click to create and edit topics anywhere on the map. The Drag-and-drop feature helps to reorganize topics, move markers, take a mapshot, and add attachments. You can even search on topic with Google and drag images into your map without leaving the working window. Its intuitive design and powerful features lets you focus on your work and share it easily with others by exporting it through popular formats such as PDF, Word and PowerPoint. The other features include Fishbone Diagram, Spreadsheet, Markers, Inline Notes, Hyperlink / Attachments, Topic As A Map (Drill Down), Spell Checker, Legend and Filtering, and Export to Html/ PNG / GIF/JPEG/BMP.&lt;br&gt; &lt;br&gt; XMind v3.1.1 can be downloaded at &lt;a href=&quot;http://www.xmind.net/downloads/&quot;&gt;http://www.xmind.&lt;wbr&gt;net/downloads/&lt;/a&gt; by choosing the appropriate link &lt;br&gt; for your specific operating system.&lt;br&gt; &lt;br&gt; ============&lt;wbr&gt;=========&lt;wbr&gt;=========&lt;wbr&gt;=========&lt;wbr&gt;=========&lt;wbr&gt;=========&lt;wbr&gt;===&lt;br&gt; &lt;br&gt; Please suggest a freeware to convert the video files to 3gp. &lt;br&gt; &lt;br&gt; You could try Format Factory which can be downloaded at &lt;a href=&quot;http://www.formatoz.com/&quot;&gt;http://www.formatoz&lt;wbr&gt;.com/&lt;/a&gt;&lt;br&gt; &lt;br&gt; ------------&lt;wbr&gt;---------&lt;wbr&gt;---------&lt;wbr&gt;-------&lt;br&gt; &lt;br&gt; QUOTE TO MULL OVER&lt;br&gt; &lt;br&gt; All humanity is one undivided and indivisible &lt;br&gt; family, and each one of us is responsible for &lt;br&gt; the misdeeds of all the others. I cannot detach&lt;br&gt; myself from the wickedest soul.&lt;br&gt; &lt;br&gt; -Mohandas K. Gandhi (1869-1948) &lt;br&gt; &lt;br&gt; -------&lt;font color=white&gt;&lt;span style=&#39;color:white&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;/div&gt;  &lt;/div&gt;  &lt;/div&gt;  &lt;!--~-|**|PrettyHtmlEnd|**|-~--&gt; </content><link rel='replies' type='application/atom+xml' href='https://learnings.site4sites.co.in/feeds/373281848434153046/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnings.site4sites.co.in/2010/04/freeware-free-software-08-apr-2010.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/373281848434153046'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/373281848434153046'/><link rel='alternate' type='text/html' href='https://learnings.site4sites.co.in/2010/04/freeware-free-software-08-apr-2010.html' title='Freeware / Free Software 08 Apr 2010'/><author><name>Mohan</name><uri>http://www.blogger.com/profile/04845674887431822308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhotcj3nbvUVot7IDvQRefWuLYxrkLC8LwGGO46JOuXcodDsFsyLSPfzQgSTj8ieRqfMMgM87RSm4_btDUJ0OfVcF4iAWihOECdCAaFaXu2_Nd63JEVch7eQx9d2N1l_94/s220/HD+Wallpaper+%281902%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2834836888490179598.post-8004296821606228929</id><published>2010-03-18T18:37:00.001+05:30</published><updated>2011-07-27T12:50:54.468+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="mohan"/><title type='text'>parseInt(&#39;08&#39;) and parseInt(&#39;09&#39;) does not work in javascript</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=black face=&quot;Comic Sans MS&quot;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;;color:black&#39;&gt;Few of you might know this logic before. &amp;nbsp;We would like to just let everyone know the lessons learnt from our team.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=black face=&quot;Comic Sans MS&quot;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;;color:black&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=&quot;Comic Sans MS&quot;&gt;&lt;span style=&#39;font-size: 10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;When we were looking into an issue reported by customers on a date being passed wrongly even though when we key in a correct date, we figured out that parseInt(&amp;#8216;08&amp;#8217;) and parseInt(&amp;#8216;09&amp;#8217;) will give you a wrong value in javascript.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=&quot;Comic Sans MS&quot;&gt;&lt;span style=&#39;font-size: 10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=&quot;Comic Sans MS&quot;&gt;&lt;span style=&#39;font-size: 10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;This is because when you say parseInt (string), it considers by default octal&lt;font color=black&gt;&lt;span style=&#39;color:black&#39;&gt; as numbers&lt;/span&gt;&lt;/font&gt;.&amp;nbsp; Octal numbers ends with 07. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=&quot;Comic Sans MS&quot;&gt;&lt;span style=&#39;font-size: 10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;08 and 09 are considered to be invalid numbers in octal.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=&quot;Comic Sans MS&quot;&gt;&lt;span style=&#39;font-size: 10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;b&gt;&lt;font size=2 face=&quot;Comic Sans MS&quot;&gt;&lt;span style=&#39;font-size: 10.0pt;font-family:&quot;Comic Sans MS&quot;;font-weight:bold&#39;&gt;Solution:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=&quot;Comic Sans MS&quot;&gt;&lt;span style=&#39;font-size: 10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=&quot;Comic Sans MS&quot;&gt;&lt;span style=&#39;font-size: 10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;Its always safe to give the base value with the method.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=&quot;Comic Sans MS&quot;&gt;&lt;span style=&#39;font-size: 10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=&quot;Comic Sans MS&quot;&gt;&lt;span style=&#39;font-size: 10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;parseInt&lt;font color=black&gt;&lt;span style=&#39;color:black&#39;&gt; &lt;/span&gt;&lt;/font&gt;(&amp;#8216;08&amp;#8217;,10) will consider the base as decimal.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=black face=&quot;Comic Sans MS&quot;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;;color:black&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=black face=&quot;Comic Sans MS&quot;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;;color:black&#39;&gt;Refer to below link for the actual syntax:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=black face=&quot;Comic Sans MS&quot;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;;color:black&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=black face=&quot;Comic Sans MS&quot;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;;color:black&#39;&gt;&lt;a href=&quot;http://www.w3schools.com/jsref/jsref_parseInt.asp&quot;&gt;http://www.w3schools.com/jsref/jsref_parseInt.asp&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=&quot;Comic Sans MS&quot;&gt;&lt;span style=&#39;font-size: 10.0pt;font-family:&quot;Comic Sans MS&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=black&gt;&lt;span style=&#39;color:black&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=black face=&quot;Comic Sans MS&quot;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;;color:black&#39;&gt;Please share this info with others as well.&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=navy face=&quot;Comic Sans MS&quot;&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Comic Sans MS&quot;; color:navy&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='https://learnings.site4sites.co.in/feeds/8004296821606228929/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnings.site4sites.co.in/2010/03/parseint08-and-parseint09-does-not-work.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/8004296821606228929'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/8004296821606228929'/><link rel='alternate' type='text/html' href='https://learnings.site4sites.co.in/2010/03/parseint08-and-parseint09-does-not-work.html' title='parseInt(&#39;08&#39;) and parseInt(&#39;09&#39;) does not work in javascript'/><author><name>Mohan</name><uri>http://www.blogger.com/profile/04845674887431822308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhotcj3nbvUVot7IDvQRefWuLYxrkLC8LwGGO46JOuXcodDsFsyLSPfzQgSTj8ieRqfMMgM87RSm4_btDUJ0OfVcF4iAWihOECdCAaFaXu2_Nd63JEVch7eQx9d2N1l_94/s220/HD+Wallpaper+%281902%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2834836888490179598.post-1558825169656996097</id><published>2010-03-01T15:59:00.002+05:30</published><updated>2010-03-01T16:02:07.861+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="sudan"/><title type='text'>How to check what are the HTTP and HTTPS port in WPS from logs and Admin console</title><content type='html'>Hi,&lt;br /&gt;&lt;br /&gt;There would be some case, where we dont have access to the admin console, but have only access to the logs. In this case how can we find the HTTP and HTTPS port for default and admin.&lt;br /&gt;&lt;br /&gt;To find the ports using Admin Console:&lt;br /&gt;&lt;br /&gt;start the server, go to Servers-&gt;Application servers &gt; server1 &gt; Ports, scroll down to see the screenshot below&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWJmNWMsfuZFI4b7e9E9v6y0DNEZLczRGRuDY08hpP-Hfb32Q9jGpfQf7fdLohcQdTk2mHzJFFk1YrTk5dbnm0EqNNBM0o4JBbjddKNOWo-5DLC5rDxLHvu09k3_HT8TrzGLj1_AGFfk0/s1600-h/ports3.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 300px; height: 118px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWJmNWMsfuZFI4b7e9E9v6y0DNEZLczRGRuDY08hpP-Hfb32Q9jGpfQf7fdLohcQdTk2mHzJFFk1YrTk5dbnm0EqNNBM0o4JBbjddKNOWo-5DLC5rDxLHvu09k3_HT8TrzGLj1_AGFfk0/s400/ports3.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5443610951539410834&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;WC admin host: HTTP port for admin console&lt;br /&gt;&lt;br /&gt;WC admin host secure: HTTPS port for admin console&lt;br /&gt;&lt;br /&gt;WC defaulthost: HTTP port for default host&lt;br /&gt;&lt;br /&gt;WC defaulthost secure: HTTPS port for default host&lt;br /&gt;&lt;br /&gt;To find the ports using the System out logs:&lt;br /&gt;&lt;br /&gt;Search for the below sentence in the logs&lt;br /&gt;&lt;br /&gt;“Web Module WebSphere Admin File Transfer Application has been bound to admin_host” -  [*:HTTP,*:HTTPS]. This is for the admin HTTP and HTTPS ports&lt;br /&gt;&lt;br /&gt;“Web Module Default Web Application has been bound to default_host” – [*:HTTP,*:80,*:HTTPS]. This is for the default HTTP and HTTPS ports&lt;br /&gt;&lt;br /&gt;-Sudan</content><link rel='replies' type='application/atom+xml' href='https://learnings.site4sites.co.in/feeds/1558825169656996097/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnings.site4sites.co.in/2010/03/hi-there-would-be-some-case-where-we.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/1558825169656996097'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/1558825169656996097'/><link rel='alternate' type='text/html' href='https://learnings.site4sites.co.in/2010/03/hi-there-would-be-some-case-where-we.html' title='How to check what are the HTTP and HTTPS port in WPS from logs and Admin console'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWJmNWMsfuZFI4b7e9E9v6y0DNEZLczRGRuDY08hpP-Hfb32Q9jGpfQf7fdLohcQdTk2mHzJFFk1YrTk5dbnm0EqNNBM0o4JBbjddKNOWo-5DLC5rDxLHvu09k3_HT8TrzGLj1_AGFfk0/s72-c/ports3.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2834836888490179598.post-81970178007062524</id><published>2010-03-01T15:56:00.001+05:30</published><updated>2010-03-01T15:58:12.219+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="sudan"/><title type='text'>Invoking PeS through plain Java</title><content type='html'>&lt;div class=Section1&gt;  &lt;p&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;Hi All,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;Today I would like to explain the POC that I was trying last week. Generally for connecting to PeS we have three ways as below&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;ol start=1 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l0 level1 lfo1&#39;&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span      style=&#39;font-size:12.0pt&#39;&gt;File Layout&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l0 level1 lfo1&#39;&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span      style=&#39;font-size:12.0pt&#39;&gt;Web Services Application Messaging&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l0 level1 lfo1&#39;&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span      style=&#39;font-size:12.0pt&#39;&gt;Component Interface&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&lt;strong&gt;&lt;b&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;File Layout:&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;This is used to connect to PeS when we need file based polling integration. Generally the type of file used would be xml or csv&amp;#8217;s. This method is still very popularly used in many applications.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;b&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;Web Services Application Messaging:&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;This is a plain Web Service communication. Messaging architecture for both synchronous and guaranteed delivery asynchronous integration into and out of the Integration Broker&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;b&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;Component Interface:&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;This is Object-oriented, request/reply, component architecture that encapsulates PeopleSoft data and communicates.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;I am interested in using Component Interface for PeS connectivity. Generally in market lots of adapters are available for doing this. The leaders are Oracle and IBM, they provide adapters for connecting to PeS. So, the developer doesnt have to code or worry about the PeS connectivity, they just need to send the data and get back the data they need. This makes life simple for developers&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;I have used IBM adapter in Websphere process server for PeopleSoft. The advantage i could see using is just easy development. But is it worth paying huge money for just getting this advantage. Why cant we develop our own component in process server which does this functionality.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;The other advantage that adapter give is that we can discover the CI available in the PeS and just use the operation we want. All these things can be done using a good UI wizard. When we go for our own java implementations, we have to open each CI and create a java template for each.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;We will go step by step tutorial for doing this.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;PSJOA.jar -&amp;gt; This is the interface jar file which would help Java to interact with PeopleSoft through a component interface. It will be available in %PS_HOME%\class directory.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;Create a record with a single field and put this on a page. Create a component and move it to a component interface. The component interface should have the following methods :- Cancel, Create, Find, Get and Save.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;Now, open the component interface. Click on Build -&amp;gt; PeopleSoft APIs. This process would validate all the component interface and you will get some errors in this process. You can just skip the errors and continue the process. Select the &amp;#8220;java&amp;#8221; class option and specify the target location where the java files needs to be placed. For any component interface, PeopleSoft create four files like for CI name JobData, it would create&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;IJobDataCI.java&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;IJobDataCICollection.java&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;JobDataCI.java&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;JobDataCICollection.java&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;So, after compiling this, pack all the class files into a jar file, say PSFTCI.jar. So, now we have two jar&amp;#8217;s PSJOA.jar and PSFTCI.jar&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;The next step is to create a java template. Open the component Interface, right click and click on generate a Java template. So, this would be saving your java template for that CI in some temp folder. Generally the Java template name would be the CI name itself, say JobDataCI.java&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;Now if we open the java template, we can see a code like&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;&amp;#8220;oSession.connect(1, strAppServerPath, strOperatorID, strPassword, null)&amp;#8221;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;Here we can give the server name, username and password for the PeS we are trying to connect. This would take the default port. If we need to modify this port number to some specific value and have all these data coming from properties fil, we need to follow the below steps.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;ol start=1 type=1&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l1 level1 lfo2&#39;&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span      style=&#39;font-size:12.0pt&#39;&gt;change the above code to      &amp;#8220;oSession.connect(1, strAppServerPath, strOperatorID, strPassword,      null)&amp;#8221;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;      mso-list:l1 level1 lfo2&#39;&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span      style=&#39;font-size:12.0pt&#39;&gt;create a property file pstools.properties in the      java project with the following key names&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;server_port=&amp;lt;server_port&amp;gt;&lt;br&gt; server_name=&amp;lt;server_name&amp;gt;&lt;br&gt; logon_id=&amp;lt;logon_id&amp;gt;&lt;br&gt; logon_password=&amp;lt;logon_password&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;That&amp;#8217;s it, we are done. Just need to use the setter and getter methods in the java template to select or update the date in PeS.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt&#39;&gt;This finishes the tutorial for connecting to PeS through java.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size:12.0pt; font-weight:bold&#39;&gt;-&lt;st1:country-region w:st=&quot;on&quot;&gt;&lt;st1:place w:st=&quot;on&quot;&gt;Sudan&lt;/st1:place&gt;&lt;/st1:country-region&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style=&#39;font-size: 12.0pt&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='https://learnings.site4sites.co.in/feeds/81970178007062524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnings.site4sites.co.in/2010/03/invoking-pes-through-plain-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/81970178007062524'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/81970178007062524'/><link rel='alternate' type='text/html' href='https://learnings.site4sites.co.in/2010/03/invoking-pes-through-plain-java.html' title='Invoking PeS through plain Java'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2834836888490179598.post-162104259377276414</id><published>2009-11-24T18:47:00.003+05:30</published><updated>2009-11-24T19:27:45.197+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><category scheme="http://www.blogger.com/atom/ns#" term="Rafeek"/><title type='text'>Use of Indexes in Foreign Key</title><content type='html'>&lt;div class=&quot;Section1&quot;&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Times New Roman;font-size:100%;&quot;  &gt;&lt;span style=&quot;font-size:12;&quot;&gt;Normally we used to avoid creating indexes in the foreign keys, with unindexed foreign&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Times New Roman;font-size:100%;&quot;  &gt;&lt;span style=&quot;font-size:12;&quot;&gt; key columns; Oracle will lock the child table&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Times New Roman;font-size:100%;&quot;  &gt;&lt;span style=&quot;font-size:12;&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:Times New Roman;font-size:100%;&quot;  &gt;&lt;span style=&quot;font-size:12;&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;b&gt;&lt;span style=&quot;;font-family:Times New Roman;&quot; &gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;WHEN TO INDEX:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;b&gt;&lt;span style=&quot;;font-family:Times New Roman;&quot; &gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;pre&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;color:black;&quot; &gt;In addition to the table lock issue that might hit you, an unindexed foreign key&lt;br /&gt;is bad in the following cases as well:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;color:black;&quot; &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Wingdings;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;font-family:Wingdings;color:black;&quot;  &gt;à&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;color:black;&quot;&gt;&lt;span style=&quot;color:black;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;When you have an on delete cascade and have not indexed the child table.&lt;/span&gt;&lt;/b&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;color:black;&quot; &gt;   For example EMP is child of DEPT. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;color:black;&quot; &gt;   Delete deptno = 10 should cascade to EMP.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;color:black;&quot; &gt;   If deptno in emp is not indexed, you will get a full table scan of EMP.&lt;br /&gt; This full scan is probably &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;color:black;&quot; &gt;   undesirable and if you delete many rows from the parent table,&lt;br /&gt; the child table will be scanned once for each parent row deleted.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;color:black;&quot; &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Wingdings;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;font-family:Wingdings;color:black;&quot;  &gt;à&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;color:black;&quot;&gt;&lt;span style=&quot;color:black;&quot;&gt; &lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;When you query from the PARENT to the CHILD.&lt;/span&gt;&lt;/b&gt;  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;color:black;&quot; &gt;  Consider the EMP, DEPT example again. It is very common to query the EMP table&lt;br /&gt;in the context of a deptno. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;color:black;&quot; &gt;  If you frequently query:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;color:black;&quot; &gt;  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;color:black;&quot; &gt;     select * from dept, emp&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;color:black;&quot; &gt;     where emp.deptno = dept.deptno and dept.deptno = :X;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;color:black;&quot; &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;color:black;&quot; &gt; to generate a report or something, you&#39;ll find not having the index in place&lt;br /&gt;will slow down the queries.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;color:black;&quot; &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;b&gt;&lt;span style=&quot;;font-family:Times New Roman;color:black;&quot;  &gt;&lt;span style=&quot;&quot;&gt;WHEN NOT TO INDEX:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;b&gt;&lt;span style=&quot;;font-family:Times New Roman;color:black;&quot;  &gt;&lt;span style=&quot;&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;color:black;&quot; &gt;So, when do you NOT need to index a foreign key?  In general when the following&lt;br /&gt;conditions are met:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;color:black;&quot; &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Wingdings;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;font-family:Wingdings;color:black;&quot;  &gt;à&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;color:black;&quot;&gt;&lt;span style=&quot;color:black;&quot;&gt; You do NOT delete from the parent table. (Especially with delete cascade)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;color:black;&quot; &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Wingdings;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;font-family:Wingdings;color:black;&quot;  &gt;à&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;color:black;&quot;&gt;&lt;span style=&quot;color:black;&quot;&gt; You do NOT update the parent table’s unique/primary key value.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;color:black;&quot; &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Wingdings;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;font-family:Wingdings;color:black;&quot;  &gt;à&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;color:black;&quot;&gt;&lt;span style=&quot;color:black;&quot;&gt; You do NOT join from the PARENT to the CHILD (like DEPT-&amp;gt;EMP).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;color:black;&quot; &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;color:black;&quot; &gt;If you satisfy all three above, feel free to skip the index, it is not needed.&lt;br /&gt;If you do any of the above, be aware of the consequences.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;color:black;&quot; &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;color:black;&quot; &gt;As for the effect of an index on a foreign key index on an OLTP system&lt;br /&gt;-- it depends.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;color:black;&quot;   &gt;&lt;span style=&quot;;color:black;&quot; &gt;If you not update the foreign key the overhead is during the insert&lt;br /&gt;and might not be noticed.  If you update it frequently, it might be worse&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;We will go through the following example which is having the delete statement which deletes from the parent table which is having a reference with the child table.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;Example without index on child table&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;-----------------------------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;-- Create a Parent Table.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;CREATE TABLE PARENT(NO NUMBER);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;-- Insert some sample data in to the Parent table.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;INSERT INTO PARENT(NO) SELECT ROWNUM FROM ALL_OBJECTS WHERE ROWNUM &amp;lt; 10001; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;COMMIT;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;-- Add Primary Key Constraint to it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;ALTER TABLE PARENT ADD CONSTRAINT PARENT_PK PRIMARY KEY (NO);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;-- Create a Child table.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;CREATE TABLE CHILD(NO NUMBER,NAME VARCHAR2(10));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;-- Insert some sample records wit the value from the parent table&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;INSERT INTO CHILD(NO,NAME) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;SELECT A.NO,A.NAME FROM&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;(SELECT NO,&#39;RAFEEK&#39; AS NAME FROM PARENT WHERE ROWNUM &amp;lt; 10000)A, (SELECT 1 FROM DUAL&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;                                                      UNION ALL&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;                                                      SELECT 2 FROM DUAL);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;-- Commit the transaction&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;                                                      &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;COMMIT;                                                      &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;                                                      &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;-- Add foreign key constraint to it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;ALTER TABLE CHILD ADD CONSTRAINT REFPARENT FOREIGN KEY (NO) REFERENCES PARENT (NO);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;-- Analyze both the tables (Gather Statistics)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;ANALYZE TABLE CHILD COMPUTE STATISTICS;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;ANALYZE TABLE PARENT COMPUTE STATISTICS;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;b&gt;&lt;span style=&quot;;font-family:Courier New;&quot; &gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;--NOW WE WILL CHECK THE PERFORMANCE PROBLEM&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;b&gt;&lt;span style=&quot;;font-family:Courier New;&quot; &gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;-- delete All the records from the child table&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;DELETE FROM CHILD;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;COMMIT;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;ANALYZE TABLE CHILD COMPUTE STATISTICS;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;--TO CAPTURE THE TIMING&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;SET TIMING ON&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;--DELET FROM THE PARENT TABLE&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;DELETE FROM PARENT;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;COMMIT;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;SET TIMING OFF&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;--NOTE DOWN THE TIME TAKEN&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;---------------------------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;div style=&quot;border-style: none none solid; padding: 0in 0in 8pt;&quot;&gt;  &lt;p class=&quot;MsoPlainText&quot; style=&quot;border: medium none ; padding: 0in;&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;Example with Index on child table&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;DROP TABLE CHILD;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;DROP TABLE PARENT;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;CREATE TABLE PARENT (NO NUMBER);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;INSERT INTO PARENT (NO) SELECT ROWNUM FROM ALL_OBJECTS WHERE ROWNUM &amp;lt; 50001; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;COMMIT;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;ALTER TABLE PARENT ADD CONSTRAINT PARENT_PK PRIMARY KEY (NO);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;CREATE TABLE CHILD (NO NUMBER, NAME VARCHAR2 (10));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;INSERT INTO CHILD (NO, NAME) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;SELECT A.NO, A.NAME FROM&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;(SELECT NO,&#39;RAFEEK&#39; AS NAME FROM PARENT WHERE ROWNUM &amp;lt; 10000)A, (SELECT 1 FROM DUAL&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;                                                      UNION ALL&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;                                                      SELECT 2 FROM DUAL);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;                                                      &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;                                                      &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;COMMIT;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;ALTER TABLE CHILD ADD CONSTRAINT REFPARENT FOREIGN KEY (NO) REFERENCES PARENT (NO);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;CREATE INDEX CHILD1_IX ON CHILD (NO);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;ANALYZE TABLE CHILD COMPUTE STATISTICS;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;ANALYZE TABLE PARENT COMPUTE STATISTICS;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;ANALYZE INDEX CHILD1_IX COMPUTE STATISTICS;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;DELETE FROM CHILD;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;COMMIT;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;ANALYZE TABLE CHILD COMPUTE STATISTICS;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;SET TIMING ON&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;DELETE FROM PARENT;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;COMMIT;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;SET TIMING OFF&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;--NOTE DOWN THE TIME TAKEN&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;Thanks &amp;amp; Regards, &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;Mohamed Rafeek, S&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoPlainText&quot;&gt;&lt;span style=&quot;;font-family:Courier New;font-size:100%;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://learnings.site4sites.co.in/feeds/162104259377276414/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnings.site4sites.co.in/2009/11/use-of-indexes-in-foreign-key.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/162104259377276414'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/162104259377276414'/><link rel='alternate' type='text/html' href='https://learnings.site4sites.co.in/2009/11/use-of-indexes-in-foreign-key.html' title='Use of Indexes in Foreign Key'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2834836888490179598.post-7693863490783563539</id><published>2009-11-23T19:02:00.000+05:30</published><updated>2009-11-24T19:47:48.599+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><category scheme="http://www.blogger.com/atom/ns#" term="mohan"/><title type='text'>SQL DBO SQL Server Database Object Owner dbo</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal style=&#39;margin:3.75pt;line-height:15.0pt;background:white&#39;&gt;&lt;font size=1 color=&quot;#666666&quot; face=Verdana&gt;&lt;span lang=EN-IN style=&#39;font-size:9.0pt; font-family:Verdana;color:#666666&#39;&gt;Who is&amp;nbsp;&amp;quot;dbo&lt;/span&gt;&lt;/font&gt;&lt;font size=1 color=&quot;#666666&quot; face=Verdana&gt;&lt;span lang=EN-IN style=&#39;font-size:9.0pt; font-family:Verdana;color:#666666&#39;&gt;&amp;#8221;&lt;/span&gt;&lt;/font&gt;&lt;font size=1 color=&quot;#666666&quot; face=Verdana&gt;&lt;span lang=EN-IN style=&#39;font-size:9.0pt; font-family:Verdana;color:#666666&#39;&gt;?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;margin:3.75pt;line-height:15.0pt;background:white&#39;&gt;&lt;font size=1 color=&quot;#666666&quot; face=Verdana&gt;&lt;span lang=EN-IN style=&#39;font-size:9.0pt; font-family:Verdana;color:#666666&#39;&gt;There are two &amp;quot;dbo&amp;quot; in SQL Server, one is Database Owner and one is Database Object Owner,&amp;nbsp;dbo is a user with permissions to perform all activities in a database. Each database has this special user called dbo, &lt;b&gt;&lt;span style=&#39;font-weight:bold&#39;&gt;user dbo cannot be deleted and is always present in every database&lt;/span&gt;&lt;/b&gt;. Database owners and object owners have no separate logins the user dbo is part of sysadmin fixed role or db_owner fixed database role. Any objects created by members of the sysadmin fixed server role (or by the dbo user) belong to dbo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;margin:3.75pt;line-height:15.0pt;background:white&#39;&gt;&lt;font size=1 color=&quot;#666666&quot; face=Verdana&gt;&lt;span lang=EN-IN style=&#39;font-size:9.0pt; font-family:Verdana;color:#666666&#39;&gt;Objects created by any other user who is not also a member of the sysadmin fixed server role including members of the db_owner fixed database role belong to the user creating the object, not dbo. The creator of an object is granted all permissions implicitly but must give explicit permissions to other users before they can access the object. When accessing objects an owner name should be qualified before object name like &amp;quot;object_owner.object_name&amp;quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;mso-margin-top-alt:0in;margin-right:3.75pt; margin-bottom:0in;margin-left:3.75pt;margin-bottom:.0001pt;line-height:15.0pt; background:white&#39;&gt;&lt;code&gt;&lt;font size=1 color=black face=&quot;Lucida Console&quot;&gt;&lt;span lang=EN-IN style=&#39;font-size:9.0pt&#39;&gt;SELECT * FROM Object_Owner.Table_Name&lt;/span&gt;&lt;/font&gt;&lt;/code&gt;&lt;font size=1 color=&quot;#666666&quot; face=Verdana&gt;&lt;span lang=EN-IN style=&#39;font-size:9.0pt; font-family:Verdana;color:#666666&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;margin:3.75pt;line-height:15.0pt;background:white&#39;&gt;&lt;font size=1 color=&quot;#666666&quot; face=Verdana&gt;&lt;span lang=EN-IN style=&#39;font-size:9.0pt; font-family:Verdana;color:#666666&#39;&gt;If object owner is not specified when referencing the object then SQL Server looks for objects owned by current user and then objects owned by dbo, if the object is not owned by current user or dbo then object owner must be specified other wise an error will occur. Windows NT users and groups can be owner of objects. If you want to&amp;nbsp;remove a database owner from current database the objects owned must be dropped or ownership must be changed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;margin:3.75pt;line-height:15.0pt;background:white&#39;&gt;&lt;font size=1 color=&quot;#666666&quot; face=Verdana&gt;&lt;span lang=EN-IN style=&#39;font-size:9.0pt; font-family:Verdana;color:#666666&#39;&gt;Check these two stored procedures in books online.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style=&#39;margin:3.75pt;line-height:15.0pt;background:white&#39;&gt;&lt;font size=1 color=&quot;#666666&quot; face=Verdana&gt;&lt;span lang=EN-IN style=&#39;font-size:9.0pt; font-family:Verdana;color:#666666&#39;&gt;sp_changeobjectowner &lt;br&gt; sp_changedbowner&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-IN style=&#39;font-size: 10.0pt;font-family:Arial&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='https://learnings.site4sites.co.in/feeds/7693863490783563539/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnings.site4sites.co.in/2009/11/sql-dbo-sql-server-database-object.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/7693863490783563539'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/7693863490783563539'/><link rel='alternate' type='text/html' href='https://learnings.site4sites.co.in/2009/11/sql-dbo-sql-server-database-object.html' title='SQL DBO SQL Server Database Object Owner dbo'/><author><name>Mohan</name><uri>http://www.blogger.com/profile/04845674887431822308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhotcj3nbvUVot7IDvQRefWuLYxrkLC8LwGGO46JOuXcodDsFsyLSPfzQgSTj8ieRqfMMgM87RSm4_btDUJ0OfVcF4iAWihOECdCAaFaXu2_Nd63JEVch7eQx9d2N1l_94/s220/HD+Wallpaper+%281902%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2834836888490179598.post-2835796537197844352</id><published>2009-09-22T18:30:00.010+05:30</published><updated>2009-09-22T19:44:25.202+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="mohan"/><category scheme="http://www.blogger.com/atom/ns#" term="SAP"/><title type='text'>Introduction about SLD, Integration Builder and SC</title><content type='html'>&lt;strong&gt;&lt;/strong&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;strong&gt;Session 2: Intro about SLD, Integration Builder and SC&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As we know we will have different type of environments in corporate like development, QA and production. So we will have SAP in bunch of servers for each environment which is known as SLD (system landscape directory). The different client codes in each environment represent sub systems in it. For ex: one Dev system may be there which has 100 client code for UAT, 210 for exec etc., We will have different R/3 servers and XI servers. An R/3 Server will have an ABAP engine with small portion of J2EE engine to communicate with XI servers and vice - versa.&lt;br /&gt;&lt;br /&gt;We can use SAPGUI for logging in to any of the systems (R/3 or XI). Each and every thing in SAP will have some unique code which can be used directly for opening it. So for accessing Integration Builder we need to type &quot;&lt;em&gt;&lt;strong&gt;sxmb_ifr&lt;/strong&gt;&lt;/em&gt;&quot; code in transaction field.&lt;br /&gt;&lt;br /&gt;Integration Builder is of two views. They are Design (Integration Repositary) and Configuration (Integration DIrectory). Integration Builder is developed in Java Web Start and it runs in J2EE engine. For creating any objects we use Design: Integration Builder (IR) and these are some thing like Raw objects but it will be configured and structured in Configuration: Integration Builder (ID).&lt;br /&gt;&lt;br /&gt;For Ex:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family:arial;font-size:85%;&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://picasaweb.google.co.in/lh/photo/1FFPJXSQFHI1q3L0bLCcqQ?authkey=Gv1sRgCIGgiNWu14vlswE&amp;amp;feat=embedwebsite&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5384280318237945474&quot; style=&quot;DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 360px; CURSOR: hand; HEIGHT: 400px; TEXT-ALIGN: center&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEwTLKs-8S9jvo42Sz9YXDCs_b_3bmVwZCYiqC-1fdr_xJeGYQ5PaX_DVDm3H6eDZ8xQpH-UfGs-_x0r_L5R763qNDiqmGObpgqLy0Vj2-lH5H6H1M0TsY7T8YXBozWZCHcXOe0Ls-aCaE/s400/ExamplePlaceOrderR.JPG&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;When a Function imported from R/3 in to XI as a web service it will automatically create JNI, EJB, Servlet and Web service for it. After that it will be in IR. We will configure it in ID as scenarios like VB to SAP etc in structured manner.&lt;br /&gt;&lt;/span&gt;&lt;p align=&quot;justify&quot;&gt;&lt;span style=&quot;font-family:arial;font-size:85%;&quot;&gt;Software Component is a logical unit of any release. For example you want to release this place order function as software then just build it and release as a software component which can be distributed across. SAP GUI is a software component. &lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;justify&quot;&gt;&lt;span style=&quot;font-family:arial;font-size:85%;&quot;&gt;Shortly, &lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;justify&quot;&gt;&lt;span style=&quot;font-family:arial;font-size:85%;&quot;&gt;1. SLD is a System landscape directory where SAP resides&lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;justify&quot;&gt;&lt;span style=&quot;font-family:arial;font-size:85%;&quot;&gt;2. Integration Repository is Design: Integration Builder and Integration Directory is Configuration: Integration Builder which is for creating objects and configuring it for usage.&lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;justify&quot;&gt;&lt;span style=&quot;font-family:arial;font-size:85%;&quot;&gt;3. Software Component is a logical unit of any release. &lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://learnings.site4sites.co.in/feeds/2835796537197844352/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://learnings.site4sites.co.in/2009/09/introduction-about-sld-integration.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/2835796537197844352'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/2834836888490179598/posts/default/2835796537197844352'/><link rel='alternate' type='text/html' href='https://learnings.site4sites.co.in/2009/09/introduction-about-sld-integration.html' title='Introduction about SLD, Integration Builder and SC'/><author><name>Mohan</name><uri>http://www.blogger.com/profile/04845674887431822308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhotcj3nbvUVot7IDvQRefWuLYxrkLC8LwGGO46JOuXcodDsFsyLSPfzQgSTj8ieRqfMMgM87RSm4_btDUJ0OfVcF4iAWihOECdCAaFaXu2_Nd63JEVch7eQx9d2N1l_94/s220/HD+Wallpaper+%281902%29.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEwTLKs-8S9jvo42Sz9YXDCs_b_3bmVwZCYiqC-1fdr_xJeGYQ5PaX_DVDm3H6eDZ8xQpH-UfGs-_x0r_L5R763qNDiqmGObpgqLy0Vj2-lH5H6H1M0TsY7T8YXBozWZCHcXOe0Ls-aCaE/s72-c/ExamplePlaceOrderR.JPG" height="72" width="72"/><thr:total>0</thr:total></entry></feed>