<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1836561640335978918</id><updated>2011-11-27T15:24:45.900-08:00</updated><title type='text'>All Java  Related Technologies and Tutorials</title><subtitle type='html'>A Blog for Details About Latest Technologies provided by Sun Micro systems!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>77</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-928930617841382736</id><published>2009-05-20T17:43:00.002-07:00</published><updated>2009-05-20T17:47:40.013-07:00</updated><title type='text'>Java FX For All! - Experiences:</title><content type='html'>I also added JavaFX and J2ME Controller as part of &lt;br /&gt;the Project.&lt;br /&gt;To say truely,Learning and Programming Java FX IS SIMPLER,EASIER.&lt;br /&gt;I request every one to do this!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-928930617841382736?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/928930617841382736/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=928930617841382736' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/928930617841382736'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/928930617841382736'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/05/java-fx-for-all-experiences.html' title='Java FX For All! - Experiences:'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-2449305863056212384</id><published>2009-05-20T17:43:00.001-07:00</published><updated>2009-05-20T17:43:42.987-07:00</updated><title type='text'>Proposal Document</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Proposal for the Code Java FX Contest&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Title: Java™ FX for All&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;What is unique about this application?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The Java™ Media Framework does not support playing of videos with FLV Format. The Java FX Technology enables easy playing of FLV Videos. Also the application we have developed will enable vision challenged people to use it in an easy manner with out others help.&lt;br /&gt;&lt;br /&gt;Which aspects of Java FX Technology are you going to use in your application?&lt;br /&gt;We have used Java FX Media Player Component. The aspect we have used in our application is Graphics, Animations and Media.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Description:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After launching the application you will see you see a splash screen with some animated effects. Then you will see many applications embedded on a tab. We enable easy use of the system by the vision challenged people. This application we have chosen is suitable for all sorts of people. We may also make this application to speak aloud the contents in the web pages.&lt;br /&gt;&lt;br /&gt;The Application first we have added in the tab is text to speech converter. This application conveys the messages from the system to Vision challenged people through Voice.&lt;br /&gt;&lt;br /&gt;The Application will open the CD Tray with out touching the eject button on the CD Tray. We have used this under Windows Platform. If the application is required to be run under the Operating System other than windows we have to make a little change in this part.&lt;br /&gt;&lt;br /&gt;The Application will have access to system resources (EX) Notepad in case of Windows Operating System. This application will create process automatically without human interface.&lt;br /&gt;&lt;br /&gt;The application enables to display images either in local file system or in the web server.&lt;br /&gt;&lt;br /&gt;Actually with notepad (Windows) we may create only text documents. In our application we have created a multi - pad that will create Text Documents, PDF – Portable Document Format Files, Audio Files (.wav, .mp3), Video Files (.mov), Image Files( JPEG,GIF,BMP).&lt;br /&gt;&lt;br /&gt;Another application will simulate what the Print Screen button in our key board does. It will capture the entire desktop as image. Then with Key board we can control the mouse.&lt;br /&gt;&lt;br /&gt;The application will get and set the Monitor Screen Attributes such as width, height, refresh rate etc.&lt;br /&gt;&lt;br /&gt;The application we have designed will control the entire System (both hardware and software) with Voice. Based on the commands you speak in the microphone, appropriate applications will be launched.&lt;br /&gt;&lt;br /&gt;At last we have designed an application that will collect the entire information about the Operating System under which the Java FX is currently running.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-2449305863056212384?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/2449305863056212384/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=2449305863056212384' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2449305863056212384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2449305863056212384'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/05/proposal-document.html' title='Proposal Document'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-7958772375676118374</id><published>2009-05-20T17:32:00.000-07:00</published><updated>2009-05-20T17:40:44.680-07:00</updated><title type='text'>Java FX For All!!</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Well, I was a Participant of the Code JavaFX Contest.&lt;br /&gt;I would like to share some details about my Project.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The following was my Project Proposal:&lt;br /&gt;Proposal for the Code Java FX Contest&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Title: Java™ FX for All&lt;br /&gt;What is unique about this application?&lt;br /&gt;&lt;br /&gt;       The Java™ Media Framework does not support playing of videos&lt;br /&gt;with FLV Format.&lt;br /&gt;The Java FX Technology enables easy playing of FLV Videos. Also the&lt;br /&gt;application we have developed will enable vision challenged people to&lt;br /&gt;use it in an easy manner with out others help.&lt;br /&gt;&lt;br /&gt;Which aspects of Java FX Technology are you going to use in your application?&lt;br /&gt;&lt;br /&gt;       We have used Java FX Media Player Component. The aspect we&lt;br /&gt;have used in our application is Graphics, Animations and Media.&lt;br /&gt;&lt;br /&gt;Description:&lt;br /&gt;&lt;br /&gt;         After launching the application you will see you see a&lt;br /&gt;splash screen with some animated effects. Then you will see many&lt;br /&gt;applications embedded on a tab. We enable easy use of the system by&lt;br /&gt;the vision challenged people. This application we have chosen is&lt;br /&gt;suitable for all sorts of people. We may also make this application to&lt;br /&gt;speak aloud the contents in the web pages.&lt;br /&gt;&lt;br /&gt;          The Application first we have added in the tab is text to&lt;br /&gt;speech converter. This application conveys the messages from the&lt;br /&gt;system to Vision challenged people through Voice.&lt;br /&gt;&lt;br /&gt;        The Application will open the CD Tray with out touching the&lt;br /&gt;eject button on the CD Tray. We have used this under Windows Platform.&lt;br /&gt;If the application is required to be run under the Operating System&lt;br /&gt;other than windows we have to make a little change in this part.&lt;br /&gt;&lt;br /&gt;           The Application will have access to system resources (EX)&lt;br /&gt;Notepad in case of Windows Operating System. This application will&lt;br /&gt;create process automatically without human interface.&lt;br /&gt;&lt;br /&gt;           The application enables to display images either in local&lt;br /&gt;file system or in the web server. Actually with notepad (Windows) we&lt;br /&gt;may create only text documents. In our application we have created a&lt;br /&gt;multi - pad that will create Text Documents, PDF – Portable Document&lt;br /&gt;Format Files, Audio Files (.wav, .mp3), Video Files (.mov), Image&lt;br /&gt;Files( JPEG,GIF,BMP).&lt;br /&gt;&lt;br /&gt;             Another application will simulate what the Print Screen&lt;br /&gt;button in our key board does. It will capture the entire desktop as&lt;br /&gt;image. Then with Key board we can control the mouse.The application&lt;br /&gt;will get and set the Monitor Screen Attributes such as width, height,&lt;br /&gt;refresh rate etc.&lt;br /&gt;&lt;br /&gt;            The application we have designed will control the entire&lt;br /&gt;System (both hardware and software) with Voice. Based on the commands&lt;br /&gt;you speak in the microphone, appropriate applications will be&lt;br /&gt;launched.&lt;br /&gt;&lt;br /&gt;             At last we have designed an application that will&lt;br /&gt;collect the entire information about the Operating System under which&lt;br /&gt;the Java FX is currently running.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-7958772375676118374?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/7958772375676118374/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=7958772375676118374' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/7958772375676118374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/7958772375676118374'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/05/java-fx-for-all.html' title='Java FX For All!!'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-3053293375587200141</id><published>2009-04-15T05:36:00.001-07:00</published><updated>2009-04-15T05:36:59.185-07:00</updated><title type='text'>Open Source Fedora</title><content type='html'>A Latest Technical Article for &lt;br /&gt;TechRepublic.com&lt;br /&gt;Here it is!!!&lt;br /&gt;&lt;a href="http://blogs.techrepublic.com.com/opensource/?p=542&amp;tag=nl.e011"&gt;http://blogs.techrepublic.com.com/opensource/?p=542&amp;tag=nl.e011&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-3053293375587200141?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/3053293375587200141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=3053293375587200141' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/3053293375587200141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/3053293375587200141'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/04/open-source-fedora.html' title='Open Source Fedora'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-8827570204768388454</id><published>2009-03-08T06:45:00.000-07:00</published><updated>2009-03-08T06:50:05.080-07:00</updated><title type='text'>Java Update Released!!</title><content type='html'>Want to use the power full open source Java ™ Technology?&lt;br /&gt;Java update 12 for JDK Released.&lt;br /&gt;Get it  here &lt;a href="http://www.java.sun.com/downloads"&gt;http://www.java.sun.com/downloads&lt;/a&gt;&lt;br /&gt;Java is Found every where..&lt;br /&gt;In your Mobile Phones,PDA - Personal Digital Assistant, Blue Ray Disk, Computer...&lt;br /&gt;Java™ Rocks!!&lt;br /&gt;Can u imagine a world with out Java!!!&lt;br /&gt;Never..&lt;br /&gt;Thanks for James Gosling..&lt;br /&gt;For giving this powerful Language....&lt;br /&gt;A Special Dedication for James Gosling..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-8827570204768388454?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/8827570204768388454/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=8827570204768388454' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/8827570204768388454'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/8827570204768388454'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/03/java-update-released.html' title='Java Update Released!!'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-3702404650868186470</id><published>2009-03-08T06:41:00.000-07:00</published><updated>2009-03-08T06:45:31.075-07:00</updated><title type='text'>FireFox  2.0.4 Code</title><content type='html'>Are you a great admirer of Open Source.?&lt;br /&gt;Want to see the Source Code of rocking  Firefox?&lt;br /&gt;Its Open Source!!!!&lt;br /&gt;You Get it here&lt;br /&gt;&lt;a href="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/2.0.0.4/source/firefox-2.0.0.4-source.tar.bz2"&gt;ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/2.0.0.4/source/firefox-2.0.0.4-source.tar.bz2&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-3702404650868186470?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/3702404650868186470/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=3702404650868186470' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/3702404650868186470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/3702404650868186470'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/03/firefox-204-code.html' title='FireFox  2.0.4 Code'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-3017619714294283346</id><published>2009-03-08T06:39:00.000-07:00</published><updated>2009-03-08T06:41:25.332-07:00</updated><title type='text'>Java FX Released</title><content type='html'>Read latest Java™ FX updates here&lt;br /&gt;&lt;a href="http://www.javafx.com"&gt;http://www.javafx.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-3017619714294283346?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/3017619714294283346/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=3017619714294283346' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/3017619714294283346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/3017619714294283346'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/03/java-fx-released.html' title='Java FX Released'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-1774141846453335342</id><published>2009-03-08T06:38:00.000-07:00</published><updated>2009-03-08T06:39:44.278-07:00</updated><title type='text'>FireFox  3.0.7</title><content type='html'>Firefox 3.0.7 Released!!!!!&lt;br /&gt;Want to Download Firefox 3.0.7?&lt;br /&gt;Get it here&lt;br /&gt;&lt;a href="http://www.mozilla.com/products/download.html?product=firefox-3.0.7&amp;os=win&amp;lang=en-US"&gt;http://www.mozilla.com/products/download.html?product=firefox-3.0.7&amp;os=win&amp;lang=en-US&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-1774141846453335342?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/1774141846453335342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=1774141846453335342' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/1774141846453335342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/1774141846453335342'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/03/firefox-307.html' title='FireFox  3.0.7'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-5067384457797215286</id><published>2009-01-13T18:16:00.000-08:00</published><updated>2009-01-13T18:26:23.157-08:00</updated><title type='text'>Get AVG Here</title><content type='html'>&lt;a href="http://software-files.download.com/sd/_0PHINY0qH88ez5vKKo-4S7vkon843Af2CWfRYKPz4Yi8oZAe2BvfIQtjD7HB5Odu5PEBHBxDV8IaIED14PKJZAC_IzYjtM4/software/10997344/10710160/3/avg_ipw_stf_en_8_229a1410.exe?lop=link&amp;ptype=1901&amp;ontid=2239&amp;siteId=4&amp;edId=3&amp;spi=228c0fbe4600cef70879e15350ff1857&amp;pid=10997344&amp;psid=10710160"&gt;&lt;br /&gt;http://software-files.download.com/sd/_0PHINY0qH88ez5vKKo-4S7vkon843Af2CWfRYKPz4Yi8oZAe2BvfIQtjD7HB5Odu5PEBHBxDV8IaIED14PKJZAC_IzYjtM4/software/10997344/10710160/3/avg_ipw_stf_en_8_229a1410.exe?lop=link&amp;ptype=1901&amp;ontid=2239&amp;siteId=4&amp;edId=3&amp;spi=228c0fbe4600cef70879e15350ff1857&amp;pid=10997344&amp;psid=10710160&lt;br /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-5067384457797215286?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/5067384457797215286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=5067384457797215286' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/5067384457797215286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/5067384457797215286'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/01/get-avg-here.html' title='Get AVG Here'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-719642550067083846</id><published>2009-01-13T17:19:00.000-08:00</published><updated>2009-01-13T17:20:08.044-08:00</updated><title type='text'>Get Java BioInformatics E Book Here</title><content type='html'>&lt;a href="http://rapidshare.com/files/23711747/Java.for.Bioinformatics.and.Biomedical.Applications-0387372350.pdf"&gt;http://rapidshare.com/files/23711747/Java.for.Bioinformatics.and.Biomedical.Applications-0387372350.pdf&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-719642550067083846?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/719642550067083846/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=719642550067083846' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/719642550067083846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/719642550067083846'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/01/get-java-bioinformatics-e-book-here.html' title='Get Java BioInformatics E Book Here'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-2159341650842881370</id><published>2009-01-13T17:13:00.000-08:00</published><updated>2009-01-13T17:18:50.386-08:00</updated><title type='text'>Get ASP.Net E Book Here.</title><content type='html'>&lt;a href="http://free-file-hosting.info/showfile-113/ebook_asp_net_3_5_beginners_guide.zip"&gt;http://free-file-hosting.info/showfile-113/ebook_asp_net_3_5_beginners_guide.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-2159341650842881370?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/2159341650842881370/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=2159341650842881370' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2159341650842881370'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2159341650842881370'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/01/get-aspnet-e-book-here.html' title='Get ASP.Net E Book Here.'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-9151222470199619248</id><published>2009-01-13T16:58:00.000-08:00</published><updated>2009-01-13T17:06:56.285-08:00</updated><title type='text'>Get Professional ASP.NET 2.0 AJAX.chm here</title><content type='html'>&lt;a href="http://download272.mediafire.com/dtvb0saxsl2g/etp4mxjmvdg/www.free-ebooks-download.org----Professional+ASP.NET+2.0+AJAX.chm"&gt;http://download272.mediafire.com/dtvb0saxsl2g/etp4mxjmvdg/www.free-ebooks-download.org----Professional+ASP.NET+2.0+AJAX.chm&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-9151222470199619248?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/9151222470199619248/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=9151222470199619248' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/9151222470199619248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/9151222470199619248'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/01/get-professional-aspnet-20-ajaxchm-here.html' title='Get Professional ASP.NET 2.0 AJAX.chm here'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-4129769803990648306</id><published>2009-01-13T16:54:00.000-08:00</published><updated>2009-01-13T16:55:50.769-08:00</updated><title type='text'>Know some basics about CDC..</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Java Platform, Micro Edition and Standards&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;   1. What is the Java Platform, Micro Edition (Java ME)?&lt;br /&gt;&lt;br /&gt;      The Java Platform, Micro Edition (Java ME) is the Java platform targeted at consumer electronics and embedded devices like wireless phones, pagers, personal digital assistants, camcorders, game devices, small retail payment terminals and smart cards.&lt;br /&gt;&lt;br /&gt;   2. What are the principal components of Java ME platform technology?&lt;br /&gt;&lt;br /&gt;      Java ME platform technology has three components which, taken together, form a compliant Java application environment:&lt;br /&gt;&lt;br /&gt;          * A Configuration is a combination of a Java virtual machine and a set of application support APIs that are shared across a class of devices.&lt;br /&gt;&lt;br /&gt;          * A Profile is a set of APIs (designed for a specific configuration) that address the needs of a narrower device category.&lt;br /&gt;&lt;br /&gt;          * An Optional Package is a set of technology-specific APIs that extends the capabilities of a Java application environment.&lt;br /&gt;&lt;br /&gt;      A Java ME-compliant Java application environment requires both a configuration and a profile. Optional Packages provide device designers and other JCP participants with a standards-based extension framework.&lt;br /&gt;&lt;br /&gt;   3. How are Java ME standards defined?&lt;br /&gt;&lt;br /&gt;      Java technology standards are developed through the Java Community Process (JCP) by expert groups drawn from several industries. In this way, industry participants help shape Java ME standards targeted for their markets. For more information on the Java Community Process, see http://java.sun.com/aboutJava/communityprocess/. Java ME technology is built around JSRs, reference implementations and technology compatibility kits.&lt;br /&gt;&lt;br /&gt;   4. What is a JSR?&lt;br /&gt;&lt;br /&gt;      Java technology standards are delivered as Java Specification Requests (JSRs). Expert groups propose, develop and ratify JSRs through the Java Community Process.&lt;br /&gt;&lt;br /&gt;   5. What is a reference implementation?&lt;br /&gt;&lt;br /&gt;      A reference implementation (RI) is a working demonstration of a JSR. RIs are developed and licensed by the JSR specification lead.&lt;br /&gt;&lt;br /&gt;   6. What is a technology compatibility kit?&lt;br /&gt;&lt;br /&gt;      A technology compatibility kit (TCK) is a test suite that verifies whether an implementation is compliant with a given JSR. TCKs are developed and licensed by the JSR specification lead.&lt;br /&gt;&lt;br /&gt;Sales and Licensing&lt;br /&gt;&lt;br /&gt;   1. What is the licensing model for Java ME technology?&lt;br /&gt;&lt;br /&gt;      The CDC reference implementation source code is available free of charge for education and research purposes under the Sun Community Source License Agreement (SCSL). If you plan to ship a commercial product that leverages Sun's source code, or if you want to use one of the CDC technology compatibility kits developed by Sun, you must sign a commercial license agreement with Sun.&lt;br /&gt;&lt;br /&gt;   2. Does Sun license only reference implementations and TCKs?&lt;br /&gt;&lt;br /&gt;      Sun also licenses optimized implementations of various JSRs, as well as different optimized versions of CDC HotSpot Implementation.&lt;br /&gt;&lt;br /&gt;   3. How can I contact a Sun OEM software sales representative?&lt;br /&gt;&lt;br /&gt;      Sales and licensing information is available from Sun sales representatives. For more information, contact Sun Microsystems Software and Technology.&lt;br /&gt;&lt;br /&gt;CDC Products&lt;br /&gt;&lt;br /&gt;   1. What is CDC?&lt;br /&gt;&lt;br /&gt;      The Connected Device Configuration is a standards-based framework for building and delivering mobile applications that can be shared across a range of network-connected personal mobile devices. Typically, these devices include a 32-bit microprocessor/controller and require about 2 MB of RAM and 2.5 MB of ROM for the Java application environment.&lt;br /&gt;&lt;br /&gt;   2. What is CDC HotSpot Implementation?&lt;br /&gt;&lt;br /&gt;      The Connected Device Configuration HotSpot Implementation (formerly CVM) is a Java virtual machine that is highly optimized for resource-constrained devices like consumer products and embedded devices. CDC HotSpot Implementation combines full Java 2 compatibility with excellent performance, reliability and a low memory footprint.&lt;br /&gt;&lt;br /&gt;   3. How many Java virtual machine implementations does Sun have?&lt;br /&gt;&lt;br /&gt;      As the leader in Java virtual machine technology, Sun has developed several Java virtual machine implementations for different product scenarios and continues to perform research and development in this area. The following Java virtual machine technology products share the HotSpot brand:&lt;br /&gt;&lt;br /&gt;          * Java HotSpot Server is designed for multi-processor enterprise server environments that require maximum program execution speed, 64-bit support and very large memory heaps.&lt;br /&gt;&lt;br /&gt;          * Java HotSpot Client is designed for single-processor desktop environments that require faster start-up time and a smaller memory footprint.&lt;br /&gt;&lt;br /&gt;          * CDC HotSpot Implementation (formerly CVM) is designed for resource-constrained devices like consumer products and embedded devices. Typically, these devices include a 32-bit microprocessor/controller and require about 2 MB of RAM and 2.5 MB of ROM for the Java application environment. CDC HotSpot Implementation has excellent performance and reliability for low-memory conditions. Its portability interfaces make it rapidly adaptable for the many different kinds of platforms in the consumer and embedded market.&lt;br /&gt;&lt;br /&gt;          * CLDC HotSpot Implementation (formerly Monty) is designed for very small memory scenarios, typically 128 KB to 512 KB for the Java application environment. CLDC HotSpot Implementation also includes a portability interface for supporting alternate CPUs and operating systems.&lt;br /&gt;&lt;br /&gt;   4. For what platforms are implementations available?&lt;br /&gt;&lt;br /&gt;      Sun has developed optimized versions of CDC and CDC HotSpot Implementation for the ARM, PowerPC, MIPS and SPARC CPU architectures and the Linux and Solaris operating systems. The Personal Basis Profile reference implementation includes a device-driver based portability interface that includes a sample port based on X11. The Personal Profile reference implementation includes a sample port based on the GTK+ 1.2 toolkit. Other ports of Personal Profile include the QT application framework.&lt;br /&gt;&lt;br /&gt;   5. What profiles are currently available for CDC?&lt;br /&gt;&lt;br /&gt;      CDC currently supports three profiles. Foundation Profile provides basic application support APIs without any additional support for GUIs. Personal Basis Profile includes all of the APIs contained in Foundation Profile and adds support for lightweight AWT GUI components and the xlet application model. Personal Profile includes all of the APIs contained in Personal Basis Profile and adds support for full AWT compatibility and the applet application model.&lt;br /&gt;&lt;br /&gt;   6. What optional packages are currently available for CDC?&lt;br /&gt;&lt;br /&gt;      CDC currently supports several optional packages, with more on the way. RMI Optional Package supports remote method invocation based on the Java ME java.rmi package. JDBC Optional Package provides a subset of the JDBC 3.0 API for accessing tabular data sources including spreadsheets, flat files and cross-DBMS connectivity to a wide range of SQL databases. Mobile Media Optional Package supports access to audio, video and other time-based multimedia services on resource-constrained devices and allows Java applications to access device-level multimedia services.&lt;br /&gt;&lt;br /&gt;   7. What is the difference between CDC and CLDC?&lt;br /&gt;&lt;br /&gt;      These two Java ME configurations are designed around different target device footprints. CLDC is designed for very small memory scenarios, typically 128 KB to 512 KB while CDC is designed for more moderate memory scenarios, typically 2 MB of RAM and 2.5 MB of ROM. As a result, the CLDC APIs are very compact and do not require Java SE compatibility. CDC is based on Java SE compatibility for both APIs and tools.&lt;br /&gt;&lt;br /&gt;   8. What is the migration path for the PersonalJava, EmbeddedJava and JavaOS technologies?&lt;br /&gt;&lt;br /&gt;      These technologies precede both Java SE and the JCP standards organization. Rather than retrofit them into the JCP process they are being replaced by new JCP standards. The migration path for these legacy technologies is with CDC and its profiles.&lt;br /&gt;&lt;br /&gt;Developers&lt;br /&gt;&lt;br /&gt;   1. What are the differences between the CDC APIs and Java SE APIs?&lt;br /&gt;&lt;br /&gt;      Most of the core APIs are identical between CDC and J2SE 1.3.1. The main differences are in java.awt and the omission of javax.swing and other large packages like org.omg.*. See CDC API Comparison for a description of the relationship between the J2SE 1.3.1 APIs and the CDC APIs.&lt;br /&gt;&lt;br /&gt;   2. Can I migrate my code from Java SE to CDC?&lt;br /&gt;&lt;br /&gt;      Because CDC includes the core application support APIs from J2SE 1.3.1, migrating code from a Java SE application environment to a CDC application environment is straightforward.&lt;br /&gt;&lt;br /&gt;   3. What are the differences between the CDC APIs and CLDC APIs?&lt;br /&gt;&lt;br /&gt;      The CDC and CLDC APIs are very different. The CLDC APIs were designed around very small resource configurations and therefore do not require Java SE compatibility. The CDC APIs were designed around more moderate memory constraints and the need for Java SE compatibility for both APIs and tools.&lt;br /&gt;&lt;br /&gt;   4. Can I migrate my code from CLDC to CDC?&lt;br /&gt;&lt;br /&gt;      Yes. CDC is a superset of CLDC functionality.&lt;br /&gt;&lt;br /&gt;   5. Can I migrate my code from MIDP to CDC?&lt;br /&gt;&lt;br /&gt;      No. The MIDP GUI APIs are different. We are investigating a solution for this.&lt;br /&gt;&lt;br /&gt;   6. What are the graphical user-interface options for CDC?&lt;br /&gt;&lt;br /&gt;      The basic CDC profiles each offer different GUI options. Foundation Profile has no GUI support and can be used for "headless" device scenarios or for supporting a device with a proprietary GUI. Personal Basis Profile provides just enough AWT functionality to support lightweight components. Personal Profile supports full AWT and applet compatibility.&lt;br /&gt;&lt;br /&gt;   7. What is an xlet?&lt;br /&gt;&lt;br /&gt;      The xlet application programming model is very similar to the applet application programming model. Xlets are loaded into an xlet manager and controlled through a life cycle interface. This is similar to how an applet is loaded and run inside a browser. The main difference is that the xlet application programming model does not have implicit API requirements like java.applet which allows it to be used in a greater variety of product scenarios.&lt;br /&gt;&lt;br /&gt;   8. What is the security model for CDC?&lt;br /&gt;&lt;br /&gt;      CDC uses the same policy-based security model that Java SE provides. This gives an application fine-grained control over the access and use of its external interfaces.&lt;br /&gt;&lt;br /&gt;   9. Is CDC compatible with Java SE tools?&lt;br /&gt;&lt;br /&gt;      Yes. CDC supports Java SE-based compilers, debuggers and profilers.&lt;br /&gt;&lt;br /&gt;Reference:&lt;a href="http://java.sun.com/javame/technology/cdc/faqs.jsp"&gt;http://java.sun.com/javame/technology/cdc/faqs.jsp&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-4129769803990648306?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/4129769803990648306/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=4129769803990648306' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/4129769803990648306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/4129769803990648306'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/01/know-some-basics-about-cdc.html' title='Know some basics about CDC..'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-2266346877285421585</id><published>2009-01-05T04:37:00.000-08:00</published><updated>2009-01-05T04:38:28.536-08:00</updated><title type='text'>Magazine</title><content type='html'>Want to download the Computer magazine?&lt;br /&gt;Get it here..&lt;br /&gt;&lt;a href="http://www522.megaupload.com/files/db86be88ac477ffd3888dbdfdefd37e7/MAGPcWdOc08.rar"&gt;http://www522.megaupload.com/files/db86be88ac477ffd3888dbdfdefd37e7/MAGPcWdOc08.rar&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-2266346877285421585?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/2266346877285421585/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=2266346877285421585' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2266346877285421585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2266346877285421585'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/01/magazine.html' title='Magazine'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-737454625980105653</id><published>2009-01-05T04:32:00.001-08:00</published><updated>2009-01-05T04:32:53.638-08:00</updated><title type='text'>Java ME</title><content type='html'>Want to download Java ME Emulator?&lt;br /&gt;Get it here...&lt;br /&gt;&lt;a href="http://semctools.kpimdp.com/StreamDocumentSecure?qs=00000000bed103703knBpMYv1w%2BcjZViEk6vFnIPzCeH8vVioVwyhKkOky5GHiYlwhvGFdp04FXay5fPTYkEhC0xWMhV4SZriArOj2wzE29zIYlgGylmNUh5yI6EqU%2BnnbJhYzgKQ3zMvTMvnK6pZtaZ%2FqrFZPtWbexwlA%3D%3D&amp;qs1=0000000069f01e53b54b0692de317f2573101c4b0062238bb49045b88e9cf5d60cd499ae20610ef56e0d71b4f118e1058c47c6864e4f0b20d8310144db622541877e67b589b22f7a90a6940bf2fd3ce6871ccb53b7cb5881b9114bde6d7791407f9ce296a64164005a1ca9fd050db26f9bce1409ce899cac"&gt;&lt;br /&gt;JavaMEEmulator&lt;br /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-737454625980105653?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/737454625980105653/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=737454625980105653' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/737454625980105653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/737454625980105653'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/01/java-me_05.html' title='Java ME'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-2501278015966099816</id><published>2009-01-05T04:29:00.000-08:00</published><updated>2009-01-05T04:33:32.961-08:00</updated><title type='text'>Java Tutorials</title><content type='html'>New To Java?&lt;br /&gt;Want to be a Java Expert?&lt;br /&gt;Go through the following website to master Java.&lt;br /&gt;Work out the code samples given here..&lt;br /&gt;&lt;a href="http://www.java2s.com"&gt;www.java2s.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-2501278015966099816?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/2501278015966099816/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=2501278015966099816' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2501278015966099816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2501278015966099816'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/01/java-tutorials.html' title='Java Tutorials'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-1618000971269660425</id><published>2009-01-05T04:26:00.000-08:00</published><updated>2009-01-05T04:27:08.264-08:00</updated><title type='text'>RealPlayer</title><content type='html'>Want RealPlayer Gold?&lt;br /&gt;Get it here...&lt;br /&gt;&lt;a href="http://download.softpedia.com/dl/24d7b3cf4af268c3b95abf73cef06bc5/495bfc04/100008186/software/multimedia/video/RealPlayer11GOLD.exe"&gt;http://download.softpedia.com/dl/24d7b3cf4af268c3b95abf73cef06bc5/495bfc04/100008186/software/multimedia/video/RealPlayer11GOLD.exe&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-1618000971269660425?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/1618000971269660425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=1618000971269660425' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/1618000971269660425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/1618000971269660425'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/01/realplayer.html' title='RealPlayer'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-2608243398335094184</id><published>2009-01-05T04:25:00.000-08:00</published><updated>2009-01-05T04:26:16.392-08:00</updated><title type='text'>CCleaner</title><content type='html'>Want to clear cache and fix&lt;br /&gt;Registry Problems.&lt;br /&gt;Get the CCleaner from the following link&lt;br /&gt;&lt;a href="http://download.piriform.com/ccsetup214.exe"&gt;ccleaner&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-2608243398335094184?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/2608243398335094184/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=2608243398335094184' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2608243398335094184'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2608243398335094184'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/01/ccleaner.html' title='CCleaner'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-8136166685819153084</id><published>2009-01-05T04:21:00.000-08:00</published><updated>2009-01-05T04:23:35.513-08:00</updated><title type='text'>Want To Download Internet Download Manager 5.15?</title><content type='html'>Internet Download Manager (IDM) is an easy to use tool to increase download speeds by up to 500 percent, resume and schedule downloads. According to the opinions of IDM users Internet Download Manager is a perfect accelerator program to download your favorite software, games, cd, dvd and mp3 music, movies, shareware and freeware programs much faster!&lt;br /&gt;&lt;br /&gt; Internet Download Manager has wide customization capabilities, downloadable skins, visual XP styles, multilingual interface, and supports proxy servers, FTP, HTTP and HTTPS protocols, firewalls, file redirects, cookies, directories with authorization, ZIP preview, categories, MP3 audio and MPEG video content processing and a large number of server platforms. IDM integrates seamlessly into Microsoft Internet Explorer, Netscape, AOL, MSN Explorer, Opera, and Mozilla browsers to automatically handle your downloads. You can also drag and drop files or use Internet Download Manager from command line. Internet Download Manager can dial your modem at the set time, download the files you want, then hang up or even shut down your computer when it's done.&lt;br /&gt;&lt;br /&gt;Get this from the following Link&lt;br /&gt;&lt;a href="http://mirror2.internetdownloadmanager.com/idman515.exe"&gt;IDM 5.15&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-8136166685819153084?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/8136166685819153084/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=8136166685819153084' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/8136166685819153084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/8136166685819153084'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/01/want-to-download-internet-download.html' title='Want To Download Internet Download Manager 5.15?'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-3544660422853277090</id><published>2009-01-05T04:20:00.001-08:00</published><updated>2009-01-05T04:21:30.575-08:00</updated><title type='text'>Want to Download Latest Firefox 3 .0.5?</title><content type='html'>Click this link to download&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Mozilla FireFox 3.0.5&lt;/span&gt;&lt;br /&gt;&lt;a href="http://mozilla.mtk.nao.ac.jp/pub/mozilla.org//firefox/releases/3.0.5/win32/en-US/Firefox%20Setup%203.0.5.exe"&gt;Mozilla Firefox 3.0.5&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-3544660422853277090?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/3544660422853277090/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=3544660422853277090' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/3544660422853277090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/3544660422853277090'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/01/want-to-download-latest-firefox-3-05.html' title='Want to Download Latest Firefox 3 .0.5?'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-632528869017485735</id><published>2009-01-05T04:15:00.000-08:00</published><updated>2009-01-05T04:19:33.117-08:00</updated><title type='text'>Want To Download NetBeans 6.5 with JavaFX?</title><content type='html'>Click this link to download for &lt;br /&gt;Windows XP &lt;br /&gt;&lt;br /&gt;&lt;a href="http://cds-esd.sun.com/ESD6/JSCDL/javafx/1.0.1/netbeans-6.5-javafx-windows.exe?AuthParam=1231119992_275563df6671d15ff2998f1c983c4766&amp;TicketId=nod0BFwURX9%2Bn%2BQulE6fV5%2BYcw%3D%3D&amp;GroupName=CDS&amp;FilePath=/ESD6/JSCDL/javafx/1.0.1/netbeans-6.5-javafx-windows.exe&amp;File=netbeans-6.5-javafx-windows.exe"&gt; NetBeans 6.5 With JavaFX&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-632528869017485735?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/632528869017485735/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=632528869017485735' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/632528869017485735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/632528869017485735'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/01/want-to-download-netbeans-65-with.html' title='Want To Download NetBeans 6.5 with JavaFX?'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-6613147908491885278</id><published>2009-01-03T18:50:00.000-08:00</published><updated>2009-01-03T18:55:24.824-08:00</updated><title type='text'>wireless Programming with JavA</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_CDUMbPn62jQ/SWAkh6CGBsI/AAAAAAAAAAM/nwvKZNP87IQ/s1600-h/untitled.GIF"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 258px; height: 320px;" src="http://4.bp.blogspot.com/_CDUMbPn62jQ/SWAkh6CGBsI/AAAAAAAAAAM/nwvKZNP87IQ/s320/untitled.GIF" border="0" alt=""id="BLOGGER_PHOTO_ID_5287266127465285314" /&gt;&lt;/a&gt;&lt;br /&gt;http://ifile.it/vdgah9e/0672321351.rar&lt;br /&gt;&lt;a href="http://ifile.it/vdgah9e/0672321351.rar"&gt;&lt;br /&gt;http://www.filefactory.com/file/449420/n/0672321351_rar &lt;br /&gt;&lt;a href="http://www.filefactory.com/file/449420/n/0672321351_rar "&gt;&lt;/a&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-6613147908491885278?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/6613147908491885278/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=6613147908491885278' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/6613147908491885278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/6613147908491885278'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/01/wireless-programming-with-java.html' title='wireless Programming with JavA'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_CDUMbPn62jQ/SWAkh6CGBsI/AAAAAAAAAAM/nwvKZNP87IQ/s72-c/untitled.GIF' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-1988072063916228995</id><published>2009-01-03T04:25:00.001-08:00</published><updated>2009-01-03T04:25:26.208-08:00</updated><title type='text'>Security Issues with the Applet</title><content type='html'>Java applet is run inside a web browser. But an applet is restricted in some areas, until it has been deemed trustworthy by the end user. The security restriction is provided for protecting the user by malicious code, like copy important information from the hard disk or deleting the files. Generally, applets are loaded from the Internet and they are prevented from: the writing and reading the files on client side. Some security issues to applet are following :&lt;br /&gt;&lt;br /&gt;    * Applets are loaded over the internet and they are prevented to make open network connection to any computer, except for the host, which provided the .class file. Because the html page come from the host or the host specified codebase parameter in the applet tag, with codebase taking precedence.&lt;br /&gt;          &lt;br /&gt;    * They are also prevented from starting other programs on the client. That means any applet, which you visited, cannot start any rogue process on you computer. In UNIX, applets cannot start any exec or fork processes. Applets are not allowed to invoke any program to list the contents of your file system that means it cant invoke System.exit() function to terminate you web browser. And they are not allowed to manipulate the threads outside the applets own thread group.&lt;br /&gt;          &lt;br /&gt;    * Applets are loaded over the net. A web browser uses only one class loader that’s established at start up. Then the system class loader can not be overloaded, overridden, extended, replaced. Applet is not allowed to create the reference of their own class loader. &lt;br /&gt;           &lt;br /&gt;    * They cant load the libraries or define the native method calls. But if it can define native method calls then that would give the applet direct access to underlying computer.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-1988072063916228995?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/1988072063916228995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=1988072063916228995' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/1988072063916228995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/1988072063916228995'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/01/security-issues-with-applet.html' title='Security Issues with the Applet'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-2798702951076197015</id><published>2009-01-03T04:19:00.000-08:00</published><updated>2009-01-03T04:23:04.768-08:00</updated><title type='text'>JSF Interview Questions - 1</title><content type='html'>&lt;span style="font-weight: bold;"&gt;1)What is JavaServer Faces?&lt;/span&gt;&lt;br /&gt;JavaServer Faces (JSF) is a user interface (UI) framework for Java web applications. It is designed to significantly ease the burden of writing and maintaining applications that run on a Java application server and render their UIs back to a target client. JSF provides ease-of-use in the following ways:&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;Makes it easy to construct a UI from a set of reusable UI components&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;Simplifies migration of application data to and from the UI&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;Helps manage UI state across server requests&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;Provides a simple model for wiring client-generated events to server-side application code&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;Allows custom UI components to be easily built and re-used&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Most importantly, JSF establishes standards which are designed to be leveraged by tools to provide a developer experience which is accessible to a wide variety of developer types, ranging from corporate developers to systems programmers. A "corporate developer" is characterized as an individual who is proficient in writing procedural code and business logic, but is not necessarily skilled in object-oriented programming. A "systems programmer" understands object-oriented fundamentals, including abstraction and designing for re-use. A corporate developer typically relies on tools for development, while a system programmer may define his or her tool as a text editor for writing code. Therefore, JSF is designed to be tooled, but also exposes the framework and programming model as APIs so that it can be used outside of tools, as is sometimes required by systems programmers.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2)How to pass a parameter to the JSF application using the URL string?&lt;/span&gt;&lt;br /&gt;if you have the following URL: http://your_server/your_app/product.jsf?id=777, you access the passing parameter id with the following lines of java code:&lt;br /&gt;FacesContext fc = FacesContext.getCurrentInstance();&lt;br /&gt;String id = (String) fc.getExternalContext().getRequestParameterMap().get("id");&lt;br /&gt;From the page, you can access the same parameter using the predefined variable with name param. For example,&lt;br /&gt;&lt;h:outputtext value="#{param['id']}"&gt;&lt;br /&gt;Note: You have to call the jsf page directly and using the servlet mapping.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3)How to add context path to URL for outputLink?&lt;/span&gt;&lt;br /&gt;Current JSF implementation does not add the context path for outputLink if the defined path starts with '/'. To correct this problem use #{facesContext.externalContext.requestContextPath} prefix at the beginning of the outputLink value attribute. For example: &lt;h:outputlink value="#{facesContext.externalContext.requestContextPath}/myPage.faces"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4)How to get current page URL from backing bean?&lt;/span&gt;&lt;br /&gt;You can get a reference to the HTTP request object via FacesContext like this:&lt;br /&gt;FacesContext fc = FacesContext.getCurrentInstance();&lt;br /&gt;HttpServletRequest request = (HttpServletRequest) fc.getExternalContext().getRequest(); and then use the normal request methods to obtain path information. Alternatively,&lt;br /&gt;context.getViewRoot().getViewId();&lt;br /&gt;will return you the name of the current JSP (JSF view IDs are basically just JSP path names).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5)How to access web.xml init parameters from java code?&lt;/span&gt;&lt;br /&gt;You can get it using externalContext getInitParameter method. For example, if you have: &lt;context-param&gt; &lt;param-name&gt;connectionString&lt;/param-name&gt; &lt;param-value&gt;jdbc:oracle:thin:scott/tiger@cartman:1521:O901DB&lt;/param-value&gt;&lt;/context-param&gt;&lt;br /&gt;You can access this connection string with:&lt;br /&gt;FacesContext fc = FacesContext.getCurrentInstance();&lt;br /&gt;String connection = fc.getExternalContext().getInitParameter("connectionString");&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;6)How to access web.xml init parameters from jsp page?&lt;/span&gt;&lt;br /&gt;You can get it using initParam pre-defined JSF EL valiable.&lt;br /&gt;For example, if you have: &lt;context-param&gt; &lt;param-name&gt;productId&lt;/param-name&gt; &lt;param-value&gt;2004Q4&lt;/param-value&gt;&lt;/context-param&gt;&lt;br /&gt;You can access this parameter with #{initParam['productId']} . For example:&lt;br /&gt;Product Id: &lt;h:outputtext value="#{initParam['productId']}"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;7)How to terminate the session?&lt;/span&gt;&lt;br /&gt;In order to terminate the session you can use session invalidate method.&lt;br /&gt;This is an example how to terminate the session from the action method of a backing bean:&lt;br /&gt;Public String logout() {&lt;br /&gt; FacesContext fc = FacesContext.getCurrentInstance();&lt;br /&gt; HttpSession session = (HttpSession) fc.getExternalContext().getSession(false);&lt;br /&gt; session.invalidate();&lt;br /&gt; return "login_page";&lt;br /&gt;}&lt;br /&gt;The following code snippet allows to terminate the session from the jsp page:&lt;br /&gt;&lt;% session.invalidate(); %&gt; &lt;c:redirect url="loginPage.jsf"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;8)How to implement "Please, Wait..." page?&lt;/span&gt;&lt;br /&gt;The client-side solution might be very simple. You can wrap the jsp page (or part of it you want to hide) into the DIV, then you can add one more DIV that appears when user clicks the submit button. This DIV can contain the animated gif you speak about or any other content.&lt;br /&gt;Scenario: when user clicks the button, the JavaScript function is called. This function hides the page and shows the "Wait" DIV. You can customize the look-n-fill with CSS if you like.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;10)How to download PDF file with JSF?&lt;/span&gt;&lt;br /&gt;This is an code example how it can be done with action listener of the backing bean.&lt;br /&gt;Add the following method to the backing bean:&lt;br /&gt;public void viewPdf(ActionEvent event) {&lt;br /&gt;String filename = "filename.pdf";&lt;br /&gt;// use your own method that reads file to the byte array&lt;br /&gt;byte[] pdf = getTheContentOfTheFile(filename);&lt;br /&gt;FacesContext faces = FacesContext.getCurrentInstance();&lt;br /&gt;HttpServletResponse response = (HttpServletResponse) faces.getExternalContext().getResponse();&lt;br /&gt;response.setContentType("application/pdf");&lt;br /&gt;response.setContentLength(pdf.length);&lt;br /&gt;response.setHeader( "Content-disposition", "inline; filename=\""+fileName+"\"");&lt;br /&gt;try {&lt;br /&gt; ServletOutputStream out;&lt;br /&gt; out = response.getOutputStream();&lt;br /&gt; out.write(pdf);&lt;br /&gt;} catch (IOException e) {&lt;br /&gt; e.printStackTrace();&lt;br /&gt;}&lt;br /&gt;faces.responseComplete();&lt;br /&gt;}&lt;br /&gt;This is a jsp file snippet:&lt;br /&gt;&lt;h:commandbutton immediate="true" actionlistener="#{backingBean.viewPdf}" value=""&gt;&lt;br /&gt;&lt;br /&gt;&lt;/h:commandbutton&gt;&lt;/f:loadbundle&gt;&lt;/c:redirect&gt;&lt;/h:outputtext&gt;&lt;/h:outputlink&gt;&lt;/h:outputtext&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-2798702951076197015?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/2798702951076197015/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=2798702951076197015' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2798702951076197015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2798702951076197015'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/01/jsf-interview-questions-1.html' title='JSF Interview Questions - 1'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-7173425961891791932</id><published>2009-01-03T04:17:00.000-08:00</published><updated>2009-01-03T04:18:52.837-08:00</updated><title type='text'>JNI Interview Questions &amp; Answers</title><content type='html'>&lt;span style="font-weight: bold;"&gt;1)How to debug JNI code in CVM?&lt;/span&gt;&lt;br /&gt;Porting Guide for the CDC and the Foundation Profile from SUN has a chapter on "C Debugging with GDB".&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2)How can I check the status of a java Thread using JVMDI?&lt;/span&gt;&lt;br /&gt;// ThreadTool.java class ThreadTool { public static final int THREAD_STATUS_UNKNOWN = -1; public static final int THREAD_STATUS_ZOMBIE = 0; ...&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3)Is there a COM Bridge that lets Windows developers create native client applications that access Enterprise JavaBeansTM (EJBTM) components deployed on a J2EE App server?&lt;/span&gt;&lt;br /&gt;Yes. Take a look at: JavaTM 2 Platform, Enterprise Edition Client Access Services (J2EETM CAS) COM Bridge 1.0 Early Access.&lt;br /&gt;&lt;br /&gt;4)What is necessary to have an applet call a native method? DLL installation, code signing, specific security permissions needed.&lt;br /&gt;After more tries I solved the problem. I used your posted response about such a thing for Netscape. But was difficult to use that answer because Netscape...&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5)JDK 1.4 has introduced the concept of direct buffers. Where can I get more information and/or samples for manipulating direct buffers?&lt;/span&gt;&lt;br /&gt;JNI has been enhanced in v 1.4 to reflect a new feature of the java.nio package: direct buffers. The contents of a direct buffer can, potentially, reside...&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;6)What are the basic techniques for debugging mixed java and C++ code?&lt;/span&gt;&lt;br /&gt;Debugging integrated Java and C/C++ code illustrates the two basic approaches using JNI (call C/C++ code from java, embed jvm in C/C++ code) and ways to...&lt;br /&gt;EJB-JNI-Legacy Integration (C++ API) we have existing System in C++.We want to use Existing in the intranet/internet. We are using JNI to use existing System. And then we are calling JNI Classes in...&lt;br /&gt;EJBs are supposed to be portable between different app servers who comply with the Sun's specifications for compliant EJB containers. Because of this reason,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;7)Anyone know of a way of marking a Java thread as being a demon if it was "created" through the JNI AttachCurrentThread call?&lt;/span&gt;&lt;br /&gt;Through a new method called AttachCurrentThreadAsDaemon.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;8)What is Signal Chaining mechanism that has been implemented in JDK 1.4?&lt;/span&gt;&lt;br /&gt;Signal-chaining enables the Java Platform to better interoperate with native code that installs its own signal handlers. The facility works on both Solaris and Linux platforms.&lt;br /&gt;&lt;br /&gt;The signal-chaining facility was introduced to remedy a problem with signal handling in previous versions of the Java Hotspot VM. Prior to version 1.4, the Java Hotspot VM would not allow application-installed signal handlers for certain signals including, for example, SIGBUS, SIGSEGV, SIGILL, etc, since those signal handlers could conflict with the signal handlers used internally by the Java Hotspot VM.&lt;br /&gt;The signal-chaining facility offers:&lt;br /&gt;A. Support for pre-installed signal handlers when the Hotspot VM is created.&lt;br /&gt;B. Support for signal handler installation after the Hotspot VM is created, inside JNI code or from another native thread.&lt;br /&gt;&lt;br /&gt;Pre-installed signal handlers (A) are supported by means of saving existing signal handlers, for signals that are used by the VM, when the VM is first created. Later, when any of these signals are raised and found not to be targeted at the Java Hotspot VM, the pre-installed handlers are invoked. In other words, pre-installed handlers are "chained" behind the VM handlers for these signals.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;9)Is there a TCL-Java Bridge?&lt;/span&gt;&lt;br /&gt;Yes, The Tcl/Java project currently has two packages, Jacl and Tcl Blend. Jacl, which stands for Java Command Language, is a Java implementation of Tcl..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-7173425961891791932?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/7173425961891791932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=7173425961891791932' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/7173425961891791932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/7173425961891791932'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/01/jni-interview-questions-answers.html' title='JNI Interview Questions &amp; Answers'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-4646183882140798843</id><published>2009-01-03T04:15:00.000-08:00</published><updated>2009-01-03T04:17:41.146-08:00</updated><title type='text'>PHP – Variables</title><content type='html'>If you have never had any programming, Algebra, or scripting experience, then the concept of variables might be a new concept to you. A detailed explanation of variables is beyond the scope of this tutorial, but we've included a refresher crash course to guide you.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A variable is a means of storing a value, such as text string "Hello World!" or the integer value 4. A variable can then be reused throughout your code, instead of having to type out the actual value over and over again. In PHP you define a variable with the following form:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;$variable_name = Value;&lt;br /&gt;&lt;br /&gt;If you forget that dollar sign at the beginning, it will not work. This is a common mistake for new PHP programmers!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note: Also, variable names are case-sensitive, so use the exact same capitalization when using a variable. The variables $a_number and $A_number are different variables in PHP's eyes.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;A Quick Variable Example&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Say that we wanted to store the values that we talked about in the above paragraph. How would we go about doing this? We would first want to make a variable name and then set that equal to the value we want. See our example below for the correct way to do this.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PHP Code:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note for programmers: PHP does not require variables to be declared before being initialized.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PHP Variable Naming Conventions&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;There are a few rules that you need to follow when choosing a name for your PHP variables.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PHP variables must start with a letter or underscore "_".&lt;br /&gt;&lt;br /&gt;PHP variables may only be comprised of alpha-numeric characters and underscores. a-z, A-Z, 0-9, or _ .&lt;br /&gt;&lt;br /&gt;Variables with more than one word should be separated with underscores. $my_variable&lt;br /&gt;&lt;br /&gt;Variables with more than one word can also be distinguished with capitalization. $myVariable&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PHP – Echo&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As you saw in the previous lesson, the PHP command echo is a means of outputting text to the web browser. Throughout your PHP career you will be using the echo command more than any other. So let's give it a solid perusal!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Outputting a String&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To output a string, like we have done in previous lessons, use PHP echo. You can place either a string variable or you can use quotes, like we do below, to create a string that the echo function will output.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PHP Code:&lt;br /&gt;&lt;br /&gt;I love using PHP!";&lt;br /&gt;&lt;br /&gt;?&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Display:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hello!&lt;br /&gt;&lt;br /&gt;I love using PHP!&lt;br /&gt;&lt;br /&gt;In the above example we output "Hello!" without a hitch. The text we are outputting is being sent to the user in the form of a web page, so it is important that we use proper HTML syntax!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In our second echo statement we use echo to write a valid Header 5 HTML statement. To do this we simply put the &lt;h5&gt; at the beginning of the string and closed it at the end of the string. Just because you're using PHP to make web pages does not mean you can forget about HTML syntax!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Careful When Echoing Quotes!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It is pretty cool that you can output HTML with PHP. However, you must be careful when using HTML code or any other string that includes quotes! Echo uses quotes to define the beginning and end of the string, so you must use one of the following tactics if your string contains quotations:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Don't use quotes inside your string&lt;br /&gt;&lt;br /&gt;Escape your quotes that are within the string with a backslash. To escape a quote just place a backslash directly before the quotation mark, i.e. \"&lt;br /&gt;&lt;br /&gt;Use single quotes (apostrophes) for quotes inside your string.&lt;br /&gt;&lt;br /&gt;See our example below for the right and wrong use of echo:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PHP Code:&lt;br /&gt;&lt;br /&gt;I love using PHP!&lt;/h5&gt;"; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// OK because we escaped the quotes!&lt;br /&gt;&lt;br /&gt;echo "&lt;h5 class="\&amp;quot;specialH5\&amp;quot;"&gt;I love using PHP!&lt;/h5&gt;"; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// OK because we used an apostrophe '&lt;br /&gt;&lt;br /&gt;echo "&lt;h5 class="specialH5"&gt;I love using PHP!&lt;/h5&gt;"; &lt;br /&gt;&lt;br /&gt;?&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you want to output a string that includes quotations, either use an apostrophe ( ' ) or escape the quotations by placing a backslash in front of it ( \" ). The backslash will tell PHP that you want the quotation to be used within the string and NOT to be used to end echo's string.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;Echoing Variables&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Echoing variables is very easy. The PHP developers put in some extra work to make the common task of echoing all variables nearly foolproof! No quotations are required, even if the variable does not hold a string. Below is the correct format for echoing a variable.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;PHP Code:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Display:&lt;br /&gt;&lt;br /&gt;Hello Bob. My name is: 4a&lt;br /&gt;&lt;br /&gt;Echoing Variables and Text Strings&lt;br /&gt;&lt;br /&gt;You can also place variables inside of double-quoted strings (e.g. "string here and a $variable"). By putting a variable inside the quotes (" ") you are telling PHP that you want it to grab the string value of that variable and use it in the string. The example below shows an example of this cool feature.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;PHP Code:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;";&lt;br /&gt;&lt;br /&gt;echo "Hi, I'm Bob.   Who are you? $my_string&lt;br /&gt;";&lt;br /&gt;&lt;br /&gt;echo "Hi, I'm Bob.   Who are you? $my_string Bobetta";&lt;br /&gt;&lt;br /&gt;?&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Display:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hello Bob. My name is: Bobetta&lt;br /&gt;&lt;br /&gt;Hi, I'm Bob. Who are you? Hello Bob. My name is:&lt;br /&gt;&lt;br /&gt;Hi, I'm Bob. Who are you? Hello Bob. My name is: Bobetta&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;By placing variables inside a string you can save yourself some time and make your code easier to read, though it does take some getting used to. Remember to use double-quotes, single-quotes will not grab the value of the string. Single-quotes will just output the variable name to the string, like )$my_string), rather than (Hello Bob. My name is: ).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;PHP Echo - Not a Function&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Echo is not a function, rather it is a language construct. When you use functions in PHP, they have a very particular form, which we will be going over later. For now, just know that echo is a special tool that you'll come to know and love!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-4646183882140798843?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/4646183882140798843/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=4646183882140798843' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/4646183882140798843'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/4646183882140798843'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/01/php-variables.html' title='PHP – Variables'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-3047765597958347944</id><published>2009-01-03T04:14:00.000-08:00</published><updated>2009-01-03T04:15:17.549-08:00</updated><title type='text'>Java Reporting Made Easy</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Overview&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;ReportMill is the best Java application reporting tool available for dynamically generating reports and web pages from Java applications in formats such as PDF, HTML, Flash, Excel and more. ReportMill combines an easy-to-use page layout application and a powerful Java API in a single compact jar file, which is remarkably easy to integrate into your custom Java application.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Embedded Reporting&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Running as Java code inside your application, ReportMill seamlessly harvests data directly from any Java dataset, whether EJBs, POJOs (Plain Old Java Objects), Java Collection classes, JDBC ResultSets or any combination of these. This is much more efficient than traditional reporting tools, which often require developers to repackage existing Java datasets as the original SQL query, then force a redundant refetch and some potentially risky inter-process communication.&lt;br /&gt;&lt;br /&gt;This architecture also provides unique access to custom business logic found in the developer's object model, providing a significant savings by reusing this code instead of forcing a rewrite in proprietary template macro languages.&lt;br /&gt;&lt;br /&gt;Powerful Design Application&lt;br /&gt;ReportMill is the only reporting tool built on top of a comprehensive page layout application . This ensures that almost any page or report design can be accommodated and also makes template design more intuitive for anyone who has made a newsletter or "For Sale" sign in any of the popular page layout applications.&lt;br /&gt; &lt;br /&gt;Downlaod The ReportMill&lt;br /&gt; &lt;span style="font-weight:bold;"&gt;&lt;br /&gt;http://reportmill.com/product/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Simple API&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Most developers need to call only three lines of ReportMill API. Since ReportMill harvests data from any Java dataset using reflection and common collections interfaces, there is no need to write any binding/feeder code, implement any interfaces or create any datasource objects.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-3047765597958347944?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/3047765597958347944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=3047765597958347944' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/3047765597958347944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/3047765597958347944'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/01/java-reporting-made-easy.html' title='Java Reporting Made Easy'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-6127448285028738698</id><published>2009-01-03T04:12:00.000-08:00</published><updated>2009-01-03T04:14:09.905-08:00</updated><title type='text'>Online Aptitude Tests</title><content type='html'>&lt;span style="font-weight:bold;"&gt;1)       Which of the following   countries has launched the solar observation satellite solar-B ?&lt;br /&gt;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;1)      Japan&lt;br /&gt;&lt;br /&gt;2)      China&lt;br /&gt;&lt;br /&gt;3)      Russia&lt;br /&gt;&lt;br /&gt;4)      USA&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2)       A Great way to fly is the media campaign of which of the following airlines?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;1)      Lufthansa&lt;br /&gt;&lt;br /&gt;2)      Fly Emirates&lt;br /&gt;&lt;br /&gt;3)      Jet Airways&lt;br /&gt;&lt;br /&gt;4)      Singapore Airlines&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;3)       Who among the following is the author as the book mein kampf?&lt;br /&gt;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;1)      Rudyard Kipling&lt;br /&gt;&lt;br /&gt;2)      Adolf Hitler&lt;br /&gt;&lt;br /&gt;3)      Arnold Toynbee&lt;br /&gt;&lt;br /&gt;4)      Charles Dickens&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;4)       Who among the following were the founders of the Vijayanagar empire?&lt;br /&gt;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;1)      Krishna Deva Raja&lt;br /&gt;&lt;br /&gt;2)      Saluva Narsimha&lt;br /&gt;&lt;br /&gt;3)      Deva Raja II&lt;br /&gt;&lt;br /&gt;4)      Harihara and Bukka&lt;br /&gt;&lt;br /&gt; &lt;span style="font-weight:bold;"&gt;&lt;br /&gt;&lt;br /&gt;5)       What is the correct expansion of the abbreviation NASA?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;1)      National Aeronautical Science Association&lt;br /&gt;&lt;br /&gt;2)      New Aeronautical and Science Agency&lt;br /&gt;&lt;br /&gt;3)      National Aeronautics and space Administration&lt;br /&gt;&lt;br /&gt;4)      None of these&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;6)       At which of the following places on the globe has the highest temperature been recorded?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;1)      Al Azizyah&lt;br /&gt;&lt;br /&gt;2)      Jacobabad&lt;br /&gt;&lt;br /&gt;3)      Cairo&lt;br /&gt;&lt;br /&gt;4)      None of these  &lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;7)       The Indio constitution is divided into how many parts?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;1)      Twenty-Two&lt;br /&gt;&lt;br /&gt;2)      Twenty&lt;br /&gt;&lt;br /&gt;3)      Eighteen&lt;br /&gt;&lt;br /&gt;4)      Sixteen&lt;br /&gt;&lt;br /&gt;           &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;8)       The first five year plan of India started in&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;1)      1952-53&lt;br /&gt;&lt;br /&gt;2)      1951-52&lt;br /&gt;&lt;br /&gt;3)      1956-57&lt;br /&gt;&lt;br /&gt;4)      1948-49&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;9)       The first Indian woman president of the Indian National Congress was&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;1)      Sarojini Naidu&lt;br /&gt;&lt;br /&gt;2)      Nellie Sengupta&lt;br /&gt;&lt;br /&gt;3)      Annie Besant&lt;br /&gt;&lt;br /&gt;4)      Aruna Asaf Ali&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;10)   The first bowler to take all the 10 wickets in a test innings was&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;1)      Anil Kumble&lt;br /&gt;&lt;br /&gt;2)      Richard Hadlee&lt;br /&gt;&lt;br /&gt;3)      Jim Laker&lt;br /&gt;&lt;br /&gt;4)      Shane Warne&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;11)   The first Indian tennis player to win a Grand Slam event&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;1)      Ramanathan Krishanan&lt;br /&gt;&lt;br /&gt;2)      Mahesh Bhupati&lt;br /&gt;&lt;br /&gt;3)      Ramesh Krishanan&lt;br /&gt;&lt;br /&gt;4)      Leander paes&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt; &lt;br /&gt;&lt;br /&gt;12)   The first train in India from Bombay to Thane ran in&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;1)      1857&lt;br /&gt;&lt;br /&gt;2)      1855&lt;br /&gt;&lt;br /&gt;3)      1860&lt;br /&gt;&lt;br /&gt;4)      1853  &lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;13)   How many PIN code zone are there in India?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;1)      7&lt;br /&gt;&lt;br /&gt;2)      9&lt;br /&gt;&lt;br /&gt;3)      8&lt;br /&gt;&lt;br /&gt;4)      6&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;14)   The film DON is a remake of an old film of the same name. Who is the director of the present DON?&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1)      Shahrukh Khan&lt;br /&gt;&lt;br /&gt;2)      Rakesh Mehra&lt;br /&gt;&lt;br /&gt;3)      Ram Gopal Verma&lt;br /&gt;&lt;br /&gt;4)      Farhan Akhtar&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;15)   The new Chief Minister of the Jharkhand is&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;1)      Arjun Munda&lt;br /&gt;&lt;br /&gt;2)      Madhu Koda&lt;br /&gt;&lt;br /&gt;3)      Shibu Soren&lt;br /&gt;&lt;br /&gt;4)      None of these&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Ans:&lt;br /&gt; 1) 1        2) 4             3) 2               4) 4               5) 3            &lt;br /&gt; 6) 1        7) 1              8) 2               9) 1             10) 3&lt;br /&gt;&lt;br /&gt;11) 1     12) 4             13) 3             14) 4             15) 2  &lt;span style="font-style:italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-6127448285028738698?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/6127448285028738698/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=6127448285028738698' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/6127448285028738698'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/6127448285028738698'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/01/online-aptitude-tests.html' title='Online Aptitude Tests'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-2582596775522314057</id><published>2009-01-03T04:11:00.000-08:00</published><updated>2009-01-03T04:12:26.197-08:00</updated><title type='text'>Hibernate Interview Questions</title><content type='html'>&lt;span style="font-weight:bold;"&gt;1.What is Hibernate?&lt;/span&gt;&lt;br /&gt;Hibernate is a powerful, high performance object/relational persistence and query service. This lets the users to develop persistent classes following object-oriented principles such as association, inheritance, polymorphism, composition, and collections.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2.What is ORM?&lt;/span&gt;&lt;br /&gt;ORM stands for Object/Relational mapping. It is the programmed and translucent perseverance of objects in a Java application in to the tables of a relational database using the metadata that describes the mapping between the objects and the database. It works by transforming the data from one representation to another.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;3.What does an ORM solution comprises of?&lt;/span&gt;&lt;br /&gt;It should have an API for performing basic CRUD (Create, Read, Update, Delete) operations on objects of persistent classes&lt;br /&gt;Should have a language or an API for specifying queries that refer to the classes and the properties of classes&lt;br /&gt;An ability for specifying mapping metadata&lt;br /&gt;It should have a technique for ORM implementation to interact with transactional objects to perform dirty checking, lazy association fetching, and other optimization functions&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;4.What are the different levels of ORM quality?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;There are four levels defined for ORM quality.&lt;br /&gt;&lt;br /&gt;Pure relational&lt;br /&gt;&lt;br /&gt;Light object mapping&lt;br /&gt;&lt;br /&gt;Medium object mapping&lt;br /&gt;&lt;br /&gt;Full object mapping&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;5.What is a pure relational ORM?&lt;/span&gt;&lt;br /&gt;The entire application, including the user interface, is designed around the relational model and SQL-based relational operations.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;6.What is a meant by light object mapping?&lt;/span&gt;&lt;br /&gt;The entities are represented as classes that are mapped manually to the relational tables. The code is hidden from the business logic using specific design patterns. This approach is successful for applications with a less number of entities, or applications with common, metadata-driven data models. This approach is most known to all.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;7.What is a meant by medium object mapping?&lt;/span&gt;&lt;br /&gt;The application is designed around an object model. The SQL code is generated at build time. And the associations between objects are supported by the persistence mechanism, and queries are specified using an object-oriented expression language. This is best suited for medium-sized applications with some complex transactions. Used when the mapping exceeds 25 different database products at a time.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;8.What is meant by full object mapping?&lt;/span&gt;&lt;br /&gt;Full object mapping supports sophisticated object modeling: composition, inheritance, polymorphism and persistence. The persistence layer implements transparent persistence; persistent classes do not inherit any special base class or have to implement a special interface. Efficient fetching strategies and caching strategies are implemented transparently to the application.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;9.What are the benefits of ORM and Hibernate?&lt;/span&gt;&lt;br /&gt;There are many benefits from these. Out of which the following are the most important one.&lt;br /&gt;Productivity – Hibernate reduces the burden of developer by providing much of the functionality and let the developer to concentrate on business logic.&lt;br /&gt;&lt;br /&gt;Maintainability – As hibernate provides most of the functionality, the LOC for the application will be reduced and it is easy to maintain. By automated object/relational persistence it even reduces the LOC.&lt;br /&gt;&lt;br /&gt;Performance – Hand-coded persistence provided greater performance than automated one. But this is not true all the times. But in hibernate, it provides more optimization that works all the time there by increasing the performance. If it is automated persistence then it still increases the performance.&lt;br /&gt;&lt;br /&gt;Vendor independence – Irrespective of the different types of databases that are there, hibernate provides a much easier way to develop a cross platform application.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;10.How does hibernate code looks like?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Session session = getSessionFactory().openSession();&lt;br /&gt;Transaction tx = session.beginTransaction();&lt;br /&gt;MyPersistanceClass mpc = new MyPersistanceClass ("Sample App");&lt;br /&gt;session.save(mpc);&lt;br /&gt;tx.commit();&lt;br /&gt;session.close();&lt;br /&gt;&lt;br /&gt;The Session and Transaction are the interfaces provided by hibernate. There are many other interfaces besides this.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-2582596775522314057?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/2582596775522314057/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=2582596775522314057' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2582596775522314057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2582596775522314057'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/01/hibernate-interview-questions.html' title='Hibernate Interview Questions'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-6672885208827379956</id><published>2009-01-03T04:10:00.000-08:00</published><updated>2009-01-03T04:11:15.611-08:00</updated><title type='text'>JMS Questions &amp; Answers</title><content type='html'>&lt;span style="font-weight:bold;"&gt;1.What are the advantages of JMS?&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;                         JMS is asynchronous in nature. Thus not all the pieces need to be up all the time for the application to function as a whole. Even if the receiver is down the MOM will store the messages on it's behalf and will send them once it comes back up.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2.What is the difference between topic and queue?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;                          A topic is typically used for one to many messaging i.e. it supports publish subscribe model of messaging. While queue is used for one-to-one messaging i.e. it supports Point-to-Point Messaging.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;3.What is the use of Message object?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;                         Message is a lightweight message having only header and properties and no payload.      &lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;4.What are the two different types of messaging models that are supported by JMS?&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;1.       Point-to-Point&lt;br /&gt;2.        Publish and Subscribe.&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;5.What information is stored in the Header of a ‘Message’?&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;                          Message identification and routing information.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;6.What are the types of acknowledgments?&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;    1) Acknowledgment by commits. – Acknowledgement happens automatically when a transaction is committed.&lt;br /&gt;&lt;br /&gt;2) Session.AUTO_ACKNOWLEDGE&lt;br /&gt;&lt;br /&gt;3) Session.CLIENT_ACKNOWLEDGE – client must call the acknowledge( ) method&lt;br /&gt;&lt;br /&gt;            4) Session.DUPS_OK_ACKNOWLEDGE –Session acknowledges the message after it has been delivered. This may result in the delivery of some duplicate messages if the JMS provider fails.&lt;br /&gt;&lt;br /&gt;           &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;7.What happens to messages if a transaction is rolled back?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;                             All consumed messages are re-delivered.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;8.What is text message?&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;                            Text messages contain String messages. It is useful for exchanging textual data and complex character data like XML.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;9.What is the Role of the JMS Provider?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;                            The JMS provider handles security of the messages, data conversion and the client triggering. The JMS provider specifies the level of encryption and the security level of the message, the best data type for the non-JMS client.&lt;br /&gt;&lt;br /&gt; &lt;span style="font-weight:bold;"&gt;&lt;br /&gt;&lt;br /&gt;10.What are the advantages of JMS?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;                            One of the principal advantages of JMS messaging is that it's asynchronous. Thus not all the pieces need to be up all the time for the application to function as a whole.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-6672885208827379956?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/6672885208827379956/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=6672885208827379956' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/6672885208827379956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/6672885208827379956'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2009/01/jms-questions-answers.html' title='JMS Questions &amp; Answers'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-4415744457395066175</id><published>2008-12-31T20:09:00.000-08:00</published><updated>2008-12-31T20:11:42.864-08:00</updated><title type='text'>Excellent J2ME E books Links</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Disclaimer:&lt;br /&gt;The links shown here are obtained from internet.&lt;br /&gt;The content provided in this website are hosted in the external server and we are not responsible for any broken links or materials.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;proj2mepolish&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;http://ifile.it/pr9h7q/pro.j2me.polish_.op...-1590595033.rar&lt;br /&gt;http://ifile.it/q39xg2/1590595033.zip&lt;br /&gt;http://rapidshare.de/files/35939342/1590595033.zip&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Java complete reference&lt;/span&gt;&lt;br /&gt;http://rapidshare.com/files/121677130/0072227109.rar&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;crack the J2ME code&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;http://rapidshare.de/files/21096950/0764548859.zip&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;SAMS J2ME in 21 days&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;http://rapidshare.com/files/10032048/Sams....ok-TLFeBOOK.zip (Password: ebookspyder.net )&lt;br /&gt;http://ifile.it/a26fdl/sams.teach.yourself...ok-tlfebook.zip (Password: ebookspyder.net )&lt;br /&gt;http://rapidshare.de/files/12164170/0672321424.zip&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Core J2ME&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;http://www.filefactory.com/file/8e0068/&lt;br /&gt;http://rapidshare.com/files/1175732/___PRe...y-aND-MiDP_.rar&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;wireless J2ME Programming&lt;/span&gt;&lt;br /&gt;http://ifile.it/9bfurc/13-044914-8.rar&lt;br /&gt;http://www.megaupload.com/?d=XJT6NFKM&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://rapidshare.com/files/66049945/smjampdt.rar&lt;br /&gt;http://rapidshare.com/files/66049907/smjampdt.r00&lt;br /&gt;http://rapidshare.com/files/66049891/smjampdt.r01&lt;br /&gt;http://rapidshare.com/files/66049940/smjampdt.r02&lt;br /&gt;http://rapidshare.com/files/66049904/smjampdt.r03&lt;br /&gt;http://rapidshare.com/files/66049846/smjampdt.r04&lt;br /&gt;http://rapidshare.com/files/66049831/smjampdt.r05&lt;br /&gt;http://www.sun.com/training/catalog/courses/CDJ-460.xml&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;J2ME Gaming&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;http://www.megaupload.com/?d=BHBDZ89V&lt;br /&gt;http://rapidshare.de/files/12164204/1592001181.zip&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Enterprise J2ME&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;http://ifile.it/ynokzf/ebc_prentice_hall_-...-0131405306.rar&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Pro J2ME MMAPI&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://ifile.it/7umjzi/apress.pro.java.me....6.ebook-bbl.rar&lt;br /&gt;&lt;br /&gt;http://rapidshare.com/files/1365312/VGoyal.rar&lt;br /&gt;&lt;br /&gt;http://rapidshare.com/files/1114128/Apress...6.eBook-BBL.rar&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Progamming Symbian os&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;http://ifile.it/i8uvr9/javamesymb.rar&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;J2ME&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;http://ifile.it/btrcnye/0471390658.zip&lt;br /&gt;http://rapidshare.com/files/149376391/0471390658.zip&lt;br /&gt;http://rapidshare.com/files/147689933/0471390658.zip&lt;br /&gt;http://www.filefactory.com/file/a537d4/n/0471390658_zip&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Beginning Mobile prg&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://rapidshare.com/files/148070880/BMPGP.rar&lt;br /&gt;hay chm file (4 part)&lt;br /&gt;http://rapidshare.com/files/146920474/Sams...26655.part1.rar&lt;br /&gt;http://rapidshare.com/files/146921200/Sams...26655.part2.rar&lt;br /&gt;http://rapidshare.com/files/146921949/Sams...26655.part3.rar&lt;br /&gt;http://rapidshare.com/files/146919746/Sams...26655.part4.rar&lt;br /&gt;(pass: freetoall)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-4415744457395066175?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/4415744457395066175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=4415744457395066175' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/4415744457395066175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/4415744457395066175'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/excellent-j2me-e-books-links.html' title='Excellent J2ME E books Links'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-3728104650637808128</id><published>2008-12-31T14:11:00.002-08:00</published><updated>2008-12-31T14:13:52.056-08:00</updated><title type='text'>Networking Questions</title><content type='html'>&lt;span style="font-weight:bold;"&gt;1. What is the difference between URL instance and URLConnection instance?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;      A URL instance represents the location of a resource, and a URLConnection instance represents a link for accessing or communicating with the resource at the location.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;   2. How do I make a connection to URL?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;      You obtain a URL instance and then invoke openConnection on it. URLConnection is an abstract class, which means you can't directly create instances of it using a constructor. We have to invoke openConnection method on a URL instance, to get the right kind of connection for your URL. Eg. URL url;&lt;br /&gt;&lt;br /&gt;      URLConnection connection;&lt;br /&gt;          try{ url = new URL("...");&lt;br /&gt;              connection = url.openConnection();&lt;br /&gt;          }catch (MalFormedURLException e) { }&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;   3. What Is a Socket?&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;      A socket is one end-point of a two-way communication link between two programs running on the network. A socket is bound to a port number so that the TCP layer can identify the application that data is destined to be sent. Socket classes are used to represent the connection between a client program and a server program. The java.net package provides two classes--Socket and ServerSocket--which implement the client side of the connection and the server side of the connection, respectively.&lt;br /&gt; &lt;span style="font-weight:bold;"&gt;  4. What information is needed to create a TCP Socket?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;      The Local System?s IP Address and Port Number. And the Remote System's IPAddress and Port Number.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;   5. What are the two important TCP Socket classes?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;      Socket and ServerSocket. ServerSocket is used for normal two-way socket communication. Socket class allows us to read and write through the sockets. getInputStream() and getOutputStream() are the two methods available in Socket class.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;   6. When MalformedURLException and UnknownHostException throws?&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;      When the specified URL is not connected then the URL throw MalformedURLException and If InetAddress? methods getByName and getLocalHost are unable to resolve the host name they throw an UnknownHostException.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;   7. What does RMI stand for?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;      It stands for Remote Method Invocation.&lt;br /&gt;  &lt;span style="font-weight:bold;"&gt;&lt;br /&gt; 8. What is RMI?&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;      RMI is a set of APIs that allows to build distributed applications. RMI uses interfaces to define remote objects to turn local method invocations into remote method invocations.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-3728104650637808128?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/3728104650637808128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=3728104650637808128' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/3728104650637808128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/3728104650637808128'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/networking-questions.html' title='Networking Questions'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-5194185380788379977</id><published>2008-12-31T14:11:00.001-08:00</published><updated>2008-12-31T14:11:37.898-08:00</updated><title type='text'>Data Structure- Frequently Asked Questions</title><content type='html'>&lt;span style="font-weight:bold;"&gt;1.) What is Heap data structure?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    The binary heap data structures is an array that can be viewed as a complete binary tree. Each node of the binary tree corresponds to an element of the array. The array is completely filled on all levels except possibly lowest.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2.) What are the major data structures used in the following areas : RDBMS, Network data model &amp; Hierarchical data model?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    1. RDBMS Array (i.e. Array of structures)&lt;br /&gt;    2. Network data model Graph&lt;br /&gt;    3. Hierarchical data model Trees.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;3.) Why is the isEmpty() member method called?&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;    The isEmpty() member method is called within the dequeue process to determine if there is an item in the queue to be removed i.e. isEmpty() is called to decide whether the queue has at least one element. This method is called by the dequeue() method before returning the front element.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;4.) What method is used to place a value onto the top of a stack?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    push() method, Push is the direction that data is being added to the stack. push() member method places a value onto the top of a stack.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;5.) What is Linked List ?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    Linked List is one of the fundamental data structures. It consists of a sequence of? nodes, each containing arbitrary data fields and one or two (”links”) pointing to the next and/or previous nodes. A linked list is a self-referential datatype because it contains a pointer or link to another data of the same type. Linked lists permit insertion and removal of nodes at any point in the list in constant time, but do not allow random access.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;6.) Difference between calloc and malloc?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    malloc: allocate n bytes calloc: allocate m times n bytes initialized to 0&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;7.) How many parts are there in a declaration statement?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    There are two main parts, variable identifier and data type and the third type is optional which is type qualifier like signed/unsigned.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;8.) What is the difference bitween NULL AND VOID pointer?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    NULL can be value for pointer type variables. VOID is a type identifier which has not size. NULL and void are not same.&lt;br /&gt;    Example: void* ptr = NULL;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-5194185380788379977?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/5194185380788379977/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=5194185380788379977' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/5194185380788379977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/5194185380788379977'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/data-structure-frequently-asked.html' title='Data Structure- Frequently Asked Questions'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-3423485711531727767</id><published>2008-12-31T14:09:00.000-08:00</published><updated>2008-12-31T14:10:08.494-08:00</updated><title type='text'>HOW TO SURVIVE A HEART ATTACK WHEN ALONE</title><content type='html'>Since many people are alone when they suffer a heart &lt;br /&gt;&lt;br /&gt;attack, without help,the person whose heart is beating&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;improperly and who begins to feel faint, has only &lt;br /&gt;&lt;br /&gt;about 10 seconds left before losing consciousness. &lt;br /&gt;&lt;br /&gt;However,these victims can help themselves by coughing &lt;br /&gt;&lt;br /&gt;repeatedly and very vigorously. A deep breath should &lt;br /&gt;&lt;br /&gt;be taken before each cough, and the cough must be deep&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;and prolonged, as when producing sputum from deep &lt;br /&gt;&lt;br /&gt;inside the chest. &lt;br /&gt;&lt;br /&gt;A breath and a cough must be repeated about every two &lt;br /&gt;&lt;br /&gt;seconds without let-up until help arrives, or until &lt;br /&gt;&lt;br /&gt;the heart is felt to be beating normally again. &lt;br /&gt;&lt;br /&gt;Deep breaths get oxygen into the lungs and coughing &lt;br /&gt;&lt;br /&gt;movements squeeze the heart and keep the blood &lt;br /&gt;&lt;br /&gt;circulating. The squeezing pressure on the heart also &lt;br /&gt;&lt;br /&gt;helps it regain normal rhythm. In this way, heart &lt;br /&gt;&lt;br /&gt;attack victims can get to a hospital. Tell as many &lt;br /&gt;&lt;br /&gt;other people as possible about this. It could save &lt;br /&gt;&lt;br /&gt;their lives!! &lt;br /&gt;&lt;br /&gt;A cardiologist says If everyone who gets this mail &lt;br /&gt;&lt;br /&gt;sends it to 10 people, you can bet that we'll save at &lt;br /&gt;&lt;br /&gt;least one life. &lt;br /&gt;&lt;br /&gt;BE A FRIEND AND PLEASE SEND &lt;br /&gt;&lt;br /&gt;THIS ARTICLE TO AS MANY FRIENDS ! AS POSSIBLE .. &lt;br /&gt;&lt;br /&gt;Thanks and Regards,&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-3423485711531727767?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/3423485711531727767/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=3423485711531727767' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/3423485711531727767'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/3423485711531727767'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/how-to-survive-heart-attack-when-alone.html' title='HOW TO SURVIVE A HEART ATTACK WHEN ALONE'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-4206915795553056975</id><published>2008-12-31T14:03:00.001-08:00</published><updated>2008-12-31T14:07:20.599-08:00</updated><title type='text'>Want to Download NetBeans IDE 6.0?</title><content type='html'>&lt;span style="font-weight:bold;"&gt;http://download.netbeans.org/netbeans/6.0/final/?cid=921887&lt;/span&gt;&lt;br /&gt;&lt;a href="http://download.netbeans.org/netbeans/6.0/final/?cid=921887"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-4206915795553056975?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/4206915795553056975/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=4206915795553056975' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/4206915795553056975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/4206915795553056975'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/want-to-download-netbeans-ide-60.html' title='Want to Download NetBeans IDE 6.0?'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-3581568699322802455</id><published>2008-12-31T13:59:00.000-08:00</published><updated>2008-12-31T14:01:28.000-08:00</updated><title type='text'>Ask Yourself These Questions</title><content type='html'>&lt;span style="font-weight:bold;"&gt;What jobs suit me?&lt;/span&gt;&lt;br /&gt;Ask yourself what is really important to you and what you are willing to do. Everyone has unique motivations and ambitions. Yours may be different from people you know. Writing your ideas down or having conversations may help you capture your thoughts.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Help making decisions&lt;/span&gt;&lt;br /&gt;Try what jobs would suit me?, a tool designed to assist you with the decision-making process. After answering a series of questions, see, which jobs might best, match your preferences. Compare two jobs side-by-side or start by considering an employment sector. Your friends and family may help you identify the key deciding factors for your career planning and may point out strengths that you take for granted. Your university careers service has a wealth of resources to support career research and planning. As well as talking to a careers adviser, you may gain insights from psychometric tests, which focus on aptitude, ability, or personality. Ask which psychometric tests are available or have a look at psychometric tests.&lt;br /&gt;&lt;br /&gt;What do different jobs entail?&lt;br /&gt;Learning what people actually do on a day-to-day basis is a crucial step in your job search. Understanding jobs is the best way to ensure you make the right decision for you. It is also essential for writing strong applications, which persuade a company or organization that you are a good fit for the job. Get more details about jobs you are considering at explore types of jobs. Be sure to read the case studies. Alternatively, you may start your job search by looking at all the related jobs in a sector at explore job sectors.&lt;br /&gt;&lt;br /&gt;How do I use my degree?&lt;br /&gt;You may want to directly apply your subject-related knowledge and skills to the world of work. Ask your university careers service for the results of previous surveys, which may provide some insight into what people with your degree have gone on to do. Visit what do graduates do? to view national survey results of what students on your course have pursued. Also, find out about options with your degree by looking at options with your subject.&lt;br /&gt;&lt;br /&gt;These 10 tips will make sure that your job chances stay on the right track.&lt;br /&gt;&lt;br /&gt;You have decided to look for a new job. But, in the haste to land your new job, you need to make sure that you have covered all the bases and approach your job search in a patient and professional manner.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;1. Develop a job search plan&lt;/span&gt;&lt;br /&gt;The old adage "fail to plan, plan to fail" is as true now as it has ever been. If you know where you want to be and the job you want, it is easier to get there. Therefore, split your job search into short- and long-term goals and identify the actions you need to take in order to reach them.&lt;br /&gt;&lt;br /&gt;The more you know about your goals and the more ways you search for your next job, the greater your chances of finding your ideal job.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2. List your achievements&lt;/span&gt;&lt;br /&gt;Employers want to know if you have the skills and experience they are looking for because they need to determine "What can this person do for my business?" They want to see evidence of jobs you have done that went above and beyond the basic requirements of your job role.&lt;br /&gt;&lt;br /&gt;Look back over the last 12 months and pick out any notable successes or special projects that you were involved in -- this can then be used to show an employer when you are at interview stage. After all, if you have a trumpet to blow then blow it.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;3. Revamp your CV&lt;/span&gt;&lt;br /&gt;Your CV is designed to do just one thing: to get you an interview. The average recruiter will only spend between 20 to 30 seconds glancing at a CV which means that you need to make an impression quickly and sell yourself.&lt;br /&gt;&lt;br /&gt;Writing a winning CV can be a challenge. But, by putting the mileage, in you will have a document that will make potential employers take action and invite you for an interview.&lt;br /&gt;&lt;br /&gt;4. Decide the type of company you want to work forYou spend almost 70 per cent of your time at work during the course of a year, so it is important that you work in an environment and culture that you can enjoy and thrive. And, that means targeting organizations that match your goals and career values.&lt;br /&gt;&lt;br /&gt;After all, you don't want to find yourself embarking on the same exercise again this time next year because you made a decision in haste.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;5. Use the Web&lt;/span&gt;&lt;br /&gt;OK, so you are already on the Web but are you really using it to your advantage as a tool to help you get your next job? No? Then post your CV online, create your own personal account on different job boards and keep up to date with developments in your chosen field by reading the online community pages which will also give information about working in different sectors within your industry. Knowledge is power, they say.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;6. Network&lt;/span&gt;&lt;br /&gt;Talk to friends, call old work colleagues and attend industry trade shows or networking events. Networking may sound daunting but the more events you attend the easier it becomes. And, the higher up the corporate ladder you move the more and more everybody knows everybody else and a referral from one of your contact could help your career.&lt;br /&gt;&lt;br /&gt;7. Customise your CV and covering letter&lt;br /&gt;It may seem tempting to simply cut and paste the same CV and covering letter to several employers, but it could cost you in the long run. Tailor your CV to the job you are applying and only include relevant information that will demonstrate how your experience links to the advertised position.&lt;br /&gt;&lt;br /&gt;For instance, if you are applying for a marketing role, make sure that your CV has a marketing bias highlighting your experience in this field.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;8. Dress to impress&lt;/span&gt;&lt;br /&gt;Shakespeare once said: "Apparel oft proclaims the man." Your image is the outer reflection of your inner self allowing people to judge and make assumptions of your personality and attitudes. Dressing successfully (or unsuccessfully) can make or break your interview. Dress for the job you want not the job you already have.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;9. Stay positive and avoid neg-heads&lt;/span&gt;&lt;br /&gt;Job seeking is never easy and there will be times when you will want to give up and resign yourself to staying in your current job. But don't give up.&lt;br /&gt;&lt;br /&gt;Experts estimate that the average job search can last anywhere from two to 10 months. So be patient and have the belief that you will find your dream job just around the corner. As Henry Ford said: "If you think you can or you think you can't, you're probably right."&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;10. Be good to yourself&lt;/span&gt;&lt;br /&gt;Searching for a job is a job in itself and, unless you take a break away from it, you could start to feel exhausted and burnt out. Don't allow it to consume your every waking moment. Allow time to relax with friends, listen to your iPod or go to the gym and participate in activities that you enjoy. Clearing your mind and replenishing your energy will enable you to resume your job search feeling refreshed and rejuvenated.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-3581568699322802455?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/3581568699322802455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=3581568699322802455' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/3581568699322802455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/3581568699322802455'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/ask-yourself-these-questions.html' title='Ask Yourself These Questions'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-6289996974608381717</id><published>2008-12-31T13:58:00.000-08:00</published><updated>2008-12-31T13:59:38.509-08:00</updated><title type='text'>Six Common Interview Mistakes</title><content type='html'>&lt;span style="font-weight:bold;"&gt;AVOID SIX COMMON INTERVIEW MISTAKES&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;T&lt;span style="font-weight:bold;"&gt;ip # 1:&lt;/span&gt; Don't discuss pay too early&lt;br /&gt;As the manager of a software store for 10 years, I can honestly say that questions about pay in the first interview from anyone other than a temporary applicant always bothered me a little. Temp jobs aside, if you are not really out there just for the money, asking this question right out of the gate is going to make any other questions you ask sound conniving and insincere. Unless the subject comes up, don't wade into the issue of the pay in the first interview. You can talk about it after you impress the employer enough for a second interview.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Tip # 2: Talk tech to techies only&lt;/span&gt;&lt;br /&gt;Feel free to discuss what you know, but remember: If you are talking to a nontechnical manager or human resources representative, you are not going to impress them with talk about life in the trenches. My previous supervisor was totally unimpressed with anything to do with technology. A sure way to put the man to sleep was to begin any story that had to do with computers.&lt;br /&gt;When I interviewed for a previous position, the department manager actually had a technically savvy person participate in the interview to ask and respond to questions she would not understand. When I saw this tactic being used, I knew it was not a time to try to impress with a lot of techno babble.&lt;br /&gt;Answer questions about your work history briefly and keep the tech comments to a minimum until you know the history of the company and the people involved in the hiring process. If you have questions about the technology in use at the site, keep your questions specific and relevant to the position for which you are applying.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Tip # 3: Keep your philosophy to yourself&lt;/span&gt;&lt;br /&gt;If you hate Bill Gates, Windows XP, and the whole Office Suite, keep it to yourself. Ranting about your tech philosophy can ruin your chances at the position.&lt;br /&gt;I once interviewed a young man for a retail sales position in a software store. When I asked about his opinion of the then-new Windows 98, the applicant ranted about "the revolution of UNIX" and loosening the grip of Microsoft on the PC market. I am not exaggerating; the man sounded like he was ready to sign on to a paramilitary group. I almost didn't have the heart to tell him my company was a Value Added Reseller for Microsoft.&lt;br /&gt;Chances are, you will work with many people who need your help with one of the Microsoft products, so you don't want to blast the tools you will likely be using and supporting. If you are asked about how you feel about a product, be honest, but don't preach. The interviewer probably just wants to see how you respond to such questions.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Tip # 4: Don't climb the advancement ladder in the interview&lt;/span&gt;&lt;br /&gt;               If you are joining the ranks of a new company, the last thing the interviewer wants to hear is, "How fast can I get out of this job?" Do not ask about opportunities for advancement until the second or third interview. If you are joining a company just to advance into another position, silence is golden. Keep it to yourself unless the interviewer asks or unless it is somehow already known that you'll be advancing quickly. Remember that what you say now can come back to haunt you later. You don't want to brag to someone who might be under your wing after a promotion.&lt;br /&gt;Further, you never know what may happen if you actually get the job. Learn to accept and adapt and, above all, be happy you have a job. &lt;br /&gt;             Due to downsizing, a former coworker of mine did not move into the network administration position she wanted and was expecting to get. The bitterness fostered by her broken expectations eventually caused her to resign. In the tight job market of the time-similar to the one now-and with her lack of certified qualifications, she ended up seeking work at a local restaurant.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Tip # 5: Avoid the dreaded electronic interruption&lt;/span&gt;&lt;br /&gt;           Cellular phone and pager etiquette might seem a trivial thing to those that are hooked up, but you can kiss any job opportunity goodbye if you interrupt an interview to take a telephone call, especially if the human resources representative has a low tolerance for personal digital devices. Only if you are exchanging information by invitation should you reveal the fact that you carry a PDA. If you wear it on a belt loop or somewhere that is exposed, lose it, along with any other electrical device hooks and loops, and store them in pocket, purse, or briefcase. If you can't spare the time away from the rest of the world to do an interview, why are you applying for the job?&lt;br /&gt;             I have conducted training classes with people who, when asked to turn off their phones and pagers during class, place their devices in silent mode. When giving a lecture to a class or holding a discussion, watching a person being silently buzzed is terribly distracting and also aggravating.&lt;br /&gt;If you think getting rid of electronic communications devices isn't important, just ask any human resources rep who has had a person answer a cellular phone during a job interview. Then ask if the person got the job.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Tip # 6: Remember to say thank you&lt;/span&gt;&lt;br /&gt;Beyond thanking your interviewers for their time as you leave, it's vital that you follow up in written form. If the competition for a position is tight, a follow-up thank you note can mean a lot. If the manager is slow to hire, the arrival of a thank-you note can serve as a reminder about the candidate who's awaiting the manager's next move.&lt;br /&gt;           Just after you've completed the interview, take note of anything specific you discussed and make a point of referencing it in your thank you letter. Even a nice greeting card is better than nothing.&lt;br /&gt;          It may seem like a small detail, but the experts will tell you that this tried-and-true tactic really makes an impact. A coworker of mine, who successfully worked as a job coach, used to keep a stack of generic notes in her desk. When a participant in her program applied for a job somewhere, she would give the person one of these notes to have them drop in the mail on the way home.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-6289996974608381717?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/6289996974608381717/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=6289996974608381717' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/6289996974608381717'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/6289996974608381717'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/six-common-interview-mistakes.html' title='Six Common Interview Mistakes'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-3803645775437921092</id><published>2008-12-31T13:56:00.000-08:00</published><updated>2008-12-31T13:57:57.722-08:00</updated><title type='text'>How to improve your Presentation Skills?</title><content type='html'>According to experts in the field of communication training, presentation skills includes not only, aspects relating to non-verbal skills, etiquette and grooming, but also other factors such as listening and speaking.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In order to ensure effective communication and presentation skills one needs to keep the following factors in mind:&lt;br /&gt;&lt;br /&gt;In order to ensure effective communication and presentation skills one needs to keep the following factors in mind:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Avoid ambiguity&lt;/span&gt;&lt;br /&gt;Accept feedback in order to gain confirmation and rule out confusion&lt;br /&gt;&lt;br /&gt;The non-verbal presentation factors are:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Voice:&lt;/span&gt; This implies the tone – sarcastic or sincere; warm or cold; rich and expressive; or dull and flat. The other voice aspect is the volume – shouting, barely audible or medium volume.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Speech pattern:&lt;/span&gt; slow, hesitant, fast, jerky, abrupt or even-steady pace.&lt;br /&gt;&lt;br /&gt;Facial expression: This includes:&lt;br /&gt;The brow/forehead: Wrinkled or smooth&lt;br /&gt;Eyebrows: wrinkled or smooth&lt;br /&gt;Jaw/mouth region: firm or relaxed&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Eye contact: &lt;/span&gt;Whether the speaker is looking at the listener/audience being addressed.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Gestures:&lt;/span&gt; This includes the hand movements such as: hand-wringing, open hand movements, finger pointing, fist thumping, etc.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Postures: &lt;/span&gt;This is important, as it shows how interested the speaker or listener is.&lt;br /&gt;&lt;br /&gt;Body movement: This includes the movement of the body such as shrugs and shuffles, arms crossed or left lose, strides or standing in one position.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Tips to Improve Your Conversational Skills&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1.Choose an article or short story to read with a friend or classmate. Discuss the article together.&lt;br /&gt;&lt;br /&gt;2.Choose an article or short story to read with a friend or classmate. Each person should write down five questions about the article and his / her partner.&lt;br /&gt;&lt;br /&gt;3.Read a few articles to develop a debate. Hold the debate in class making arguments based on what you have read.&lt;br /&gt;&lt;br /&gt;4.Read a short play with a few friends. Continue the conversation by each taking a character from the play and having a discussion about something that happened in the play.&lt;br /&gt;&lt;br /&gt;5.Read dialogues. Once you've practiced the written texts, improvise a continued conversation using the same characters as in the dialogue.&lt;br /&gt;&lt;br /&gt;6.Read short biographies. Pair up with a friend or classmate and take on the roles of interviewer and famous person.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-3803645775437921092?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/3803645775437921092/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=3803645775437921092' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/3803645775437921092'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/3803645775437921092'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/how-to-improve-your-presentation-skills.html' title='How to improve your Presentation Skills?'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-738727043849739518</id><published>2008-12-31T13:52:00.000-08:00</published><updated>2008-12-31T13:56:02.583-08:00</updated><title type='text'>Java and OOPS</title><content type='html'>&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;1.) Why JAVA is known as securable language?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    There are two reasons behind this. The first one is, as JAVA runs in JVM, which is a virtual machine, and it converts source code to byte code, which is not understandable for humans, so its safe. The second reason is JAVA does not support the Pointer concept, hence we can say that JAVA is a securable language.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2.) What is the necessity of Interface?&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;    As java is a Partially Object Oriented language, and it does not support the multiple inheritance concepts, it creates problem for the developers. To over come this situation JAVA provides Interface concept for multiple inheritance.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;3.) What is Abstraction?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    An essential element of object-oriented programming is abstraction. Abstraction is the process to hide the complexity. A powerful way to manage abstraction is through the use of hierarchical classifications. This allows programmer to understand the semantics of complex system.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;4.) What is Polymorphism?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    The meaning of Polymorphism is something like one name many forms. Polymorphism enables one entity to be used as general category for different types of actions. The specific action is determined by the exact nature of the situation. The concept of polymorphism can be explained as “one interface, multiple methods”.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;5.) What is Inheritance?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    Inheritance is the process of basing one class on another. In this process, a base class provides methods, properties, and other members to a derived class. The advantage of inheritance is that you can write and maintain code once it is in the base class and reuse it over and over in the derived classes. But the main draw back of Java is it doesn’t support multiple Inheritances; hence to over come this draw back Java provides us the Interface concept.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;6.) What is Object Oriented Programming Language ?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    The language, which obeys all the basic principles of Object Oriented Programming, which are Encapsulation, Inheritance and Polymorphism, is generally known as Object Oriented Programming Language. Languages like c++ and java are some well-known Object Oriented Programming Languages.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;7.) What is Encapsulation?&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;    Encapsulation is a process of binding or wrapping the data and the codes that operates on the data into a single entity. This keeps the data safe from outside interface and misuse.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;8.) What is Class and Object?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    A class defines the abstract characteristics of a thing (object), including the thing’s characteristics, like its attributes or properties and the things it can do .The code for a class should be relatively self-contained. Collectively, the properties and methods defined by a class are called members. Object a particular instance of a class. Object holds the characteristics of the Class. The set of values of the attributes of a particular object is called its state.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;9.) Is JAVA a completely Object Oriented Programming Language?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    The answer to this question is certainly no. The reason behind this is JAVA does not obey the OOPs concept purely. Certain concepts like Operator over loading and Multiple Inheritance are not supported by JAVA. Hence JAVA is known as Partially Object Oriented Programming Language.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-738727043849739518?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/738727043849739518/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=738727043849739518' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/738727043849739518'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/738727043849739518'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/java-and-oops.html' title='Java and OOPS'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-5472267357715744516</id><published>2008-12-31T13:51:00.000-08:00</published><updated>2008-12-31T13:52:34.751-08:00</updated><title type='text'>10 Costly Mistakes at Your Communication</title><content type='html'>Communication in simple terms means transfer of information. Communication becomes a successful process only when the information transferred is received by the receiver in the same sense.&lt;br /&gt;&lt;br /&gt;Communication has its own importance in all aspects of life. Communication becomes easy only when the information is shared in simple and plain terms. Many of us make several mistakes in communication. Such mistakes are always unnoticed by us and we never try to rectify those.&lt;br /&gt;&lt;br /&gt;Here are the 10 common communication mistakes listed out.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;1. Talking fast and rapidly:&lt;/span&gt;&lt;br /&gt;This is the most common mistake a person makes while communicating with others. A clear conversation is more clearly understandable. While talking too fast makes the listener impatience and confused.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;&lt;br /&gt;2. Talking too much:&lt;/span&gt;&lt;br /&gt;The proverb “empty vessel makes more noise”, will be the best match for this mistake. Likewise people will evaluate you to be an empty vessel when you talk more. Usage of short verbal conversation is always appreciated and welcomed every where.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;&lt;br /&gt;3. To follow up basic verbal etiquette:&lt;/span&gt;&lt;br /&gt;While conversing with others basic manners and etiquette has to be followed. The conversation will loose its values if it does not have mannered words in them.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;4. Negative body language:&lt;/span&gt;&lt;br /&gt;Negative body postures and signs make the listener irritant and unease to listen or communicate with. So to make the communication more brilliant negative body languages should be avoided.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;&lt;br /&gt;5. Mastery over listener:&lt;/span&gt;&lt;br /&gt;While having a conversation, avoid dominating your partner or listener. Give him/her the opportunity to share their opinion. Never go for a monologue way of conversation.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;6. Interruption:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For a good communication, avoid interrupting in the middle when one person is talking. When a person is talking try to listen and understand and then ask excuse for the interrupting and then tell your suggestions or comments. Otherwise wait for him/her to finish and then share your thoughts.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;&lt;br /&gt;7. Contradicting talks:&lt;/span&gt;&lt;br /&gt;Never bring in contradiction during a conversation, especially when talking with the higher authorities or your own boss. This may cause unnecessary troubles and misunderstanding.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;8. Poor contribution:&lt;/span&gt;&lt;br /&gt;There are few people who listen and take information from others, but never contribute their suggestions. This is also a big communication mistake, because the communication again turns to monologue patterns.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;&lt;br /&gt;9. Undesired advices:&lt;/span&gt;&lt;br /&gt;There are people who give immediate advices for any problem told by others. So, the listener may again get restless and the communication is finally end. So, even while suggesting advices see that whether it is really required or not.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;10. Loose talks:&lt;/span&gt;&lt;br /&gt;Avoid talking unnecessary matters. Talk only to the pertained topic. This saves time and energy for both conversing people.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-5472267357715744516?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/5472267357715744516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=5472267357715744516' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/5472267357715744516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/5472267357715744516'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/10-costly-mistakes-at-your.html' title='10 Costly Mistakes at Your Communication'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-4681785471456784123</id><published>2008-12-31T13:49:00.000-08:00</published><updated>2008-12-31T13:50:55.288-08:00</updated><title type='text'>Tips to help you develop excellent oral communication skills</title><content type='html'>&lt;span style="font-weight:bold;"&gt;1. Relax: &lt;/span&gt;If you think too much about an encounter, you'll likely freeze in the middle of the conversation and appear nervous. Going on a job interview and social gatherings evoke anxiety in many people. One way to overcome this problem is to stop worrying about how others may perceive you. It takes two people to have a meaningful conversation. Offer a smile, and confidently ask simple questions such as, "how are you," "are you having fun."&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;2. Use Humor&lt;/span&gt;: If you have a funny side to your personality, break the ice with a joke. Be tasteful. Everyone may not appreciate your sick sense of humor or crude jokes. You don't have to be the party clown, nor does your joke have to create a bellow of laughter.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;3. Don't Monopolize the Conversation:&lt;/span&gt; When nervous, some people have the tendency to "shoot off at the mouth." In other words, they ramble uncontrollably. If trying to make a good first impression, don't talk too much. If the person asks you a simple question such as, "where are you from," offer a short 30 second answer. This is not an invitation to disclose you entire past, and talk for ten uninterrupted minutes. The person is probably not interested in where you attended elementary school, or the fact that you've lived in ten different cities.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;4. Know When to End the Conversation:&lt;/span&gt; Person with poor communication skills dread the "awkward silence." If the conversation starts to die, you could casually change the topic and ask the person a question that's completely off subject; or you could simply say, it's been nice talking with you," and move on.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Bring your own conversation piece&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you're heading off to a party or get-together where you suspect that you won't know a lot of the other guests, it's a good idea to bring something with you that is highly likely to be a good conversation piece. If you're a hat person, choose one that has a great story that goes with it (or make one up on the way) and be prepared to tell people about it when they ask. Or wear an unusual accessory or piece of jewelry that will catch people's attention and compel them to ask you about it. If you're bringing a gift to a party, add an eye-catching flourish to the wrapping, which will stimulate some other creative soul to ask you about your original wrapping technique, or about the nature of the gift. Conversation pieces provide a non-threatening way to start a conversation.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Effectively, you're giving people an excuse to come and talk to you, by making yourself appear approachable and interesting because there's something about you that is an obvious talking point. You don't want to arrive looking bland and exactly like everyone else; you're trying to stimulate discussion, not a reaction of bored disinterest.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-4681785471456784123?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/4681785471456784123/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=4681785471456784123' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/4681785471456784123'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/4681785471456784123'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/tips-to-help-you-develop-excellent-oral.html' title='Tips to help you develop excellent oral communication skills'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-1746577954351762084</id><published>2008-12-31T13:48:00.000-08:00</published><updated>2008-12-31T13:49:25.813-08:00</updated><title type='text'>25 Words That Can Hurt Your C.V.'s Chance Of Success</title><content type='html'>So, you're experienced? Before you advertise this in your C.V., be sure you can prove it.&lt;br /&gt;&lt;br /&gt;      Often, when job seekers try to sell themselves to potential employers, they load their C.V.s with vague claims that are transparent to recruiting managers, according to Scott Bennett, author of "The Elements of Resume Style" (published by AMACOM). By contrast, the most successful job seekers avoid these vague phrases on their C.V.s in favour of accomplishments.&lt;br /&gt;&lt;br /&gt;     Instead of making empty claims to demonstrate your work ethic, use brief, specific examples to demonstrate your skills. In other words, show, don't tell.&lt;br /&gt;&lt;br /&gt;Bennett offers these examples:&lt;br /&gt;&lt;br /&gt;Instead of... &lt;span style="font-weight:bold;"&gt;"Experience working in fast-paced environment"&lt;/span&gt;&lt;br /&gt;Try...&lt;span style="font-weight:bold;"&gt; "Registered 120+ third-shift accident and emergency patients per night"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Instead of... "Excellent written communication skills"&lt;br /&gt;Try... "Wrote jargon-free User Guide for 11,000 users"&lt;br /&gt;&lt;br /&gt;Instead of... "Team player with cross-functional awareness"&lt;br /&gt;Try... "Collaborated with clients, the Accounts Receivable Department and Sales to increase speed of receivables and prevent interruption of service to clients."&lt;br /&gt;&lt;br /&gt;Instead of... "Demonstrated success in analysing client needs"&lt;br /&gt;Try... "Created and implemented comprehensive needs assessment mechanism to help forecast demand for services and staffing."&lt;br /&gt;&lt;br /&gt;The worst offenders&lt;br /&gt;It’s good to be hard-working and ambitious, right? The recruiting manager won't be convinced if you can't provide solid examples to back up your claims. Bennett suggests being extremely careful before using these nice-sounding but empty words in your C.V.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;·  Aggressive&lt;br /&gt;·  Ambitious&lt;br /&gt;·  Competent&lt;br /&gt;·  Creative&lt;br /&gt;·  Detail-oriented&lt;br /&gt;·  Determined&lt;br /&gt;·  Efficient&lt;br /&gt;·  Experienced&lt;br /&gt;·  Flexible&lt;br /&gt;·  Goal-oriented&lt;br /&gt;·  Hard-working&lt;br /&gt;·  Independent&lt;br /&gt;·  Innovative&lt;br /&gt;·  Knowledgeable&lt;br /&gt;·  Logical&lt;br /&gt;·  Motivated&lt;br /&gt;·  Meticulous&lt;br /&gt;·  People person&lt;br /&gt;·  Professional&lt;br /&gt;·  Reliable&lt;br /&gt;·  Resourceful&lt;br /&gt;·  Self-motivated&lt;br /&gt;·  Successful&lt;br /&gt;·  Team player&lt;br /&gt;·  Well-organised&lt;span style="font-style:italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-1746577954351762084?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/1746577954351762084/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=1746577954351762084' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/1746577954351762084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/1746577954351762084'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/25-words-that-can-hurt-your-cvs-chance.html' title='25 Words That Can Hurt Your C.V.&apos;s Chance Of Success'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-4702098512457402162</id><published>2008-12-31T13:47:00.000-08:00</published><updated>2008-12-31T13:48:12.051-08:00</updated><title type='text'>Why Should We Hire You?</title><content type='html'>This is one of those broad questions that can take you down the wrong road unless you have done some thinking about what to say ahead of time. This question deals with your ability to sell yourself. Think of yourself as the product. Why should the customer buy?&lt;br /&gt;&lt;br /&gt;         Answers that WON'T WORK -&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;“Because I need a job.”&lt;/span&gt; – This answer is about YOU – “they” want to know what you can do for “them.”&lt;br /&gt;“I am a hard worker.” – This is a really trite answer – almost anyone can say he or she is a hard worker.&lt;br /&gt;“I saw your ad and could do the job. – This answers lacks passion and purpose.&lt;br /&gt;STRONGER ANSWERS that would get the interviewer’s attention –&lt;br /&gt;“Because I have three years experience working with customers in a very similar environment.”&lt;br /&gt;&lt;br /&gt;“Because I have what it takes to fill the requirements of this job - solve customer problems using my excellent customer service skills.”&lt;br /&gt;&lt;br /&gt;“Because I have the experience and expertise in the area of customer support that is required in this position.”&lt;br /&gt;         &lt;br /&gt;         This is a time to let the customer (the interviewer) know what your product (YOU) can do for them and why they should listen to what you have to offer. The more detail you give the stronger your answer will be. This is not a time to talk about what you want. &lt;br /&gt;       It is a time to summarize your accomplishments and relate what makes you unique and therefore a viable fit for this position.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-4702098512457402162?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/4702098512457402162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=4702098512457402162' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/4702098512457402162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/4702098512457402162'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/why-should-we-hire-you.html' title='Why Should We Hire You?'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-2986923138577153934</id><published>2008-12-31T13:43:00.000-08:00</published><updated>2008-12-31T13:46:29.308-08:00</updated><title type='text'>How To Improve Job Search Confidence?</title><content type='html'>It’s very common for any  (Many ) Job seeker to get frustrated moments and feel that how to improve confidence. &lt;br /&gt;Let me ask you one question , &lt;span style="font-style:italic;"&gt;what is confidence ?&lt;span style="font-weight:bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;How to measure that how much confidence any is having? &lt;br /&gt;How to recognize that confidence is required ?&lt;br /&gt; wait ,wait , &lt;br /&gt;just don’t think that I am going to enter a topic like philosophy and ask you what is Life ?&lt;br /&gt;      I just want to say you few feelings about the confidence. I feel every body will have same level of confidence . only the thing is at few times , it used to forget by the human. So it need to get back. But the confidence at the time of job search is not easy to get back , because it is tied up with many elements like money , prestige , surrounding people , etc . But among many , I want to choose the element of money. Because it makes any to independent up to some extent. The primary reason  ,many used to said , what for job , is nothing but money. So lets concentrate on earning money. Is it tough to earn money ? No , not that much tough. It may be tough to earn money what extent any thinks to earn. But for basic needs , it’s not that much of tough to earn. &lt;br /&gt;&lt;br /&gt;          There are many part time jobs , these may not give the position what any dreams , but it gives little money and that gives the confidence. Those jobs may range from part time faculty to part time consultant . Try to get some job , at least for three months . So that some money you will get and few new people you can meet .so that you can able to get new issues and as well as you can develop  your communication. &lt;br /&gt;              &lt;br /&gt;               You may raise ask one more question .Will it won’t disturb my main job search ? am I not going to get deviated from the primary goal ? etc … BUT , I want to stress you one issue. If you really focus on your goal no body can change you. If you really feel to get , no body can stop you. I don’t want to give a big  lectures about the motivation theories or self motivation techniques. I will say  you , to know the world. Read the people. Means , try to understand what you require , then plan for it and get one by one. Don’t think that every thing you can make it in quick time.&lt;br /&gt;&lt;br /&gt;              I want to say one of the real problems I used to face. I , being an employer , really facing tremendous struggle to choose the right person to fill the position. It’s not that much of easy to fill a vacancy too. Many are not committed , many are not having subject , many are having not having communication , etc . I recommend you to meet as many people as possible for you , who are at good profession. try to get good tips from them. Try to analyze those , share with friends and decide what is your plan. The slowly implement it. if any problems you faced with that , try to revise it and continue it , till you win the job.&lt;br /&gt;&lt;br /&gt;               Confidence is not any where. It’s with you . You just try to get back that , by analyzing your self. Try to improve the knowledge in all positive issues. Try to read books or people. Stuff your self with knowledge. That gives you all. Don’t worry about communication  (if you are lagging in it)/. Try to speak as much as possible , so that you can improve your communication level.&lt;br /&gt;&lt;br /&gt;          So get back your confidence. Be confident. Don’t leave your confidence after you get JOB, because life is not only for JOB.&lt;br /&gt;&lt;br /&gt;All The Best !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-2986923138577153934?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/2986923138577153934/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=2986923138577153934' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2986923138577153934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2986923138577153934'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/how-to-improve-job-search-confidence.html' title='How To Improve Job Search Confidence?'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-1360506497452243872</id><published>2008-12-31T12:46:00.000-08:00</published><updated>2008-12-31T13:43:23.861-08:00</updated><title type='text'>All Basic Things About Java Script</title><content type='html'>&lt;span style="font-weight:bold;"&gt;1. How to declare the methods in Javascript?    &lt;/span&gt;&lt;br /&gt;   &lt;br /&gt;&lt;br /&gt;Methods are the actions that can be performed on objects.&lt;br /&gt;Example:&lt;br /&gt;script type=”text/javascript”&gt;var str=”Hello world!”&lt;br /&gt;document.write(str.toUpperCase())&lt;br /&gt;In the above example UpperCase() method is used to print the string in Uppercases.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2. How do I print JavaScript output?   &lt;/span&gt;&lt;br /&gt;JavaScript programs cannot directly access printers. However, the user can print out everything on the Web page, including the output of JavaScript programs, by using the File | Print menu of the browser. How can I prevent an html page from being printed by a browser? Include a style sheet reference or a style sheet section with a media type of print. Set a rule for BODY with one entry, display:none.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;3. Difference between Java Script and Vb Script?   &lt;/span&gt;&lt;br /&gt;   &lt;br /&gt;Vb Script :     Java Script :&lt;br /&gt;1. Vb script will be run on IE&lt;br /&gt;2. Vb script is developed by ms&lt;br /&gt;3. Vb not case sensitive  &lt;br /&gt;&lt;br /&gt;1. Javascript runs on any browser&lt;br /&gt;2. Java script by Sunmicrosystems&lt;br /&gt;3. Java is case sensitive&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;4.How can JavaScript make a Web site easier to use? That is, are there certain JavaScript techniques that make it easier for people to use a Web site? &lt;/span&gt;  &lt;br /&gt;   &lt;br /&gt;&lt;br /&gt;JavaScript's greatest potential gift to a Web site is that scripts can make the page more immediately interactive, that is, interactive without having to submit every little thing to the server for a server program to re-render the page and send it back to the client.&lt;br /&gt;&lt;br /&gt;For example, consider a top-level navigation panel that has, say, six primary image map links into subsections of the Web site. With only a little bit of scripting, each map area can be instructed to pop up a more detailed list of links to the contents within a subsection whenever the user rolls the cursor atop a map area.&lt;br /&gt;&lt;br /&gt;With the help of that popup list of links, the user with a scriptable browser can bypass one intermediate menu page.&lt;br /&gt;The user without a scriptable browser (or who has disabled JavaScript) will have to drill down through a more traditional and time-consuming path to the desired content.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-1360506497452243872?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/1360506497452243872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=1360506497452243872' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/1360506497452243872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/1360506497452243872'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/all-basic-things-about-java-script.html' title='All Basic Things About Java Script'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-4274331745931835412</id><published>2008-12-31T04:34:00.001-08:00</published><updated>2008-12-31T04:34:57.350-08:00</updated><title type='text'>Operating Systems Interview Questions</title><content type='html'>*  What is MUTEX ?&lt;br /&gt;    * What isthe difference between a 'thread' and a 'process'?&lt;br /&gt;    * What is INODE?&lt;br /&gt;    * Explain the working of Virtual Memory.&lt;br /&gt;    * How does Windows NT supports Multitasking?&lt;br /&gt;    * Explain the Unix Kernel.&lt;br /&gt;    * What is Concurrency? Expain with example Deadlock and Starvation.&lt;br /&gt;    * What are your solution strategies for "Dining Philosophers Problem" ?&lt;br /&gt;    * Explain Memory Partitioning, Paging, Segmentation.&lt;br /&gt;    * Explain Scheduling.&lt;br /&gt;    * Operating System Security.&lt;br /&gt;    * What is Semaphore?&lt;br /&gt;    * Explain the following file systems : NTFS, Macintosh(HPFS), FAT .&lt;br /&gt;    * What are the different process states?&lt;br /&gt;    * What is Marshalling?&lt;br /&gt;    * Define and explain COM?&lt;br /&gt;    * What is Marshalling?&lt;br /&gt;    * Difference - Loading and Linking ?&lt;br /&gt;    * What are the basic functions of an operating system?&lt;br /&gt;    * Explain briefly about, processor, assembler, compiler, loader, linker and the functions executed by them.&lt;br /&gt;    * What are the difference phases of software development? Explain briefly?&lt;br /&gt;    * Differentiate between RAM and ROM?&lt;br /&gt;    * What is DRAM? In which form does it store data?&lt;br /&gt;    * What is cache memory?&lt;br /&gt;    * What is hard disk and what is its purpose?&lt;br /&gt;    * Differentiate between Complier and Interpreter?&lt;br /&gt;    * What are the different tasks of Lexical analysis?&lt;br /&gt;    * What are the different functions of Syntax phase, Sheduler?&lt;br /&gt;    * What are the main difference between Micro-Controller and Micro- Processor?&lt;br /&gt;    * Describe different job scheduling in operating systems.&lt;br /&gt;    * What is a Real-Time System ?&lt;br /&gt;    * What is the difference between Hard and Soft real-time systems ?&lt;br /&gt;    * What is a mission critical system ?&lt;br /&gt;    * What is the important aspect of a real-time system ?&lt;br /&gt;    *  If two processes which shares same system memory and system clock in a distributed system, What is it called?&lt;br /&gt;    * What is the state of the processor, when a process is waiting for some event to occur?&lt;br /&gt;    * What do you mean by deadlock?&lt;br /&gt;    * Explain the difference between microkernel and macro kernel.&lt;br /&gt;    * Give an example of microkernel.&lt;br /&gt;    * When would you choose bottom up methodology?&lt;br /&gt;    * When would you choose top down methodology?&lt;br /&gt;    * Write a small dc shell script to find number of FF in the design.&lt;br /&gt;    * Why paging is used ?&lt;br /&gt;    * Which is the best page replacement algorithm and Why? How much time is spent usually in each phases and why?&lt;br /&gt;    * Difference between Primary storage and secondary storage?&lt;br /&gt;    * What is multi tasking, multi programming, multi threading?&lt;br /&gt;    * Difference between multi threading and multi tasking?&lt;br /&gt;    * What is software life cycle?&lt;br /&gt;    * Demand paging, page faults, replacement algorithms, thrashing, etc.&lt;br /&gt;    * Explain about paged segmentation and segment paging&lt;br /&gt;    * While running DOS on a PC, which command would be used to duplicate the entire diskette? &lt;br /&gt;Following are a few basic questions that cover the essentials of OS:&lt;br /&gt;&lt;br /&gt;1. When is a system in safe state?&lt;br /&gt;The set of dispatchable processes is in a safe state if there exists at least one temporal order in which all processes can be run to completion without resulting in a deadlock.&lt;br /&gt;&lt;br /&gt;2. What is cycle stealing?&lt;br /&gt;We encounter cycle stealing in the context of Direct Memory Access (DMA). Either the DMA controller can use the data bus when the CPU does not need it, or it may force the CPU to temporarily suspend operation. The latter technique is called cycle stealing. Note that cycle stealing can be done only at specific break points in an instruction cycle.&lt;br /&gt;&lt;br /&gt;3. What is meant by arm-stickiness?&lt;br /&gt;If one or a few processes have a high access rate to data on one track of a storage disk, then they may monopolize the device by repeated requests to that track. This generally happens with most common device scheduling algorithms (LIFO, SSTF, C-SCAN, etc). High-density multisurface disks are more likely to be affected by this than low density ones.&lt;br /&gt;&lt;br /&gt;4. What are the stipulations of C2 level security?&lt;br /&gt;C2 level security provides for:&lt;br /&gt;&gt; Discretionary Access Control&lt;br /&gt;&gt; Identification and Authentication&lt;br /&gt;&gt; Auditing&lt;br /&gt;&gt; Resource reuse&lt;br /&gt;&lt;br /&gt;5. What is busy waiting?&lt;br /&gt;The repeated execution of a loop of code while waiting for an event to occur is called busy-waiting. The CPU is not engaged in any real productive activity during this period, and the process does not progress toward completion.&lt;br /&gt;&lt;br /&gt;6. What are short-, long- and medium-term scheduling?&lt;br /&gt;Long term scheduler determines which programs are admitted to the system for processing. It controls the degree of multiprogramming. Once admitted, a job becomes a process.&lt;br /&gt;Medium term scheduling is part of the swapping function. This relates to processes that are in a blocked or suspended state. They are swapped out of real-memory until they are ready to execute. The swapping-in decision is based on memory-management criteria.&lt;br /&gt;Short term scheduler, also know as a dispatcher executes most frequently, and makes the finest-grained decision of which process should execute next. This scheduler is invoked whenever an event occurs. It may lead to interruption of one process by preemption.&lt;br /&gt;&lt;br /&gt;Following are a few basic questions that cover the essentials of OS:&lt;br /&gt;&lt;br /&gt;1. Explain the concept of Reentrancy.&lt;br /&gt;It is a useful, memory-saving technique for multiprogrammed timesharing systems. A Reentrant Procedure is one in which multiple users can share a single copy of a program during the same period. Reentrancy has 2 key aspects: The program code cannot modify itself, and the local data for each user process must be stored separately. Thus, the permanent part is the code, and the temporary part is the pointer back to the calling program and local variables used by that program. Each execution instance is called activation. It executes the code in the permanent part, but has its own copy of local variables/parameters. The temporary part associated with each activation is the activation record. Generally, the activation record is kept on the stack.&lt;br /&gt;Note: A reentrant procedure can be interrupted and called by an interrupting program, and still execute correctly on returning to the procedure.&lt;br /&gt;&lt;br /&gt;2. Explain Belady's Anomaly.&lt;br /&gt;Also called FIFO anomaly. Usually, on increasing the number of frames allocated to a process' virtual memory, the process execution is faster, because fewer page faults occur. Sometimes, the reverse happens, i.e., the execution time increases even when more frames are allocated to the process. This is Belady's Anomaly. This is true for certain page reference patterns.&lt;br /&gt;&lt;br /&gt;3. What is a binary semaphore? What is its use?&lt;br /&gt;A binary semaphore is one, which takes only 0 and 1 as values. They are used to implement mutual exclusion and synchronize concurrent processes.&lt;br /&gt;&lt;br /&gt;4. What is thrashing?&lt;br /&gt;It is a phenomenon in virtual memory schemes when the processor spends most of its time swapping pages, rather than executing instructions. This is due to an inordinate number of page faults.&lt;br /&gt;&lt;br /&gt;5. List the Coffman's conditions that lead to a deadlock.&lt;br /&gt;Ø Mutual Exclusion: Only one process may use a critical resource at a time.&lt;br /&gt;Ø Hold &amp; Wait: A process may be allocated some resources while waiting for others.&lt;br /&gt;Ø No Pre-emption: No resource can be forcible removed from a process holding it.&lt;br /&gt;Ø Circular Wait: A closed chain of processes exist such that each process holds at least one resource needed by another process in the chain.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6. What are short-, long- and medium-term scheduling?&lt;br /&gt;Long term scheduler determines which programs are admitted to the system for processing. It controls the degree of multiprogramming. Once admitted, a job becomes a process.&lt;br /&gt;Medium term scheduling is part of the swapping function. This relates to processes that are in a blocked or suspended state. They are swapped out of real-memory until they are ready to execute. The swapping-in decision is based on memory-management criteria.&lt;br /&gt;Short term scheduler, also know as a dispatcher executes most frequently, and makes the finest-grained decision of which process should execute next. This scheduler is invoked whenever an event occurs. It may lead to interruption of one process by preemption.&lt;br /&gt;&lt;br /&gt;7. What are turnaround time and response time?&lt;br /&gt;Turnaround time is the interval between the submission of a job and its completion. Response time is the interval between submission of a request, and the first response to that request.&lt;br /&gt;&lt;br /&gt;8. What are the typical elements of a process image?&lt;br /&gt;Ø User data: Modifiable part of user space. May include program data, user stack area, and programs that may be modified.&lt;br /&gt;Ø User program: The instructions to be executed.&lt;br /&gt;Ø System Stack: Each process has one or more LIFO stacks associated with it. Used to store parameters and calling addresses for procedure and system calls.&lt;br /&gt;Ø Process control Block (PCB): Info needed by the OS to control processes.&lt;br /&gt;&lt;br /&gt;9. What is the Translation Lookaside Buffer (TLB)?&lt;br /&gt;In a cached system, the base addresses of the last few referenced pages is maintained in registers called the TLB that aids in faster lookup. TLB contains those page-table entries that have been most recently used. Normally, each virtual memory reference causes 2 physical memory accesses-- one to fetch appropriate page-table entry, and one to fetch the desired data. Using TLB in-between, this is reduced to just one physical memory access in cases of TLB-hit.&lt;br /&gt;&lt;br /&gt;10. What is the resident set and working set of a process?&lt;br /&gt;Resident set is that portion of the process image that is actually in real-memory at a particular instant. Working set is that subset of resident set that is actually needed for execution. (Relate this to the variable-window size method for swapping techniques.)&lt;br /&gt;&lt;br /&gt;11. When is a system in safe state?&lt;br /&gt;The set of dispatchable processes is in a safe state if there exists at least one temporal order in which all processes can be run to completion without resulting in a deadlock.&lt;br /&gt;&lt;br /&gt;12. What is cycle stealing?&lt;br /&gt;We encounter cycle stealing in the context of Direct Memory Access (DMA). Either the DMA controller can use the data bus when the CPU does not need it, or it may force the CPU to temporarily suspend operation. The latter technique is called cycle stealing. Note that cycle stealing can be done only at specific break points in an instruction cycle.&lt;br /&gt;&lt;br /&gt;13. What is meant by arm-stickiness?&lt;br /&gt;If one or a few processes have a high access rate to data on one track of a storage disk, then they may monopolize the device by repeated requests to that track. This generally happens with most common device scheduling algorithms (LIFO, SSTF, C-SCAN, etc). High-density multisurface disks are more likely to be affected by this than low density ones.&lt;br /&gt;&lt;br /&gt;14. What are the stipulations of C2 level security?&lt;br /&gt;C2 level security provides for:&lt;br /&gt;Ø Discretionary Access Control&lt;br /&gt;Ø Identification and Authentication&lt;br /&gt;Ø Auditing&lt;br /&gt;Ø Resource reuse&lt;br /&gt;&lt;br /&gt;15. What is busy waiting?&lt;br /&gt;The repeated execution of a loop of code while waiting for an event to occur is called busy-waiting. The CPU is not engaged in any real productive activity during this period, and the process does not progress toward completion.&lt;br /&gt;&lt;br /&gt;16. Explain the popular multiprocessor thread-scheduling strategies.&lt;br /&gt;Ø Load Sharing: Processes are not assigned to a particular processor. A global queue of threads is maintained. Each processor, when idle, selects a thread from this queue. Note that load balancing refers to a scheme where work is allocated to processors on a more permanent basis.&lt;br /&gt;Ø Gang Scheduling: A set of related threads is scheduled to run on a set of processors at the same time, on a 1-to-1 basis. Closely related threads / processes may be scheduled this way to reduce synchronization blocking, and minimize process switching. Group scheduling predated this strategy.&lt;br /&gt;Ø Dedicated processor assignment: Provides implicit scheduling defined by assignment of threads to processors. For the duration of program execution, each program is allocated a set of processors equal in number to the number of threads in the program. Processors are chosen from the available pool.&lt;br /&gt;Ø Dynamic scheduling: The number of thread in a program can be altered during the course of execution.&lt;br /&gt;&lt;br /&gt;17. When does the condition 'rendezvous' arise?&lt;br /&gt;In message passing, it is the condition in which, both, the sender and receiver are blocked until the message is delivered.&lt;br /&gt;&lt;br /&gt;18. What is a trap and trapdoor?&lt;br /&gt;Trapdoor is a secret undocumented entry point into a program used to grant access without normal methods of access authentication. A trap is a software interrupt, usually the result of an error condition.&lt;br /&gt;&lt;br /&gt;19. What are local and global page replacements?&lt;br /&gt;Local replacement means that an incoming page is brought in only to the relevant process' address space. Global replacement policy allows any page frame from any process to be replaced. The latter is applicable to variable partitions model only.&lt;br /&gt;&lt;br /&gt;20. Define latency, transfer and seek time with respect to disk I/O.&lt;br /&gt;Seek time is the time required to move the disk arm to the required track. Rotational delay or latency is the time it takes for the beginning of the required sector to reach the head. Sum of seek time (if any) and latency is the access time. Time taken to actually transfer a span of data is transfer time.&lt;br /&gt;&lt;br /&gt; 22. What is time-stamping?&lt;br /&gt;It is a technique proposed by Lamport, used to order events in a distributed system without the use of clocks. This scheme is intended to order events consisting of the transmission of messages. Each system 'i' in the network maintains a counter Ci. Every time a system transmits a message, it increments its counter by 1 and attaches the time-stamp Ti to the message. When a message is received, the receiving system 'j' sets its counter Cj to 1 more than the maximum of its current value and the incoming time-stamp Ti. At each site, the ordering of messages is determined by the following rules: For messages x from site i and y from site j, x precedes y if one of the following conditions holds....(a) if Ti&amp;lt;Tj or  (b) if Ti=Tj and i&amp;lt;j.&lt;br /&gt;&lt;br /&gt;23. How are the wait/signal operations for monitor different from those for semaphores?&lt;br /&gt;If a process in a monitor signal and no task is waiting on the condition variable, the signal is lost. So this allows easier program design. Whereas in semaphores, every operation affects the value of the semaphore, so the wait and signal operations should be perfectly balanced in the program.&lt;br /&gt;&lt;br /&gt;24. In the context of memory management, what are placement and replacement algorithms?&lt;br /&gt;Placement algorithms determine where in available real-memory to load a program. Common methods are first-fit, next-fit, best-fit. Replacement algorithms are used when memory is full, and one process (or part of a process) needs to be swapped out to accommodate a new program. The replacement algorithm determines which are the partitions to be swapped out.&lt;br /&gt;&lt;br /&gt;25. In loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking?&lt;br /&gt;For load-time dynamic linking: Load module to be loaded is read into memory. Any reference to a target external module causes that module to be loaded and the references are updated to a relative address from the start base address of the application module.&lt;br /&gt;With run-time dynamic loading: Some of the linking is postponed until actual reference during execution. Then the correct module is loaded and linked.&lt;br /&gt;&lt;br /&gt;26. What are demand- and pre-paging?&lt;br /&gt;With demand paging, a page is brought into memory only when a location on that page is actually referenced during execution. With pre-paging, pages other than the one demanded by a page fault are brought in. The selection of such pages is done based on common access patterns, especially for secondary memory devices.&lt;br /&gt;&lt;br /&gt;27. Paging a memory management function, while multiprogramming a processor management function, are the two interdependent?&lt;br /&gt;Yes.&lt;br /&gt;&lt;br /&gt;28. What is page cannibalizing?&lt;br /&gt;Page swapping or page replacements are called page cannibalizing.&lt;br /&gt;&lt;br /&gt;29. What has triggered the need for multitasking in PCs?&lt;br /&gt; Increased speed and memory capacity of microprocessors together with the support fir virtual memory and&lt;br /&gt; Growth  of client server computing&lt;br /&gt;&lt;br /&gt;30. What are the four layers that Windows NT have in order to achieve independence?&lt;br /&gt; Hardware abstraction layer&lt;br /&gt; Kernel&lt;br /&gt; Subsystems&lt;br /&gt; System Services.&lt;br /&gt;&lt;br /&gt;31. What is SMP?&lt;br /&gt;To achieve maximum efficiency and reliability a mode of operation known as symmetric multiprocessing is used. In essence, with SMP any process or threads can be assigned to any processor.&lt;br /&gt;&lt;br /&gt;32. What are the key object oriented concepts used by Windows NT?&lt;br /&gt; Encapsulation&lt;br /&gt; Object class and instance&lt;br /&gt;&lt;br /&gt;33. Is Windows NT a full blown object oriented operating system? Give reasons.&lt;br /&gt;No Windows NT is not so, because its not implemented in object oriented language and the data structures reside within one executive component and are not represented as objects and it does not support object oriented capabilities .&lt;br /&gt;&lt;br /&gt;34. What is a drawback of MVT?&lt;br /&gt;It does not have the features like&lt;br /&gt; ability to support multiple processors&lt;br /&gt; virtual storage&lt;br /&gt; source level debugging&lt;br /&gt;&lt;br /&gt;35. What is process spawning?&lt;br /&gt;When the OS at the explicit request of another process creates a process, this action is called process spawning.&lt;br /&gt;&lt;br /&gt;36. How many jobs can be run concurrently on MVT?&lt;br /&gt;15 jobs&lt;br /&gt;&lt;br /&gt;37. List out some reasons for process termination.&lt;br /&gt; Normal completion&lt;br /&gt; Time limit exceeded&lt;br /&gt; Memory unavailable&lt;br /&gt; Bounds violation&lt;br /&gt; Protection error&lt;br /&gt; Arithmetic error&lt;br /&gt; Time overrun&lt;br /&gt; I/O failure&lt;br /&gt; Invalid instruction&lt;br /&gt; Privileged instruction&lt;br /&gt; Data misuse&lt;br /&gt; Operator or OS intervention&lt;br /&gt; Parent termination.&lt;br /&gt;&lt;br /&gt;38. What are the reasons for process suspension?&lt;br /&gt;&lt;br /&gt;   1. swapping&lt;br /&gt;   2.  interactive user request&lt;br /&gt;   3.  timing&lt;br /&gt;   4.  parent process request&lt;br /&gt;&lt;br /&gt;39. What is process migration?&lt;br /&gt;It is the transfer of sufficient amount of the state of process from one machine to the target machine&lt;br /&gt;&lt;br /&gt;40. What is mutant?&lt;br /&gt;In Windows NT a mutant provides kernel mode or user mode mutual exclusion with the notion of ownership.&lt;br /&gt;&lt;br /&gt;41. What is an idle thread?&lt;br /&gt;The special thread a dispatcher will execute when no ready thread is found.&lt;br /&gt;&lt;br /&gt;42. What is FtDisk?&lt;br /&gt;It is a fault tolerance disk driver for Windows NT.&lt;br /&gt;&lt;br /&gt;43. What are the possible threads a thread can have?&lt;br /&gt;Ø Ready&lt;br /&gt;Ø Standby&lt;br /&gt;Ø Running&lt;br /&gt;Ø Waiting&lt;br /&gt;Ø Transition&lt;br /&gt;Ø Terminated.&lt;br /&gt;&lt;br /&gt;44. What are rings in Windows NT?&lt;br /&gt;    Windows NT uses protection mechanism called rings provides by the process to implement separation between the user mode and kernel mode.&lt;br /&gt;&lt;br /&gt;45. What is Executive in Windows NT?&lt;br /&gt;In Windows NT, executive refers to the operating system code that runs in kernel mode.&lt;br /&gt;&lt;br /&gt;46. What are the sub-components of I/O manager in Windows NT?&lt;br /&gt;Ø Network redirector/ Server&lt;br /&gt;Ø Cache manager.&lt;br /&gt;Ø File systems&lt;br /&gt;Ø Network driver&lt;br /&gt;Ø Device driver&lt;br /&gt;&lt;br /&gt;47. What are DDks? Name an operating system that includes this feature.&lt;br /&gt;    DDks are device driver kits, which are equivalent to SDKs for writing device drivers. Windows NT includes DDks.&lt;br /&gt;&lt;br /&gt;48. What level of security does Windows NT meets?&lt;br /&gt;    C2 level security.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-4274331745931835412?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/4274331745931835412/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=4274331745931835412' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/4274331745931835412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/4274331745931835412'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/operating-systems-interview-questions.html' title='Operating Systems Interview Questions'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-4029685057635313426</id><published>2008-12-31T04:32:00.000-08:00</published><updated>2008-12-31T04:33:44.387-08:00</updated><title type='text'>Java/J2ME Interview Questions</title><content type='html'>&lt;span style="font-weight:bold;"&gt;1.) Difference between Enumeration and Iteration?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    Both will help you to travel into collection bag, but Enumeration is a legacy classes, Iterator have introduced in Collection framework. In enumeration we can modify the collection objects but throw Iterator it is possible. Enumeration can be used for Collection objects as well as Iterator can be used for legacy classes. Enumeration acts as Read-only interface, where as using Iterator we can manipulate the objects also like adding and removing the objects. So Enumeration is used whenever we want to make Collection objects as Read-only.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2.) What’s the difference between Transient and Volatile?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    Transient: The transient modifier applies to variables only and it is not stored as part of its object’s Persistent state. These variables are not serialized. Transient instance fields are neither saved nor restored by the standard serialization. You have to handle restoring them yourself.&lt;br /&gt;&lt;br /&gt;    Volatile: Volatile modifier tells the compiler that the variable modified by volatile can be changed unexpectedly by other parts of the program. For example a Variable might be read from Cache and not update the content if it has been changed by another thread. Specifying a variable as volatile tells the JVM that any threads using that variable are not allowed to cache that value at all. Making the Variable Volatile will ensure that the compiler will get the content of the variable every time it is used and not cache its content. If not used Carefully this modifier might introduce bugs.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;3.) Is JVM platform dependent?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    Although java is platform independent but still JVM IS platform dependent one of the feature called byte code makes JVM platform dependent. Byte code is an intermediate machine code of compiled source code. The byte code can run on all machines, however the JVM must be installed in each machine.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;4.) What are wrapper classes? Why do we need wrapper classes?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    Java provides specialized classes corresponding to each of the primitive data types. These are called wrapper classes. They are Boolean, Byte, Character, Double, Float, Integer, Long, and Short.&lt;br /&gt;&lt;br /&gt;    We can create instances of these classes hence we can store them in any of the collection classes and pass them around as a collection. Also we can pass them around as method parameters where a method expects an object.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;5.) What are Checked and Unchecked Exception?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    A checked exception is generally known as Compiletime Exception. Checked exception forces client programmers to deal with the possibility that the exception will be thrown hence the programmer has to handle these types of exceptions. e.g., IOException thrown by java.io.FileInputStream’s read( ) method.&lt;br /&gt;&lt;br /&gt;    Where as Unchecked exceptions are Runtime Exception. With an unchecked exception, however, the compiler doesn’t force client programmers either to catch the exception or declare it in a throws clause. In fact, client programmers may not even know that the exception could be thrown. e.g., StringIndexOutOfBounds Exception thrown by String’s charAt () method· Checked exceptions must be caught at compile time but Runtime exceptions do not need to be.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;6.) What is deadlock and how it can be avoid?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    Deadlock is a situation when two threads are waiting on each other to release a resource. Each thread waiting for a resource, which is held by the other waiting thread. In Java, this resource is usually the object lock obtained by the synchronized keyword.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;7.) What is the difference between interface and abstract class?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    Difference between interface and abstract:&lt;br /&gt;    All the methods declared inside interface should be abstract, and there is no need to use the key word “abstract” for those method, but in case of abstract class at least one method should be abstract, most importantly u have to use the “abstract” key word for that method, besides that it may contain concrete methods. Abstract class must be extended abstract () methods generally contain only declaration part without definition part.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;8.) Why are there no global variables in Java?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    Global variables are considered bad form for a variety of reasons:&lt;br /&gt;&lt;br /&gt;        * Adding state variables breaks referential transparency (you no longer can understand a statement or expression on its own: you need to understand it in the context of the settings of the global variables).&lt;br /&gt;        * State variables lessen the cohesion of a program: you need to know more to understand how something works. A major point of Object-Oriented programming is to break up global state into more easily understood collections of local state.&lt;br /&gt;        * When you add one variable, you limit the use of your program to one instance. What you thought was global, someone else might think of as local: they may want to run two copies of your program at once.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;9.) What are the steps in the JDBC connection?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    For making a JDBC connection we need to go through the following steps:&lt;br /&gt;&lt;br /&gt;    Step 1: Register the database driver by using:&lt;br /&gt;    Class.forName (\” driver class for that specific database\”);&lt;br /&gt;&lt;br /&gt;    Step 2 : Create a database connection using:&lt;br /&gt;    Connection con = DriverManager.getConnection (url, username, password);&lt;br /&gt;&lt;br /&gt;    Step 3: Create a query using:&lt;br /&gt;    Statement stmt = Connection.Statement (\”select * from TABLE NAME\”);&lt;br /&gt;&lt;br /&gt;    Step 4: Exceute the query:&lt;br /&gt;    Stmt.exceuteUpdate ();&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;10.) What is an enumeration?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    An enumeration is an interface which containing methods for accessing the underlying data structure. It is a construct which collection classes return when you request a collection of all the objects stored in the collection. It allows sequential access to all the elements stored in the collection.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;11.) How Application is differ from Applet?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    Applications:&lt;br /&gt;&lt;br /&gt;        * Applications are Stand Alone and the doesn’t need web-browser.&lt;br /&gt;        * Execution of Applications starts with main ().&lt;br /&gt;&lt;br /&gt;    Applets:&lt;br /&gt;&lt;br /&gt;        * Needs no explicit installation on local machine. Can be transferred through Internet on to the local machine and may run as part of web-browser.&lt;br /&gt;        * Execution Applets starts with init () method and it must run within a GUI, it may be AWT / Swing.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;12.) What is CDC?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    The Connected Device Configuration (CDC) is a specification for a J2ME configuration. Conceptually, CDC deals with devices with more memory and processing power than CLDC; it is for devices with an always-on network connection and a minimum of 2 MB of memory available for the Java system.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;13.) What is the MIDP?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    The MIDP defines a set of APIs for mobile devices, such as cell phones and low-end PDAs&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;14.) What is variable typing in javascript?&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;    It is perfectly legal to assign a number to a variable and then assign a string to the same variable as follows&lt;br /&gt;&lt;br /&gt;    Example: i = 10;&lt;br /&gt;&lt;br /&gt;    i = “string”;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;15.) What does a well-written java program look like?&lt;span style="font-style:italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    A well-written java program exhibits recurring structures that promote abstraction, flexibility, modularity and elegance.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-4029685057635313426?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/4029685057635313426/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=4029685057635313426' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/4029685057635313426'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/4029685057635313426'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/javaj2me-interview-questions.html' title='Java/J2ME Interview Questions'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-7046786476513113598</id><published>2008-12-31T04:31:00.000-08:00</published><updated>2008-12-31T04:32:08.212-08:00</updated><title type='text'>Interview Tips</title><content type='html'>&lt;span style="font-style:italic;"&gt;These days, interviews don't come easily. When you get The Call, make the most of your time -- and go for it!&lt;span style="font-weight:bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Investigate the company's culture, markets, and finances. But resist the temptation to show off what you've researched: "I just read that you're about to embark on a new product line") unless you have a question directly related to your career.&lt;br /&gt;&lt;br /&gt;2. Look like you belong. Learn the company's dress code and err on the side of conservatism. When you're seeking a senior position based on industry experience, you'll be expected to know the rules without being told.&lt;br /&gt;&lt;br /&gt;3. Take charge of the interview! The most successful interviews feel like friendly conversations. When your interviewer has an agenda (such as the infamous "stress interview") stay relaxed. Think of playing a game.&lt;br /&gt;&lt;br /&gt;4. Assume everyone you meet will provide feedback to the decision-maker. Some companies hand out comment forms to receptionists, security guards and potential peers who take you to lunch.&lt;br /&gt;&lt;br /&gt;5. Communicate interest and enthusiasm, even if you're not sure you're ready to commit. You'll rarely have all the facts until you're looking at an offer.&lt;br /&gt;&lt;br /&gt;6. Bring extra copies of your correspondence from this company as well as your resume, references, writing&lt;br /&gt;samples, portfolio and current business cards. Interviewers lose documents and conversations move in unexpected directions.&lt;br /&gt;&lt;br /&gt;7. Create a relaxed, positive attitude by devising a realistic game plan. When your career isn't riding on a single interview, you'll have fun and make a confident, relaxed impression.&lt;br /&gt;&lt;br /&gt;8. Write a thank you letter within forty-eight hours. Create a low-key sales letter, emphasizing how your qualifications match the company's needs. Present yourself as a resource, not a supplicant.&lt;br /&gt;&lt;br /&gt;9. After you write the letter, forget about the interview. Email or phone only if you've received a competing offer with a deadline.&lt;br /&gt;&lt;br /&gt;Occasionally you may make points with follow-up mailings. A sports team public relations applicant sent puzzles, games and press releases -- and she got the job. Use your intuition.&lt;br /&gt;&lt;br /&gt;10. Keep notes of what you learned from the process. What worked? What would you do differently?&lt;br /&gt;As soon as you begin your new job, develop a career plan and a safety net before you need one.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-7046786476513113598?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/7046786476513113598/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=7046786476513113598' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/7046786476513113598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/7046786476513113598'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/interview-tips.html' title='Interview Tips'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-2654952183607057002</id><published>2008-12-31T04:30:00.000-08:00</published><updated>2008-12-31T04:31:17.451-08:00</updated><title type='text'>What mistakes you need to avoid for better English?</title><content type='html'>&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;You can learn English without any mistakes, How? You should fill your brain with correct sentences and imitate them.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To avoid mistakes you can follow some books dictionary,or you can listen native speaker’s language.If you practice seriously then it is very hard to make a mistake! First, try to be more careful by using the rules of error free speaking. If you still make a lot of mistakes , more than 1 mistake every 3 sentences, try to practice by reading and listening in English. You avoid mistakes if you follow a couple of rules:&lt;br /&gt;&lt;br /&gt;Try to use very simple language&lt;br /&gt;Some beginners try to build very complicated sentences with things like the present perfect tense or conditionals. They make horrible mistakes. Don't do this!First use some simple sententences and they try complecated. If you've just started to speak or write in English it would be very difficult to use complecated sentences.More chances are there to make mistakes.You may feel you're talking like a child or that you are not expressing your thoughts, but don't worry about it. Right now, your task is not to express your thoughts freely; your task is to learn the language.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Be slow and careful&lt;/span&gt;&lt;br /&gt;In the beginning, you should write very slowly. If you need 2 hours to write an e-mail message with 10 correct sentences, that's okay. That's how long it should take if you're just starting to write. Why should it take so long? Because you should read your sentences many times, looking for mistakes. You should correct your own sentences frequently. You should check if your sentences are correct by using a dictionary and the Web. And you should look for example sentences to imitate. If you are more care ful you can avoid mistakes.&lt;br /&gt;&lt;br /&gt;If you're not sure how to say something, don't say it&lt;br /&gt;Some times when you speak, you can't say something correctly, it's almost better not to say it.Otherwise you will make some mistakes. You don't want to teach yourself the wrong way to say it. Instead of that you can try to look for the correct sentence in a dictionary or on the Web. But when speaking, usually you don't have time for that. So it's a good idea to say something else — something that you know is correct. It can even be something on a different subject.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;When writing, always look things up&lt;/span&gt;&lt;br /&gt;Whenever you're not sure how to use a word, look it up in a good dictionary to find example sentences with it. When you've written something, and you are not sure if it's correct, search for it on the Web . If many pages contain your phrase, then it is probably correct. Dictionaries and web should be your everyday tools, and you should use them even many times in one sentence.If you do so you will get the idea how to use dictionary and web.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Know where you can screw up&lt;/span&gt;&lt;br /&gt;Sometimes learners can not realize how different English is from their native language. When speaking, they translate word for word from their native language, and they think their sentences are okay. When reading or listening in English, pay close attention to things like word order, articles, prepositions, and tenses. Compare sentences in English with equivalent sentences in your native language. Notice the differences in words and in word order. This will make you more careful when speaking in the foreign language, because you will realize which parts of your sentences can be wrong and should be double-checked.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Don't worry about fluency&lt;/span&gt;&lt;br /&gt;Fluency is easy to achieve by simply talking. If you practice speaking, you will be able to speak faster and faster Through practice you can achieve fluency.You should be very slow and correct ,while you speak,you can easily improve your fluency.But if you are fluent and make a lot of mistakes, it is not so easy to remove your mistakes and become fluent and correct. So you should speak slowly without making any mistakes and gadually you can attain fluency.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Don't speak or write too early&lt;/span&gt;&lt;br /&gt;First write, then speak.&lt;br /&gt;Writing is easier than speaking because:&lt;br /&gt;1) you don't need to have good pronunciation,but you need good spelling&lt;br /&gt;2) you can write very slowly and nobody will mind&lt;br /&gt;3) you can use dictionaries, the Web, etc. So, it's a good idea to practice writing first until you can build correct sentences quickly enough for speaking.&lt;br /&gt;&lt;br /&gt;Don't speak until you've learned to pronounce English sounds&lt;br /&gt;You need to be able to pronounce all the English vowels and consonants in a clear way before you speak. If you don't, you will get used to bad pronunciation.&lt;br /&gt;&lt;br /&gt;Don't say a word if you don't know how to pronounce it&lt;br /&gt;In other words, you need to know the pronunciation of all the words that you use. If you don't, you will be making pronunciation mistakes and teaching yourself bad habits.&lt;br /&gt;&lt;br /&gt;Remember that you should first get lots of English sentences into your head, then build your own sentences. Your main activity should be reading and listening to English and you will get more examples to follow before you can build your own sentences. The more sentences your brain absorbs, the more you can express in English. If you don't hear enough correct, natural English sentences, you will not know how to say things in English. So you will be inventing your own language. And you will be making mistakes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-2654952183607057002?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/2654952183607057002/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=2654952183607057002' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2654952183607057002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2654952183607057002'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/what-mistakes-you-need-to-avoid-for.html' title='What mistakes you need to avoid for better English?'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-1780467898828735880</id><published>2008-12-31T04:29:00.001-08:00</published><updated>2008-12-31T04:29:50.283-08:00</updated><title type='text'>A Student's Guide to Interviewing With Third-Party Recruiters</title><content type='html'>As you conduct your job search you will find that some employers hire third-party organizations to assist them in identifying and hiring college students. An employer can hire a third-party organization to do on-campus recruiting, represent the company at a job fair, screen job candidates who apply through an Internet web site, or other hiring activities. Many college career centers allow third-party recruiters to work with students through their offices. Some have special policies that apply to how, when, and where third-party recruiters can work with students. Check with your career center for more information.&lt;br /&gt;&lt;br /&gt;The &lt;span style="font-style:italic;"&gt;National Association of Colleges and Employers (NACE)&lt;span style="font-weight:bold;"&gt;&lt;/span&gt;&lt;/span&gt; defines third-party recruiters as "agencies, organizations, or individuals recruiting candidates for temporary, part-time, or full-time employment opportunities other than for their own needs." Categories of third-party recruiters include:&lt;br /&gt;&lt;br /&gt;    * Employment Agencies: Employment agencies list positions for a number of organizations and receive payment when a referred candidate is hired. The fee for listing a position is paid either by the firm listing the opening or by the candidate who is hired. If the job listing does not include the phrase "fee paid," be sure to ask who pays the fee before signing any papers.&lt;br /&gt;    * Search Firms: A search firm contracts with employers to find and screen qualified persons to fill specific positions. The fee is paid by the employer. Search firm representatives will identify the employer they represent.&lt;br /&gt;    * Contract Recruiters: Employers hire contract recruiters to represent them in the recruiting and employment function.&lt;br /&gt;    * Resume Referral Firms: A resume referral firm collects information on job seekers and forwards it to prospective employers. Data can be contained in resumes or on data forms (either paper or electronic). The employer, job seeker, or both may pay fees. You must give the firm written permission to pass your resume to employers. Your permission should include a statement that expressly states to whom and for what purpose the information can be used. &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Questions to Ask&lt;span style="font-style:italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A third-party recruiter may be helpful to you in your job search, but be a wise consumer. Read all materials carefully. Ask questions. Ask your career services office staff for information. Ask a lawyer to read any contracts you are asked to sign. Here are some general questions you may want to ask:&lt;br /&gt;&lt;br /&gt;   1. How many job openings are there for someone in my field? If you have the opportunity, inquire about the positions being filled or the number of openings related to your field. These are important questions because, in some instances, recruiters may not really have the type or number of openings they advertise. They may be more interested in adding your name to their candidate pool as a means of attracting more employers or clients to their services. Or they may be collecting resumes from students for potential job opportunities. Your school may or may not not allow third-party recruiters to interview students unless they are trying to fill actual job openings.&lt;br /&gt;   2. How is this information being used? A third-party recruiter is allowed legally to share your resume with the contract employer for positions that you are actually seeking. The recruiter must tell you, in clear terms, that your materials and information will not be shared outside the organization or used for any purpose other than with the company they represent at the time they interview you. The third-party recruiter cannot sell your information to anyone else. You may choose to authorize the recruiter to share your data elsewhere, but your authorization should be given to the recruiter in writing.&lt;br /&gt;   3. Are candidates treated equally and fairly? If you are qualified for the job opportunity, the third-party recruiter must pass your information to employers without regard to your race, color, national origin, religion, age, gender, sexual orientation, or disability.&lt;br /&gt;   4. Who pays the fee? Before you agree to anything or sign a contract, ask the recruiter who will pay the fee. &lt;br /&gt;&lt;br /&gt;For assistance with these questions or other related topics, contact the career center on your college or university campus.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-1780467898828735880?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/1780467898828735880/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=1780467898828735880' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/1780467898828735880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/1780467898828735880'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/students-guide-to-interviewing-with.html' title='A Student&apos;s Guide to Interviewing With Third-Party Recruiters'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-2896794648304675674</id><published>2008-12-31T04:22:00.000-08:00</published><updated>2008-12-31T04:28:34.150-08:00</updated><title type='text'>C / C++ - Frequently Asked Questions</title><content type='html'>&lt;span style="font-weight:bold;"&gt;1.) How To Split an Image File In C Launguage?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    To split an image file various logics are there.the best logic in such a way that take the size of the file using c file functions and split into the pieces how many required by asking the input.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2.)What is the difference between an ARRAY and a LIST?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    Array is collection of homogeneous elements. List is collection of heterogeneous elements. For Array memory allocated is static and continuous. For List memory allocated is dynamic and Random. Array: User need not have to keep in track of next memory allocation. List: User has to keep in Track of next location where memory is allocated.&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;br /&gt;3.)Define a constructor - what it is and how it might be called?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    constructor is a member function of the class, with the name of the function being the same as the class name. It also specifies how the object should be initialized&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;4.)Define a constructor - what it is and how it might be called?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    constructor is a member function of the class, with the name of the function being the same as the class name. It also specifies how the object should be initialized Ways of calling constructor:&lt;br /&gt;    1) Implicitly: automatically by complier when an object is created.&lt;br /&gt;    2) Calling the constructors explicitly is possible, but it makes the code unverifiable.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;5.)You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. new() and malloc()?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    1.) “new and delete” are preprocessors while “malloc() and free()” are functions. [we dont use brackets will calling new or delete].&lt;br /&gt;    2.) no need of allocate the memory while using “new” but in “malloc()” we have to use “sizeof()”.&lt;br /&gt;    3.) “new” will initlize the new memory to 0 but “malloc()” gives random value in the new alloted memory location [better to use calloc()].&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;6.)Explain term POLIMORPHISM?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    POLYMORPHISM : A phenomenon which enables an object to react differently to the same function call. in C++ it is attained by using a keyword virtual&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;7.)What are 2 ways of exporting a function from a DLL?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    1.Taking a reference to the function from the DLL instance.&lt;br /&gt;    2. Using the DLL ’s Type Library&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;8.)Describe PRIVATE, PROTECTED and PUBLIC – the differences?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    The Difference Between The private Public And Protected member are: public methods/attributes are accessible to all classes. protected are accessible to class and derived classes. private are only for class (not for derived classes)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-2896794648304675674?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/2896794648304675674/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=2896794648304675674' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2896794648304675674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2896794648304675674'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/c-c-frequently-asked-questions.html' title='C / C++ - Frequently Asked Questions'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-7168707147167809910</id><published>2008-12-31T04:21:00.000-08:00</published><updated>2008-12-31T04:22:31.275-08:00</updated><title type='text'>A-Z of English Communication for Job Seekers</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Communication is the successful transmission of information through a common system of symbols, signs, behavior, speech, writing, or signals.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Communication is essentially the transfer of ideas, messages or information from one person to another. It is effective when it gets the desired action or response. Basic communication skills are essential for continued success, whether personal or professional. At the very base one needs to understand the communication process.&lt;br /&gt;&lt;br /&gt;Since effective communication is essential for success, you have to make an all-out effort to improve your communication skills. To do so, job seekers and others those who have interest to enhance their communication skills can take the following course.&lt;br /&gt;&lt;br /&gt;1. To communicate your response, you have to understand the point being made in the question. To understand, you have to listen carefully. Listening is the key to your understanding.&lt;br /&gt;&lt;br /&gt;2. Plan and conceptualize your thoughts before giving a response. This requires your ability quickly and focuses on the core point. You may take a moment’s pause to compose your thoughts before answering, but think before you answer.&lt;br /&gt;&lt;br /&gt;3. Sharpen your language skills. Use simple words and short sentences as far as possible. Strictly avoid long sentences, which can confuse and make you lose track of your talking points. Reading articles and books can help a candidate improve his language skill and participate effectively in the communication process.&lt;br /&gt;&lt;br /&gt;4. Remove the fear of failure from the mind. Look at the silver lining of the cloud. One failure may be a learning point for success in the next interview. The world is not lost with one failure in an interview, as long as you are open to learning from the experience. So, take it easy.&lt;br /&gt;&lt;br /&gt;5. Perceive rightly. Be rational and don’t rush into a judgment without analyzing the message. Try to perceive the message from the point of view of the sender.&lt;br /&gt;&lt;br /&gt;6. Make it a habit to put down thoughts on a piece of paper, if you are not comfortable with mental conceptualization. Then, try to verbalize them.&lt;br /&gt;&lt;br /&gt;7. Avoid needless communication. It takes away your valuable time and also tends to expose your inconsistency. Answer to the point with relevant information, and do not resort to long elaboration.&lt;br /&gt;&lt;br /&gt;8. Be mindful about the body language of the receiver. Quite often, the interviewer’s body language conveys the signal about your effectiveness and correctness of answer. It will also tell you when to stop. If you don’t stop soon, you may be at a disadvantage.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Facilitating Communication&lt;span style="font-style:italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In addition to removal of specific barriers to communication, the following general Guidelines may also facilitate communication.&lt;br /&gt;&lt;br /&gt;1. Have a positive attitude about communication. Defensiveness interferes with Communication.&lt;br /&gt;2. Work at improving communication skills. It takes knowledge and work. The communication model and discussion of barriers to communication provide the necessary knowledge. This increased awareness of the potential for improving communication is the first step to better communication.&lt;br /&gt;&lt;br /&gt;3. Include communication as a skill to be evaluated along with all the other skills in each person's job description. Help other people improve their communication skills by helping them understand their communication problems.&lt;br /&gt;&lt;br /&gt;4. Make communication goal oriented. Relational goals come first and pave the way for other goals. When the sender and receiver have a good relationship, they are much more likely to accomplish their communication goals.&lt;br /&gt;&lt;br /&gt;5. Approach communication as a creative process rather than simply part of the chore of working with people. Experiment with communication alternatives. What works with one person may not work well with another person. Vary channels, listening techniques, and feedback techniques.&lt;br /&gt;&lt;br /&gt;6. Accept the reality of miscommunication. The best communicators fail to have perfect Communication. They accept miscommunication and work to minimize its negative impacts.&lt;br /&gt;&lt;br /&gt;Communication is at the heart of many interpersonal problems faced by farm employers. Understanding the communication process and then working at improvement provide managers a recipe for becoming more effective communicators. Knowing the common barriers to communication is the first step to minimizing their impact. Managers can reflect on how they are doing and make use of the ideas presented in this paper. When taking stock of how well you are doing as a manager, first ask yourself and others how well you are doing as a communicator.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-7168707147167809910?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/7168707147167809910/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=7168707147167809910' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/7168707147167809910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/7168707147167809910'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/z-of-english-communication-for-job.html' title='A-Z of English Communication for Job Seekers'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-5372614313147685495</id><published>2008-12-31T04:19:00.001-08:00</published><updated>2008-12-31T04:19:53.063-08:00</updated><title type='text'>Aptitude Questions and Answers</title><content type='html'>If 2x-y=4 then 6x-3y=?&lt;br /&gt;&lt;br /&gt;(a)15&lt;br /&gt;(b)12&lt;br /&gt;(c)18&lt;br /&gt;(d)10&lt;br /&gt;&lt;br /&gt;Ans. (b)&lt;br /&gt;&lt;br /&gt;If x=y=2z and xyz=256 then what is the value of x?&lt;br /&gt;&lt;br /&gt;(a)12&lt;br /&gt;(b)8&lt;br /&gt;(c)16&lt;br /&gt;(d)6&lt;br /&gt;&lt;br /&gt;Ans. (b)&lt;br /&gt;&lt;br /&gt;Pipe A can fill in 20 minutes and Pipe B in 30 mins and Pipe C can empty the same in 40 mins. If all of them work together, find the time taken to fill the tank&lt;br /&gt;&lt;br /&gt;(a) 17 1/7 mins&lt;br /&gt;(b) 20 mins&lt;br /&gt;(c) 8 mins&lt;br /&gt;(d) none of these&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;Thirty men take 20 days to complete a job working 9 hours a day. How many hour a day should 40 men work to complete the job?&lt;br /&gt;&lt;br /&gt;(a) 8 hrs&lt;br /&gt;(b) 7 1/2 hrs&lt;br /&gt;(c) 7 hrs&lt;br /&gt;(d) 9 hrs&lt;br /&gt;&lt;br /&gt;Ans. (b)&lt;br /&gt;&lt;br /&gt;Find the smallest number in a GP whose sum is 38 and product 1728&lt;br /&gt;&lt;br /&gt;(a) 12&lt;br /&gt;(b) 20&lt;br /&gt;(c) 8&lt;br /&gt;(d) none of these&lt;br /&gt;&lt;br /&gt;Ans. (c)&lt;br /&gt;&lt;br /&gt;A boat travels 20 kms upstream in 6 hrs and 18 kms downstream in 4 hrs. Find the speed of the boat in still water and the speed of the water current?&lt;br /&gt;&lt;br /&gt;(a) 1/2 kmph&lt;br /&gt;(b) 7/12 kmph&lt;br /&gt;(c) 5 kmph&lt;br /&gt;(d) none of these&lt;br /&gt;&lt;br /&gt;Ans. (b)&lt;br /&gt;&lt;br /&gt;A goat is tied to one corner of a square plot of side 12m by a rope 7m long. Find the area it can graze?&lt;br /&gt;&lt;br /&gt;(a) 38.5 sq.m&lt;br /&gt;(b) 155 sq.m&lt;br /&gt;(c) 144 sq.m&lt;br /&gt;(d) 19.25 sq.m&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;br /&gt;&lt;br /&gt;Mr. Shah decided to walk down the escalator of a tube station. He found that if he walks down 26 steps, he requires 30 seconds to reach the bottom. However, if he steps down 34 stairs he would only require 18 seconds to get to the bottom. If the time is measured from the moment the top step begins to descend to the time he steps off the last step at the bottom, find out the height of the stair way in steps?&lt;br /&gt;&lt;br /&gt;Ans.46 steps.&lt;br /&gt;&lt;br /&gt;The average age of 10 members of a committee is the same as it was 4 years ago, because an old member has been replaced by a young member. Find how much younger is the new member ?&lt;br /&gt;&lt;br /&gt;Ans.40 years.&lt;br /&gt;&lt;br /&gt;ABCE is an isosceles trapezoid and ACDE is a rectangle. AB = 10 and EC = 20. What is the length of AE?&lt;br /&gt;&lt;br /&gt;Ans. AE = 10.&lt;br /&gt;&lt;br /&gt;In the given figure, PA and PB are tangents to the circle at A and B respectively and the chord BC is parallel to tangent PA. If AC = 6 cm, and length of the tangent AP is 9 cm, then what is the length of the chord BC?&lt;br /&gt;&lt;br /&gt;Ans. BC = 4 cm.&lt;br /&gt;&lt;br /&gt;Three cards are drawn at random from an ordinary pack of cards. Find the probability that they will consist of a king, a queen and an ace.&lt;br /&gt;&lt;br /&gt;Ans. 64/2210.&lt;br /&gt;&lt;br /&gt;A number of cats got together and decided to kill between them 999919 mice. Every cat killed an equal number of mice. Each cat killed more mice than there were cats. How many cats do you think there were ?&lt;br /&gt;&lt;br /&gt;Ans. 991.&lt;br /&gt;&lt;br /&gt;If Log2 x - 5 Log x + 6 = 0, then what would the value / values of x be?&lt;br /&gt;&lt;br /&gt;Ans. x = e2 or e3.&lt;br /&gt;&lt;br /&gt;The square of a two digit number is divided by half the number. After 36 is added to the quotient, this sum is then divided by 2. The digits of the resulting number are the same as those in the original number, but they are in reverse order. The ten's place of the original number is equal to twice the difference between its digits. What is the number?&lt;br /&gt;&lt;br /&gt;Ans. 46&lt;br /&gt;&lt;br /&gt;Can you tender a one rupee note in such a manner that there shall be total 50 coins but none of them would be 2 paise coins.?&lt;br /&gt;&lt;br /&gt;Ans. 45 one paisa coins, 2 five paise coins, 2 ten paise coins, and 1 twenty-five paise coins.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-5372614313147685495?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/5372614313147685495/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=5372614313147685495' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/5372614313147685495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/5372614313147685495'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/aptitude-questions-and-answers.html' title='Aptitude Questions and Answers'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-4154502693654564969</id><published>2008-12-31T04:15:00.000-08:00</published><updated>2008-12-31T04:17:44.190-08:00</updated><title type='text'>20 Job Interview Success Tips</title><content type='html'>1. Get references and letters of recommendation. Think of three to six professional&lt;br /&gt;   associates (i.e., co-workers, former bosses) who you believe will give you a good&lt;br /&gt;   recommendation. Then ask their permission to use them as references. If they say yes, get their correct title, work address and work phone number. You could also ask them to take the time to write out a general letter of recommendation for future use.&lt;br /&gt;Days before&lt;br /&gt;2. Research the company. Even before applying, learn all you can about this particular organization and the field. The interviewer will expect you to know something about the work you want to be doing, and about the place where you want to be doing it. It also shows you care -- which does count for something.&lt;br /&gt;&lt;br /&gt;3. Identify your key skills and accomplishments. Make a list and be ready to describe&lt;br /&gt;   your personal and professional strengths, your transferable skills and your relevant accomplishments. With your research, you have been able to identify qualities that the company values. Come up with a few personal anecdotes that illustrate your possession of those qualities.&lt;br /&gt;&lt;br /&gt;4. Practice the interview.Practice makes perfect, and it will give you confidence and&lt;br /&gt;   a sense of ease when you're truly in the hot seat at an interview.&lt;br /&gt;5. Check clothing. Make sure your suit is clean, shirt ironed, and shoes polished. Now's your chance to check whether your best outfit needs to go to the cleaners or a seamstress for repairs. If you're going to borrow any clothing from a friend or buy a&lt;br /&gt;new pair of shoes, do it ahead of time so that you can be sure everything fits well.&lt;br /&gt;&lt;br /&gt;6. Test drive. If you are unsure of the location of the interview, drive there. This way you can be sure of the building, the time to get there and any parking difficulties.Day before&lt;br /&gt;7. Call to reconfirm.  when you first make an appointment for an interview that you ask  the name of the secretary or receptionist. Then when you call back to reconfirm you can refer to them by name.&lt;br /&gt;&lt;br /&gt;8. Prepare clothes. "Check head to toe what you're going to be wearing." Also, gather&lt;br /&gt;   all the things you'll be bringing to the interview: an extra copy of your resume,&lt;br /&gt;   references, a portfolio, a pad of paper, a pen.&lt;br /&gt;&lt;br /&gt;9. Watch the weather. "If the weather's going to be bad, be prepared,"&lt;br /&gt;&lt;br /&gt;10.Get a good night's sleep. It's a big day -- you'll want to be fresh and alert.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Day of interview&lt;span style="font-style:italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;11.Work it off. Exercising earlier in the day if possible, to get your blood flowing&lt;br /&gt;   and to release stress.&lt;br /&gt;&lt;br /&gt;12.Get to the interview on time. Arrive 10 minutes early even. No excuses.&lt;br /&gt;&lt;br /&gt;13.Last-minute check. Take a look in your car mirror or in a bathroom mirror at a&lt;br /&gt;   location near interview. Fix your lipstick, pull loose hairs off the shoulder of&lt;br /&gt;   your jacket, make sure your shirt is properly tucked in and straighten your tie.&lt;br /&gt;   Now smile.&lt;br /&gt;&lt;br /&gt;Waiting&lt;br /&gt;14.Look confident and busy. More than likely you'll end up in a waiting room for at&lt;br /&gt;   least a few minutes. Don't get sloppy -- you are already on. When the interviewer&lt;br /&gt;   walks in, be ready to shake hands. "Remember, purses and briefcases in left hand.&lt;br /&gt;&lt;br /&gt;During&lt;br /&gt;15. Pay attention. After all your preparation, the interview will be a snap,  Since&lt;br /&gt;    you prepared, it won't be nearly as much of a struggle -- but it is vital that&lt;br /&gt;    you listen to the interviewer.&lt;br /&gt;&lt;br /&gt;16. Relax. If you're nervous "When you sit, keep your palms up” This lowers your&lt;br /&gt;    blood pressure and air dries the palms."&lt;br /&gt;&lt;br /&gt;Right after&lt;br /&gt;17. Write it down. On a pad of paper in your car, write down your impressions of the&lt;br /&gt;    company and the interview, and the names of your potential co-workers . If you're&lt;br /&gt;    called for another interview, you can review what was discussed at the first one,&lt;br /&gt;    thus preparing even better for the second&lt;br /&gt;&lt;br /&gt;Day after&lt;br /&gt;18. Send thank you note. Thank the interviewer(s) for taking the time to meet with you.&lt;br /&gt;    This is a polite gesture -- and a subtle reminder to them of you.&lt;br /&gt;&lt;br /&gt;Week after&lt;br /&gt;19. Make follow-up call. If you haven't heard from the company and you are still&lt;br /&gt;    interested in the job, make a quick call to the person who interviewed you or&lt;br /&gt;    the Human Resources department. See if they are closer to making a decision and&lt;br /&gt;    when you might expect to hear from them. Go ahead and tell them how excited you&lt;br /&gt;    are about the prospect of working there.&lt;br /&gt;&lt;br /&gt;Weeks after&lt;br /&gt;20. Be patient. You might hear about the job right away. More likely, the company&lt;br /&gt;    will take some time to interview candidates and then review them. If you got&lt;br /&gt;    good vibes from the interview or the follow-up call, just be patient.&lt;br /&gt;&lt;br /&gt;But don't quit your job search, just because you found what you think will be your&lt;br /&gt;dream job.It might not work out, and waiting before applying somewhere else is&lt;br /&gt;going to drag out your job search. While some companies won't call or write you&lt;br /&gt;when the job is filled -- which is irritating as hell -- others may just be taking&lt;br /&gt;their time.&lt;br /&gt;&lt;br /&gt;A job interview that does not result in a job need not be a failure. You can learn from&lt;br /&gt;the experience, improving your presentation and concentration for the next time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-4154502693654564969?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/4154502693654564969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=4154502693654564969' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/4154502693654564969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/4154502693654564969'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/20-job-interview-success-tips.html' title='20 Job Interview Success Tips'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-7935666253421366086</id><published>2008-12-30T07:02:00.000-08:00</published><updated>2008-12-30T07:03:55.422-08:00</updated><title type='text'>Regarding Java Sound API</title><content type='html'>&lt;a href="http://java.sun.com/j2se/1.5.0/docs/guide/sound/programmer_guide/contents.html"&gt;http://java.sun.com/j2se/1.5.0/docs/guide/sound/programmer_guide/contents.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-7935666253421366086?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/7935666253421366086/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=7935666253421366086' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/7935666253421366086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/7935666253421366086'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/regarding-java-sound-api.html' title='Regarding Java Sound API'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-5741846944587889338</id><published>2008-12-30T04:24:00.000-08:00</published><updated>2008-12-30T04:25:18.117-08:00</updated><title type='text'>General Questions</title><content type='html'>Tell me about you!&lt;br /&gt;&lt;br /&gt;Keep your answer to one or two minutes; don't ramble. Use your resume summary as a base to start. &lt;br /&gt;&lt;br /&gt; What do you know about our company?&lt;br /&gt;&lt;br /&gt;Do your homework before the interview! Spend some time online or at the library researching the company. Find out as much as you can, including products, size, income, reputation, image, management talent, people, skills, history and philosophy. Project an informed interest; let the interviewer tell you about the company. &lt;br /&gt;&lt;br /&gt;Why do you want to work for us? &lt;br /&gt;&lt;br /&gt;Don't talk about what you want; first, talk about their needs: You would like to be part of a specific company project; you would like to solve a company problem; you can make a definite contribution to specific company goals. &lt;br /&gt;&lt;br /&gt; What would you do for us? What can you do for us that someone else can't?&lt;br /&gt;&lt;br /&gt;Relate past experiences that show you've had success in solving previous employer problem(s) that may be similar to those of the prospective employer. &lt;br /&gt;&lt;br /&gt; What about the job offered do you find the most attractive? Least attractive?&lt;br /&gt;&lt;br /&gt;List three or more attractive factors and only one minor unattractive factor. &lt;br /&gt;&lt;br /&gt;Why should we hire you? &lt;br /&gt;&lt;br /&gt;Because of your knowledge, experience, abilities and skills. &lt;br /&gt;&lt;br /&gt; What do you look for in a job?&lt;br /&gt;&lt;br /&gt;An opportunity to use your skills, to perform and be recognized. &lt;br /&gt;&lt;br /&gt;Please give me your definition of a .... (the position for which you are being interviewed).&lt;br /&gt;&lt;br /&gt;Keep it brief -- give an actions- and results-oriented definition. &lt;br /&gt;&lt;br /&gt;How long would it take you to make a meaningful contribution to our firm?&lt;br /&gt;&lt;br /&gt;Not long at all -- you expect only a brief period of adjustment to the learning curve. &lt;br /&gt;&lt;br /&gt;How long would you stay with us?&lt;br /&gt;&lt;br /&gt;As long as we both feel I'm contributing, achieving, growing, etc.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-5741846944587889338?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/5741846944587889338/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=5741846944587889338' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/5741846944587889338'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/5741846944587889338'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/general-questions.html' title='General Questions'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-1723771186871597407</id><published>2008-12-30T04:23:00.000-08:00</published><updated>2008-12-30T04:24:21.389-08:00</updated><title type='text'>Strategies for Improving GD Skills</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Observe&lt;br /&gt;&lt;br /&gt;Attend as many seminars and tutorials as possible and notice what other students do. Ask yourself:&lt;br /&gt;&lt;br /&gt;How do other students make critical comments?&lt;br /&gt;&lt;br /&gt;How do they ask questions?&lt;br /&gt;&lt;br /&gt;How do they disagree with or support arguments?&lt;br /&gt;&lt;br /&gt;What special phrases do they use to show politeness even when they are voicing disagreement?&lt;br /&gt;&lt;br /&gt;How do they signal to interrupt, ask a question or make a point?&lt;br /&gt;&lt;br /&gt;Practice&lt;br /&gt;&lt;br /&gt;Start practicing your discussion skills in an informal setting or with a small group. Start with asking questions of fellow students. Ask them about the course material. Ask for their opinions. Ask for information or ask for help.&lt;br /&gt;&lt;br /&gt;Participate&lt;br /&gt;Take every opportunity to take part in social/informal discussions as well as more structured/formal discussion. Start by making small contributions to tutorial discussions; prepare a question to ask, or agree with another speaker's remarks.&lt;br /&gt;&lt;br /&gt;Do&lt;br /&gt;&lt;br /&gt;Speak pleasantly and politely to the group.&lt;br /&gt;&lt;br /&gt;Respect the contribution of every speaker.&lt;br /&gt;&lt;br /&gt;Remember that a discussion is not an argument. Learn to disagree politely.&lt;br /&gt;&lt;br /&gt;Think about your contribution before you speak. How best can you answer the question/ contribute to the topic?&lt;br /&gt;&lt;br /&gt;Try to stick to the discussion topic. Don't introduce irrelevant information.&lt;br /&gt;&lt;br /&gt;Be aware of your body language when you are speaking.&lt;br /&gt;&lt;br /&gt;Agree with and acknowledge what you find interesting.&lt;br /&gt;&lt;br /&gt;Don't&lt;br /&gt;&lt;br /&gt;Lose your temper. A discussion is not an argument.&lt;br /&gt;&lt;br /&gt;Shout. Use a moderate tone and medium pitch.&lt;br /&gt;&lt;br /&gt;Use too many gestures when you speak. Gestures like finger pointing and table thumping can appear aggressive.&lt;br /&gt;&lt;br /&gt;Dominate the discussion. Confident speakers should allow quieter students a chance to contribute.&lt;br /&gt;&lt;br /&gt;Draw too much on personal experience or anecdote. Although some tutors encourage students to reflect on their own experience, remember not to generalise too much.&lt;br /&gt;&lt;br /&gt;Interrupt. Wait for a speaker to finish what they are saying before you speak.&lt;br /&gt;&lt;br /&gt;Leading a Discussion&lt;br /&gt;&lt;br /&gt;You may be in a seminar group that requires you to lead a group discussion, or lead a discussion after an oral presentation. You can demonstrate leadership by:&lt;br /&gt;&lt;br /&gt;introducing yourself and the members of the group&lt;br /&gt;&lt;br /&gt;stating the purpose of the discussion&lt;br /&gt;&lt;br /&gt;inviting quiet group members to speak&lt;br /&gt;&lt;br /&gt;being objective&lt;br /&gt;&lt;br /&gt;summarizing the discussion&lt;br /&gt;&lt;br /&gt;Chairing a Group Discussion&lt;br /&gt;&lt;br /&gt;When chairing a discussion group you must communicate in a positive way to assist the speakers in accomplishing their objective. There are at least four leadership skills you can use to influence other people positively and help your group achieve its purpose. These skills include:&lt;br /&gt;&lt;br /&gt;introducing the topic and purpose of the discussion,&lt;br /&gt;&lt;br /&gt;making sure all members have approximately the same time, (i.e. no one dominates the discussion by taking too much time)&lt;br /&gt;&lt;br /&gt;thanking group members for their contribution&lt;br /&gt;&lt;br /&gt;being objective in summarizing the group's discussion and achievements.&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-1723771186871597407?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/1723771186871597407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=1723771186871597407' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/1723771186871597407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/1723771186871597407'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/strategies-for-improving-gd-skills.html' title='Strategies for Improving GD Skills'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-9098226820725265816</id><published>2008-12-30T04:21:00.001-08:00</published><updated>2008-12-30T04:22:02.806-08:00</updated><title type='text'>Rocking FireFox!!</title><content type='html'>Mozilla firefox originally known as "Phoenix" and briefly as "Mozilla&lt;br /&gt;Firebird", is a free, cross-platform, graphical web browser developed&lt;br /&gt;by the Mozilla Foundation. It is a new internet browser in the market&lt;br /&gt;which really brings a competition for internet explorer. It is a good&lt;br /&gt;alternative for internet explorer. The firefox is open source feature&lt;br /&gt;which means that source code for the program is available to anyone&lt;br /&gt;who cares to download it.&lt;br /&gt;The reasons why the firefox browser is getting famous is stated in the&lt;br /&gt;points below.&lt;br /&gt;&lt;br /&gt;To Download for Free Visit&lt;br /&gt; www.Firefox . in&lt;br /&gt;&lt;br /&gt;Popup Blocking&lt;br /&gt;&lt;br /&gt;An internet browser without a popup blocker is like having a broadband&lt;br /&gt;connection without a fireball. Popup blocker is a really good blocking&lt;br /&gt;software which stops ads and never interferes with your browser&lt;br /&gt;navigation. If you want to get rid of the problem of popup ads,&lt;br /&gt;without introducing disturbing side affects, then firefox is the best&lt;br /&gt;site you can choose. Trying this with internet explorer would probably&lt;br /&gt;bring your pc above your head. You can also easily access the list of&lt;br /&gt;websites that the popup blocker blocks, and altering its state by a&lt;br /&gt;simple mouse click.&lt;br /&gt;&lt;br /&gt;Download Manager&lt;br /&gt;&lt;br /&gt;Download manager allows you to manipulate and take control of your&lt;br /&gt;downloaded files. Mozilla Firefoxâ€™s download manager contains just&lt;br /&gt;the essential to allow you to control your downloads. You can pause&lt;br /&gt;your downloads and continue it later, sometimes which is not possible&lt;br /&gt;with internet explorerâ€™s download manager. The download manager&lt;br /&gt;stores the information such as size and location of your downloaded&lt;br /&gt;file. When the download is complete, a small notification is displayed&lt;br /&gt;in the lower side of the screen.&lt;br /&gt;&lt;br /&gt;Tab Browsing&lt;br /&gt;&lt;br /&gt;Sometimes too many windows open at a time can be a bit annoying, which&lt;br /&gt;can also be said as time consuming, firefox features tab browsing. Tab&lt;br /&gt;Browsing changes the way you use the internet by allowing you to open&lt;br /&gt;links on a page in background â€œTabsâ€  and then read them when&lt;br /&gt;youâ€™re ready. No confusing new windows, no need for context menus,&lt;br /&gt;just hold down Ctrl when clicking a link, or use your middle mouse&lt;br /&gt;button.&lt;br /&gt;&lt;br /&gt;Integrated Search Engine&lt;br /&gt;&lt;br /&gt;The internet explorer programmers didnâ€™t think of this? Mozilla&lt;br /&gt;Firefox have launched in with the search engine. The default search&lt;br /&gt;engine is Google, of course, with the ability to access others. The&lt;br /&gt;search takes a very small space, which is a plus point compared to&lt;br /&gt;internet explorer.&lt;br /&gt;&lt;br /&gt;Options&lt;br /&gt;&lt;br /&gt;The Mozilla firefox is less confusing and less disturbing than the&lt;br /&gt;internet explorer. With Mozillaâ€™s firefox you can easily find the&lt;br /&gt;way through each site. The â€œDownloadsâ€  option allows you to&lt;br /&gt;choose, which program will automatically open a downloaded file is&lt;br /&gt;made.&lt;br /&gt;Page Info When you right click on a page, and select â€œpage infoâ€&lt;br /&gt;the window will start displaying huge amount of information for the&lt;br /&gt;webpage you need. General information as well as a Link tab showing&lt;br /&gt;all the links that the page contains are also listed in the site.&lt;br /&gt;&lt;br /&gt;Faster Response&lt;br /&gt;&lt;br /&gt;On Mozilla Firefox it is typically faster to load a webpage than on&lt;br /&gt;the internet explorer.&lt;br /&gt;&lt;br /&gt;Keeps HTML Formatting&lt;br /&gt;&lt;br /&gt;While you are copying from a webpage to a file the Mozilla Firefox is&lt;br /&gt;able to restore the html format. For example, when copying html&lt;br /&gt;formatted text from a webpage and pasting it on a note pad, the text&lt;br /&gt;through Mozilla Firefox keeps the format of text and the html format,&lt;br /&gt;where the internet explorer doesnâ€™t.&lt;br /&gt;&lt;br /&gt;Open Source Advantage&lt;br /&gt;&lt;br /&gt;The Mozilla Firefox is a open source project where many of the&lt;br /&gt;independent programmers can work on finding security.&lt;br /&gt;&lt;br /&gt; Smaller Download&lt;br /&gt;&lt;br /&gt;Downloading a Mozilla Firefox programmer is very smaller and quicker,&lt;br /&gt;which is compared to as half the size of internet explorer.&lt;br /&gt;&lt;br /&gt;Block Images&lt;br /&gt;&lt;br /&gt;The pictures on the webpage can be disturbing and so the Mozilla&lt;br /&gt;Firefox gives an option of blocking the images form the webpage. This&lt;br /&gt;feature can be of use when you are handing a site that holds many&lt;br /&gt;pictures, and many ads, which can be a problem for faster surfing.&lt;br /&gt;Internet explorer does not provide this facility.&lt;br /&gt;&lt;br /&gt;Mozilla Firefox is an alternate browser to internet explorer. Firefox&lt;br /&gt;has defiantly broken ground in the war of the browsers. I know there&lt;br /&gt;are many out there who would think otherwise and never settle for any&lt;br /&gt;browser other than internet explorer.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Forward this mail to all fo your friends....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-9098226820725265816?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/9098226820725265816/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=9098226820725265816' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/9098226820725265816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/9098226820725265816'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/rocking-firefox.html' title='Rocking FireFox!!'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-3558470916975415570</id><published>2008-12-30T04:18:00.000-08:00</published><updated>2008-12-30T04:19:11.175-08:00</updated><title type='text'>EJB sample questions with multiple choices</title><content type='html'>1.What does CTM stands for&lt;br /&gt;&lt;br /&gt;a)CORBA transaction monitor.&lt;br /&gt;&lt;br /&gt;b)Component transaction monitor.&lt;br /&gt;&lt;br /&gt;c)Component task monitor.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;2.       javax.ejb.EJBObject extends&lt;br /&gt;&lt;br /&gt;a)javax.ejb.EJBHome&lt;br /&gt;&lt;br /&gt;b)javax.ejb.SessionBean&lt;br /&gt;&lt;br /&gt;c)javax.ejb.Remote&lt;br /&gt;&lt;br /&gt;d)java.rmi.Remote&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;3.       Bean's business methods are implemented by&lt;br /&gt;&lt;br /&gt;a)javax.ejb.EJBHome&lt;br /&gt;&lt;br /&gt;b)javax.ejb.EJBObject&lt;br /&gt;&lt;br /&gt;c)javax.ejb.EntityBean&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;4.       All EJB remote interface types types extend&lt;br /&gt;&lt;br /&gt;a)javax.ejb.EJBHome&lt;br /&gt;&lt;br /&gt;b)javax.ejb.SessionBean&lt;br /&gt;&lt;br /&gt;c)javax.ejb.EJBObject&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;5.       The life-cycle methods of a server-side bean are defined by&lt;br /&gt;&lt;br /&gt;a)javax.ejb.EJBObject&lt;br /&gt;&lt;br /&gt;b)javax.ejb.EJBHome&lt;br /&gt;&lt;br /&gt;c)javax.ejb.EntityBean&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;6.       Session beans don’t  have&lt;br /&gt;&lt;br /&gt;a)ejbCreate() method&lt;br /&gt;&lt;br /&gt;b)ejbStore() method&lt;br /&gt;&lt;br /&gt;c)ejbRemove() method&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;7         EntityDescriptor extends&lt;br /&gt;&lt;br /&gt;a)SessionDescriptor&lt;br /&gt;&lt;br /&gt;b)ControlDescriptor&lt;br /&gt;&lt;br /&gt;c)DeploymentDescriptor&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;8         After an entity bean is instantiated and placed in the pool, it is given reference to a -----------------------&lt;br /&gt;&lt;br /&gt;a)javax.ejb.EJBHome&lt;br /&gt;&lt;br /&gt;b)javax.ejb.EJBObject&lt;br /&gt;&lt;br /&gt;c)javax.ejb.EJBContext&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;9         State of Entity Bean instances is persisted directly into&lt;br /&gt;&lt;br /&gt;a)secondary storage&lt;br /&gt;&lt;br /&gt;b)database&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;10     A stateful session bean is&lt;br /&gt;&lt;br /&gt;a)shared among multiple clients&lt;br /&gt;&lt;br /&gt;b)not shared among multiple clients&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;11     Entity beans are&lt;br /&gt;&lt;br /&gt;a)shared components&lt;br /&gt;&lt;br /&gt;b)non-shared components&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;12     EJB by default -------------- concurrent access to bean instances.&lt;br /&gt;&lt;br /&gt;a)allows&lt;br /&gt;&lt;br /&gt;b)prohibits&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;13     EJB specification -------------- synchronized key words.&lt;br /&gt;&lt;br /&gt;a)prohibits&lt;br /&gt;&lt;br /&gt;b)allows&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;14     JRMP lacks inherent support for ------------ and ------------------- services that is part of the&lt;br /&gt;&lt;br /&gt;       CORBAIIOP  specification.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;15     When a bean instance is in the --------- state, it can accept client requests.&lt;br /&gt;&lt;br /&gt;a)Ready&lt;br /&gt;&lt;br /&gt;b)Pooled&lt;br /&gt;&lt;br /&gt;c)Does not exist&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-3558470916975415570?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/3558470916975415570/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=3558470916975415570' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/3558470916975415570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/3558470916975415570'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/ejb-sample-questions-with-multiple.html' title='EJB sample questions with multiple choices'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-8866977593389750856</id><published>2008-12-30T04:17:00.002-08:00</published><updated>2008-12-30T04:18:52.169-08:00</updated><title type='text'>Advanced EJB interview questions</title><content type='html'>&lt;span style="font-weight:bold;"&gt;1. Are enterprise beans allowed to use Thread.sleep()? -&lt;/span&gt;&lt;br /&gt; Enterprise beans make use of the services provided by the EJB container, such as life-cycle management. To avoid conflicts with these services, enterprise beans are restricted from performing certain operations: Managing or synchronizing threads&lt;br /&gt;   2. Is it possible to write two EJB’s that share the same Remote and Home interfaces, and have different bean classes? if so, what are the advantages/disadvantages? - It’s certainly possible. In fact, there’s an example that ships with the Inprise Application Server of an Account interface with separate implementations for CheckingAccount and SavingsAccount, one of which was CMP and one of which was BMP.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;   3. Is it possible to specify multiple JNDI names when deploying an EJB? &lt;/span&gt;- No. To achieve this you have to deploy your EJB multiple times each specifying a different JNDI name.&lt;br /&gt;   4. Is there any way to force an Entity Bean to store itself to the db? I don’t wanna wait for the container to update the db, I want to do it NOW! Is it possible? - Specify the transaction attribute of the bean as RequiresNew. Then as per section 11.6.2.4 of the EJB v 1.1 spec EJB container automatically starts a new transaction before the method call. The container also performs the commit protocol before the method result is sent to the client.&lt;br /&gt;   5. I am developing a BMP Entity bean. I have noticed that whenever the create method is invoked, the ejbLoad() and the ejbStore() methods are also invoked. I feel that once my database insert is done, having to do a select and update SQL queries is major overhead. is this behavior typical of all EJB containers? Is there any way to suppress these invocations? - This is the default behaviour for EJB. The specification states that ejbLoad() will be called before every transaction and ejbStore() after every transaction. Each Vendor has optimizations, which are proprietary for this scenario.&lt;br /&gt;   6. Can an EJB send asynchronous notifications to its clients? - Asynchronous notification is a known hole in the first versions of the EJB spec. The recommended solution to this is to use JMS, which is becoming available in J2EE-compliant servers. The other option, of course, is to use client-side threads and polling. This is not an ideal solution, but it’s workable for many scenarios.&lt;br /&gt;   7. How can I access EJB from ASP? - You can use the Java 2 Platform, Enterprise Edition Client Access Services (J2EETM CAS) COM Bridge 1.0, currently downloadable from Sun&lt;br /&gt;   8. Is there a guarantee of uniqueness for entity beans? - There is no such guarantee. The server (or servers) can instantiate as many instances of the same underlying Entity Bean (with the same PK) as it wants. However, each instance is guaranteed to have up-to-date data values, and be transactionally consistent, so uniqueness is not required. This allows the server to scale the system to support multiple threads, multiple concurrent requests, and multiple hosts.&lt;br /&gt;   9. How do the six transaction attributes map to isolation levels like “dirty read”? Will an attribute like “Required” lock out other readers until I’m finished updating? - The Transaction Attributes in EJB do not map to the Transaction Isolation levels used in JDBC. This is a common misconception. Transaction Attributes specify to the container when a Transaction should be started, suspended(paused) and committed between method invocations on Enterprise JavaBeans. For more details and a summary of Transaction Attributes refer to section 11.6 of the EJB 1.1 specification.&lt;br /&gt;  10. I have created a remote reference to an EJB in FirstServlet. Can I put the reference in a servlet session and use that in SecondServlet? - Yes. The EJB client (in this case your servlet) acquires a remote reference to an EJB from the Home Interface; that reference is serializable and can be passed from servlet to servlet. If it is a session bean, then the EJB server will consider your web client’s servlet session to correspond to a single EJB session, which is usually (but not always) what you want.&lt;br /&gt;  11. Can the primary key in the entity bean be a Java primitive type such as int? - The primary key can’t be a primitive type–use the primitive wrapper classes, instead. For example, you can use java.lang.Integer as the primary key class, but not int (it has to be a class, not a primitive)&lt;br /&gt;  12. What’s new in the EJB 2.0 specification? - Following are the main features supported in EJB 2.0: Integration of EJB with JMS, Message Driven Beans, Implement additional Business methods in Home interface which are not specific for bean instance, EJB QL.&lt;br /&gt;&lt;br /&gt;  13. How many types of protocol implementations does RMI have? - RMI has at least three protocol implementations: Java Remote Method Protocol(JRMP), Internet Inter ORB Protocol(IIOP), and Jini Extensible Remote Invocation(JERI). These are alternatives, not part of the same thing, All three are indeed layer 6 protocols for those who are still speaking OSI reference model.&lt;br /&gt;&lt;br /&gt;  14. What is the need of Remote and Home interfaces. Why can’t there be one? - In a few words, I would say that the main reason is because there is a clear division of roles and responsabilities between the two interfaces. The home interface is your way to communicate with the container, that is who is responsable of creating, locating even removing one or more beans. The remote interface is your link to the bean, that will allow you to remotely access to all its methods and members. As you can see there are two distinct elements (the container and the beans) and you need two different interfaces for accessing to both of them.&lt;br /&gt;&lt;br /&gt;  15. What is the difference between Java Beans and EJB? - Java Beans are client-side objects and EJBs are server side object, and they have completely different development, lifecycle, purpose.&lt;br /&gt;&lt;br /&gt;  16. Question With regard to Entity Beans, what happens if both my EJB Server and Database crash, what will happen to unsaved changes? Is there any transactional log file used? - Actually, if your EJB server crashes, you will not even be able to make a connection to the server to perform a bean lookup, as the server will no longer be listening on the port for incoming JNDI lookup requests. You will lose any data that wasn’t committed prior to the crash. This is where you should start looking into clustering your EJB server. Any unsaved and uncommited changes are lost the moment your EJB Server crashes. If your database also crashes, then all the saved changes are also lost unless you have some backup or some recovery mechanism to retrieve the data. So consider database replication and EJB Clustering for such scenarios, though the occurence of such a thing is very very rare. Thx, Uma All databse have the concept of log files(for exampe oracle have redo log files concept). So if data bases crashes then on starting up they fill look up the log files to perform all pending jobs. But is EJB crashes, It depend upon the container how frequenlty it passivates or how frequesntly it refreshes the data with Database.&lt;br /&gt;&lt;br /&gt;  17. Question Can you control when passivation occurs? - The developer, according to the specification, cannot directly control when passivation occurs. Although for Stateful Session Beans, the container cannot passivate an instance that is inside a transaction. So using transactions can be a a strategy to control passivation. The ejbPassivate() method is called during passivation, so the developer has control over what to do during this exercise and can implement the require optimized logic. Some EJB containers, such as BEA WebLogic, provide the ability to tune the container to minimize passivation calls. Taken from the WebLogic 6.0 DTD - “The passivation-strategy can be either “default” or “transaction”. With the default setting the container will attempt to keep a working set of beans in the cache. With the “transaction” setting, the container will passivate the bean after every transaction (or method call for a non-transactional invocation).”&lt;br /&gt;&lt;br /&gt;  18. Does RMI-IIOP support dynamic downloading of classes? - No, RMI-IIOP doesn’t support dynamic downloading of the classes as it is done with CORBA in DII (Dynamic Interface Invocation).Actually RMI-IIOP combines the usability of Java Remote Method Invocation (RMI) with the interoperability of the Internet Inter-ORB Protocol (IIOP).So in order to attain this interoperability between RMI and CORBA,some of the features that are supported by RMI but not CORBA and vice versa are eliminated from the RMI-IIOP specification.&lt;br /&gt;  19. Does EJB 1.1 support mandate the support for RMI-IIOP ? What is the meaning of “the client API must support the Java RMI-IIOP programming model for portability, but the underlying protocol can be anything” ? - EJB1.1 does mandate the support of RMI-IIOP. There are 2 types of implementations that an EJB Server might provide: CORBA-based EJB Servers and Proprietry EJB Servers. Both support the RMI-IIOP API but how that API is implemented is a different story. (NB: By API we mean the interface provided to the client by the stub or proxy). A CORBA-based EJB Server actually implements its EJB Objects as CORBA Objects (it therefore encorporates an ORB and this means that EJB’s can be contacted by CORBA clients (as well as RMI-IIOP clients) A proprietry EJB still implements the RMI-IIOP API (in the client’s stub) but the underlying protocol can be anything. Therefore your EJB’s CANNOT be contacted by CORBA clients. The difference is that in both cases, your clients see the same API (hence, your client portability) BUT how the stubs communicate with the server is different.&lt;br /&gt;&lt;br /&gt;  20. The EJB specification says that we cannot use Bean Managed Transaction in Entity Beans. Why? - The short, practical answer is… because it makes your entity beans useless as a reusable component. Also, transaction management is best left to the application server - that’s what they’re there for. It’s all about atomic operations on your data. If an operation updates more than one entity then you want the whole thing to succeed or the whole thing to fail, nothing in between. If you put commits in the entity beans then it’s very difficult to rollback if an error occurs at some point late in the operation.&lt;br /&gt;  21. Can I invoke Runtime.gc() in an EJB? - You shouldn’t. What will happen depends on the implementation, but the call will most likely be ignored. You should leave system level management like garbage collection for the container to deal with. After all, that’s part of the benefit of using EJBs, you don’t have to manage resources yourself.&lt;br /&gt;&lt;br /&gt;  22. What is clustering? What are the different algorithms used for clustering? - Clustering is grouping machines together to transparantly provide enterprise services.The client does not now the difference between approaching one server or approaching a cluster of servers.Clusters provide two benefits: scalability and high availability. Further information can be found in the JavaWorld article J2EE Clustering.&lt;br /&gt;&lt;br /&gt;  23. What is the advantage of using Entity bean for database operations, over directly using JDBC API to do database operations? When would I use one over the other? - Entity Beans actually represents the data in a database. It is not that Entity Beans replaces JDBC API. There are two types of Entity Beans Container Managed and Bean Mananged. In Container Managed Entity Bean - Whenever the instance of the bean is created the container automatically retrieves the data from the DB/Persistance storage and assigns to the object variables in bean for user to manipulate or use them. For this the developer needs to map the fields in the database to the variables in deployment descriptor files (which varies for each vendor). In the Bean Managed Entity Bean - The developer has to specifically make connection, retrive values, assign them to the objects in the ejbLoad() which will be called by the container when it instatiates a bean object. Similarly in the ejbStore() the container saves the object values back the the persistance storage. ejbLoad and ejbStore are callback methods and can be only invoked by the container. Apart from this, when you use Entity beans you dont need to worry about database transaction handling, database connection pooling etc. which are taken care by the ejb container. But in case of JDBC you have to explicitly do the above features. what suresh told is exactly perfect. ofcourse, this comes under the database transations, but i want to add this. the great thing about the entity beans of container managed, whenever the connection is failed during the transaction processing, the database consistancy is mantained automatically. the container writes the data stored at persistant storage of the entity beans to the database again to provide the database consistancy. where as in jdbc api, we, developers has to do manually.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  24. What is the role of serialization in EJB? - A big part of EJB is that it is a framework for underlying RMI: remote method invocation. You’re invoking methods remotely from JVM space ‘A’ on objects which are in JVM space ‘B’ — possibly running on another machine on the network. To make this happen, all arguments of each method call must have their current state plucked out of JVM ‘A’ memory, flattened into a byte stream which can be sent over a TCP/IP network connection, and then deserialized for reincarnation on the other end in JVM ‘B’ where the actual method call takes place. If the method has a return value, it is serialized up for streaming back to JVM A. Thus the requirement that all EJB methods arguments and return values must be serializable. The easiest way to do this is to make sure all your classes implement java.io.Serializable.&lt;br /&gt;  25. What is EJB QL? - EJB QL is a Query Language provided for navigation across a network of enterprise beans and dependent objects defined by means of container managed persistence. EJB QL is introduced in the EJB 2.0 specification. The EJB QL query language defines finder methods for entity beans with container managed persistenceand is portable across containers and persistence managers. EJB QL is used for queries of two types of finder methods: Finder methods that are defined in the home interface of an entity bean and which return entity objects. Select methods, which are not exposed to the client, but which are used by the Bean Provider to select persistent values that are maintained by the Persistence Manager or to select entity objects that are related to the entity bean on which the query is defined.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-8866977593389750856?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/8866977593389750856/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=8866977593389750856' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/8866977593389750856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/8866977593389750856'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/advanced-ejb-interview-questions.html' title='Advanced EJB interview questions'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-2977849117310389093</id><published>2008-12-30T04:17:00.001-08:00</published><updated>2008-12-30T04:17:43.361-08:00</updated><title type='text'>Database- Frequently Asked Questions</title><content type='html'>1.) Explain Various Normalization Forms?&lt;br /&gt;&lt;br /&gt;    The Normal Forms Are As Follows…&lt;br /&gt;&lt;br /&gt;        First normal form (1NF) sets the basic rules for an organized database:&lt;br /&gt;&lt;br /&gt;            * Eliminate duplicative columns from the same database table.&lt;br /&gt;            * Create separate tables for each group of related data and identify each row with a unique column or set of columns (the primary key).&lt;br /&gt;&lt;br /&gt;        Second normal form (2NF) further Handles the concept of removing duplicative data:&lt;br /&gt;&lt;br /&gt;            * Meet all the requirements of the first normal form.&lt;br /&gt;            * Remove subsets of data that apply to multiple rows of a table and place them in separate tables.&lt;br /&gt;            * Create relationships between these new tables and their predecessors through the use of foreign keys.&lt;br /&gt;&lt;br /&gt;        Third normal form (3NF) goes one large step further:&lt;br /&gt;&lt;br /&gt;            * Meet all the requirements of the second normal form.&lt;br /&gt;            * Remove columns that are not dependent upon the primary key.&lt;br /&gt;&lt;br /&gt;        Finally, fourth normal form (4NF) has one additional requirement:&lt;br /&gt;&lt;br /&gt;            * Meet all the requirements of the third normal form.&lt;br /&gt;            * A relation is in 4NF if it has no multi-valued dependencies&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2.) What is the difference between delete,drop and truncate?&lt;br /&gt;&lt;br /&gt;    The delete statement will result in the table spaces or memories would remain as the current size and table structureremain in the database. Delete is not effective when you use it to remove all data from a table, because it takes up storeage spaces due to unclear memories. The truncate statement will result in clearing table spaces or memories and the table structure remain in the database. Therefore it free table storage spaces and only use it when you need to remove all data from a table. The drop statement will result in completely removing the table from the database. Note: Statements above are made with the assumption that a commit is has been executed. Once a commit statement is executed (commit is final). Therefore, rollback a transaction will not work if commit statement is executed.&lt;br /&gt;&lt;br /&gt;3.) Which view shows all partitions of a table and their tablespaces?&lt;br /&gt;&lt;br /&gt;    user_tab_partitions,all_tab_partitions,dba_tab_partitions&lt;br /&gt;&lt;br /&gt;4.) What is a value set?&lt;br /&gt;&lt;br /&gt;    A set of permitted values for the given attribute. eg GRADE attribute in STUDENT table can have only values like A, B,C, D only.&lt;br /&gt;&lt;br /&gt;5.) Difference between user and end-user?&lt;br /&gt;&lt;br /&gt;    The final or ultimate user of a computer system. The end user is the individual who uses the product after it has been fully developed and marketed. The term is useful because it distinguishes two classes of users, users who require a bug -free and finished product (end users), and users who may use the same product for development purposes. The term end user usually implies an individual with a relatively low level of computer expertise. Unless you are a programmer or engineer, you are almost certainly an end user. An individual who uses a computer. This includes expert programmers as well as novices. An end user is any individual who runs an application program.&lt;br /&gt;&lt;br /&gt;6.) Briefly explain the difference between first, second, third and fourth normal forms?&lt;br /&gt;&lt;br /&gt;    1NF: A table is set to be in first NF if we identify the functional dependency. 2NF: A table is set to be in first NF if we identify and delete partial functional dependency. 3NF: A table is set to be in 3rd NF when we identify and delete transitive dependency. Functional dependency: identify a non key attribute which is depends on key attribute. Partial functional dependency: identify an attribute which is partially depends on key attribute. Transitive: identify an key attribute which is independent itself.&lt;br /&gt;&lt;br /&gt;7.) What is ER Diagram?&lt;br /&gt;&lt;br /&gt;    The Entity-Relationship (ER) model was originally proposed by Peter in 1976 [Chen76] as a way to unify the network and relational database views. Simply stated the ER model is a conceptual data model that views the real world as entities and relationships. A basic component of the model is the Entity-Relationship diagram which is used to visually represents data objects.Since Chen wrote his paper the model has been extended and today it is commonly used for database design For the databasedesigner, the utility of the ER model is: it maps well to the relational model. The constructs used in the ER model can easily be transformed into relational tables. it is simple and easy to understand with a minimum of training. Therefore, the model can be used by the database designer to communicate the design to the end user. In addition, the model can be used as a design plan by the database developer to implement a data model in a specific database management software&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-2977849117310389093?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/2977849117310389093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=2977849117310389093' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2977849117310389093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2977849117310389093'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/database-frequently-asked-questions.html' title='Database- Frequently Asked Questions'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-231938737791574606</id><published>2008-12-30T04:16:00.000-08:00</published><updated>2008-12-30T04:17:11.457-08:00</updated><title type='text'>C Interview Questions and Answers</title><content type='html'>Question : What is C language?&lt;br /&gt;&lt;br /&gt;Answers : The C programming language is a standardized programming language developed in the early 1970s by Ken Thompson and Dennis Ritchie for use on the UNIX operating system. It has since spread to many other operating systems, and is one of the most widely used programming languages. C is prized for its efficiency, and is the most popular programming language for writing system software, though it is also used for writing applications. ...&lt;br /&gt;&lt;br /&gt;printf() Function&lt;br /&gt;What is the output of printf("%d")?&lt;br /&gt;&lt;br /&gt;1. When we write printf("%d",x); this means compiler will print the value of x. But as here, there is nothing after �%d� so compiler will show in output window garbage value.&lt;br /&gt;&lt;br /&gt;2. When we use %d the compiler internally uses it to access the argument in the stack (argument stack). Ideally compiler determines the offset of the data variable depending on the format specification string. Now when we write printf("%d",a) then compiler first accesses the top most element in the argument stack of the printf which is %d and depending on the format string it calculated to offset to the actual data variable in the memory which is to be printed. Now when only %d will be present in the printf then compiler will calculate the correct offset (which will be the offset to access the integer variable) but as the actual data object is to be printed is not present at that memory location so it will print what ever will be the contents of that memory location.&lt;br /&gt;&lt;br /&gt;3. Some compilers check the format string and will generate an error without the proper number and type of arguments for things like printf(...) and scanf(...).&lt;br /&gt;&lt;br /&gt;malloc() Function- What is the difference between "calloc(...)" and "malloc(...)"?&lt;br /&gt;&lt;br /&gt;1. calloc(...) allocates a block of memory for an array of elements of a certain size. By default the block is initialized to 0. The total number of memory allocated will be (number_of_elements * size).&lt;br /&gt;&lt;br /&gt;malloc(...) takes in only a single argument which is the memory required in bytes. malloc(...) allocated bytes of memory and not blocks of memory like calloc(...).&lt;br /&gt;&lt;br /&gt;2. malloc(...) allocates memory blocks and returns a void pointer to the allocated space, or NULL if there is insufficient memory available.&lt;br /&gt;&lt;br /&gt;calloc(...) allocates an array in memory with elements initialized to 0 and returns a pointer to the allocated space. calloc(...) calls malloc(...) in order to use the C++ _set_new_mode function to set the new handler mode.&lt;br /&gt;&lt;br /&gt;printf() Function- What is the difference between "printf(...)" and "sprintf(...)"?&lt;br /&gt;sprintf(...) writes data to the character array whereas printf(...) writes data to the standard output device.&lt;br /&gt;&lt;br /&gt;Compilation How to reduce a final size of executable?&lt;br /&gt;&lt;br /&gt;Size of the final executable can be reduced using dynamic linking for libraries.&lt;br /&gt;&lt;br /&gt;Linked Lists -- Can you tell me how to check whether a linked list is circular?&lt;br /&gt;&lt;br /&gt;Create two pointers, and set both to the start of the list. Update each as follows:&lt;br /&gt;&lt;br /&gt;Security Tip&lt;br /&gt;&lt;br /&gt;Use Firefox instead of Internet Explorer and PREVENT Spyware !&lt;br /&gt;&lt;br /&gt;Firefox is free and is considered the best free, safe web browser available today&lt;br /&gt;  Browse the web faster. Get Firefox with Google Toolbar&lt;br /&gt;&lt;br /&gt;while (pointer1) {&lt;br /&gt;pointer1 = pointer1-&gt;next;&lt;br /&gt;pointer2 = pointer2-&gt;next;&lt;br /&gt;if (pointer2) pointer2=pointer2-&gt;next;&lt;br /&gt;if (pointer1 == pointer2) {&lt;br /&gt;print ("circular");&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;If a list is circular, at some point pointer2 will wrap around and be either at the item just before pointer1, or the item before that. Either way, its either 1 or 2 jumps until they meet.&lt;br /&gt;&lt;br /&gt;"union" Data Type What is the output of the following program? Why?&lt;br /&gt;&lt;br /&gt;#include&lt;br /&gt;main() {&lt;br /&gt;typedef union {&lt;br /&gt;int a;&lt;br /&gt;char b[10];&lt;br /&gt;float c;&lt;br /&gt;}&lt;br /&gt;Union;&lt;br /&gt;&lt;br /&gt;Union x,y = {100};&lt;br /&gt;x.a = 50;&lt;br /&gt;strcpy(x.b,"hello");&lt;br /&gt;x.c = 21.50;&lt;br /&gt;printf("Union x : %d %s %f n",x.a,x.b,x.c);&lt;br /&gt;printf("Union y : %d %s %f n",y.a,y.b,y.c);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;String Processing --- Write out a function that prints out all the permutations of a string. For example, abc would give you abc, acb, bac, bca, cab, cba.&lt;br /&gt;void PrintPermu (char *sBegin, char* sRest) {&lt;br /&gt;int iLoop;&lt;br /&gt;char cTmp;&lt;br /&gt;char cFLetter[1];&lt;br /&gt;char *sNewBegin;&lt;br /&gt;char *sCur;&lt;br /&gt;int iLen;&lt;br /&gt;static int iCount;&lt;br /&gt;&lt;br /&gt;iLen = strlen(sRest);&lt;br /&gt;if (iLen == 2) {&lt;br /&gt;iCount++;&lt;br /&gt;printf("%d: %s%s\n",iCount,sBegin,sRest);&lt;br /&gt;iCount++;&lt;br /&gt;printf("%d: %s%c%c\n",iCount,sBegin,sRest[1],sRest[0]);&lt;br /&gt;return;&lt;br /&gt;} else if (iLen == 1) {&lt;br /&gt;iCount++;&lt;br /&gt;printf("%d: %s%s\n", iCount, sBegin, sRest);&lt;br /&gt;return;&lt;br /&gt;} else {&lt;br /&gt;// swap the first character of sRest with each of&lt;br /&gt;// the remaining chars recursively call debug print&lt;br /&gt;sCur = (char*)malloc(iLen);&lt;br /&gt;sNewBegin = (char*)malloc(iLen);&lt;br /&gt;for (iLoop = 0; iLoop &lt; iLen; iLoop ++) {&lt;br /&gt;strcpy(sCur, sRest);&lt;br /&gt;strcpy(sNewBegin, sBegin);&lt;br /&gt;cTmp = sCur[iLoop];&lt;br /&gt;sCur[iLoop] = sCur[0];&lt;br /&gt;sCur[0] = cTmp;&lt;br /&gt;sprintf(cFLetter, "%c", sCur[0]);&lt;br /&gt;strcat(sNewBegin, cFLetter);&lt;br /&gt;debugprint(sNewBegin, sCur+1);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void main() {&lt;br /&gt;char s[255];&lt;br /&gt;char sIn[255];&lt;br /&gt;printf("\nEnter a string:");&lt;br /&gt;scanf("%s%*c",sIn);&lt;br /&gt;memset(s,0,255);&lt;br /&gt;PrintPermu(s, sIn);&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-231938737791574606?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/231938737791574606/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=231938737791574606' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/231938737791574606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/231938737791574606'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/c-interview-questions-and-answers.html' title='C Interview Questions and Answers'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-6355800908355322254</id><published>2008-12-30T04:15:00.000-08:00</published><updated>2008-12-30T04:16:25.300-08:00</updated><title type='text'>Core Java Interview Questions</title><content type='html'>&lt;span style="font-weight:bold;"&gt;1.what  is a transient variable?&lt;/span&gt;&lt;br /&gt;A transient variable is a variable that may not be serialized.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2.which containers use a border Layout as their default layout?&lt;/span&gt;&lt;br /&gt;The window, Frame and Dialog classes use a border layout as their default layout.&lt;br /&gt;&lt;br /&gt;3.Why do threads block on I/O?&lt;br /&gt;Threads block on i/o (that is enters the waiting state) so that other threads may execute while the i/o Operation is performed.&lt;br /&gt;&lt;br /&gt;4. How are Observer and Observable used?&lt;br /&gt;Objects that subclass the Observable class maintain a list of observers. When an Observable object is updated it invokes the update() method of each of its observers to notify the observers that it has changed state. The Observer interface is implemented by objects that observe Observable objects.&lt;br /&gt;&lt;br /&gt;5. What is synchronization and why is it important?&lt;br /&gt;With respect to multithreading, synchronization is the capability to control the access of multiple threads to shared resources. Without synchronization, it is possible for one thread to modify a shared object while another thread is in the process of using or updating that object's value. This often leads to significant errors.&lt;br /&gt;&lt;br /&gt;6. Can a lock be acquired on a class?&lt;br /&gt;Yes, a lock can be acquired on a class. This lock is acquired on the class's Class object..&lt;br /&gt;&lt;br /&gt;7. What's new with the stop(), suspend() and resume() methods in JDK 1.2?&lt;br /&gt;The stop(), suspend() and resume() methods have been deprecated in JDK 1.2.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;8. Is null a keyword?&lt;/span&gt;&lt;br /&gt;The null value is not a keyword.&lt;br /&gt;&lt;br /&gt;9. What is the preferred size of a component?&lt;br /&gt;The preferred size of a component is the minimum component size that will allow the component to display normally.&lt;br /&gt;&lt;br /&gt;10. What method is used to specify a container's layout?&lt;br /&gt;The setLayout() method is used to specify a container's layout.&lt;br /&gt;&lt;br /&gt;11. Which containers use a FlowLayout as their default layout?&lt;br /&gt;The Panel and Applet classes use the FlowLayout as their default layout.&lt;br /&gt;&lt;br /&gt;12. What state does a thread enter when it terminates its processing?&lt;br /&gt;When a thread terminates its processing, it enters the dead state.&lt;br /&gt;&lt;br /&gt;13. What is the Collections API?&lt;br /&gt;The Collections API is a set of classes and interfaces that support operations on collections of objects.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;14. Which characters may be used as the second character of an identifier,&lt;br /&gt;but not as the first character of an identifier?&lt;/span&gt;&lt;br /&gt;The digits 0 through 9 may not be used as the first character of an identifier but they may be used after the first character of an identifier.&lt;br /&gt;&lt;br /&gt;15. What is the List interface?&lt;br /&gt;The List interface provides support for ordered collections of objects.&lt;br /&gt;&lt;br /&gt;16. How does Java handle integer overflows and underflows?&lt;br /&gt;It uses those low order bytes of the result that can fit into the size of the type allowed by the operation.&lt;br /&gt;&lt;br /&gt;17. What is the Vector class?&lt;br /&gt;The Vector class provides the capability to implement a growable array of objects&lt;br /&gt;&lt;br /&gt;18. What modifiers may be used with an inner class that is a member of an outer class?&lt;br /&gt;A (non-local) inner class may be declared as public, protected, private, static, final, or abstract.&lt;br /&gt;&lt;br /&gt;19. What is an Iterator interface?&lt;br /&gt;The Iterator interface is used to step through the elements of a Collection.&lt;br /&gt;&lt;br /&gt;20. What is the difference between the &gt;&gt; and &gt;&gt;&gt; operators?&lt;br /&gt;The &gt;&gt; operator carries the sign bit when shifting right. The &gt;&gt;&gt; zero-fills bits that have been shifted out.&lt;br /&gt;&lt;br /&gt;21. Which method of the Component class is used to set the position and&lt;br /&gt;size of a component?&lt;br /&gt;setBounds()&lt;br /&gt;&lt;br /&gt;22. How many bits are used to represent Unicode, ASCII, UTF-16, and UTF-8 characters?&lt;br /&gt;Unicode requires 16 bits and ASCII require 7 bits. Although the ASCII character set uses only 7 bits, it is usually represented as 8 bits. UTF-8 represents characters using 8, 16, and 18 bit patterns. UTF-16 uses 16-bit and larger bit patterns.&lt;br /&gt;&lt;br /&gt;23What is the difference between yielding and sleeping?&lt;br /&gt;When a task invokes its yield() method, it returns to the ready state. When a task invokes its sleep() method, it returns to the waiting state.&lt;br /&gt;&lt;br /&gt;24. Which java.util classes and interfaces support event handling?&lt;br /&gt;The EventObject class and the EventListener interface support event processing.&lt;br /&gt;&lt;br /&gt;25. Is sizeof a keyword?&lt;br /&gt;The sizeof operator is not a keyword.&lt;br /&gt;&lt;br /&gt;26. What are wrapped classes?&lt;br /&gt;Wrapped classes are classes that allow primitive types to be accessed as objects.&lt;br /&gt;&lt;br /&gt;27. Does garbage collection guarantee that a program will not run out of memory?&lt;br /&gt;Garbage collection does not guarantee that a program will not run out of memory. It is possible for programs to use up memory resources faster than they are garbage collected. It is also possible for programs to create objects that are not subject to garbage collection&lt;br /&gt;&lt;br /&gt;28. What restrictions are placed on the location of a package statement&lt;br /&gt;within a source code file?&lt;br /&gt;A package statement must appear as the first line in a source code file (excluding blank lines and comments).&lt;br /&gt;&lt;br /&gt;29. Can an object's finalize() method be invoked while it is reachable?&lt;br /&gt;An object's finalize() method cannot be invoked by the garbage collector while the object is still reachable. However, an object's finalize() method may be invoked by other objects.&lt;br /&gt;&lt;br /&gt;30. What is the immediate superclass of the Applet class?&lt;br /&gt;Panel&lt;br /&gt;&lt;br /&gt;31. What is the difference between preemptive scheduling and time slicing?&lt;br /&gt;Under preemptive scheduling, the highest priority task executes until it enters the waiting or dead states or a higher priority task comes into existence. Under time slicing, a task executes for a predefined slice of time and then reenters the pool of ready tasks. The scheduler then determines which task should execute next, based on priority and&lt;br /&gt;other factors.&lt;br /&gt;&lt;br /&gt;32. Name three Component subclasses that support painting.&lt;br /&gt;The Canvas, Frame, Panel, and Applet classes support painting.&lt;br /&gt;&lt;br /&gt;33. What value does readLine() return when it has reached the end of a file?&lt;br /&gt;The readLine() method returns null when it has reached the end of a file.&lt;br /&gt;&lt;br /&gt;34. What is the immediate superclass of the Dialog class?&lt;br /&gt;Window&lt;br /&gt;35. What is clipping?&lt;br /&gt;Clipping is the process of confining paint operations to a limited area or shape.&lt;br /&gt;&lt;br /&gt;36. What is a native method?&lt;br /&gt;A native method is a method that is implemented in a language other than Java.&lt;br /&gt;&lt;br /&gt;37. Can a for statement loop indefinitely?&lt;br /&gt;Yes, a for statement can loop indefinitely. For example, consider the following:&lt;br /&gt;for(;;) ;&lt;br /&gt;&lt;br /&gt;38. What are order of precedence and associativity, and how are they used?&lt;br /&gt;Order of precedence determines the order in which operators are evaluated in expressions. Associatity determines whether an expression is evaluated left-to-right or right-to-left&lt;br /&gt;&lt;br /&gt;39. When a thread blocks on I/O, what state does it enter?&lt;br /&gt;A thread enters the waiting state when it blocks on I/O.&lt;br /&gt;&lt;br /&gt;40. To what value is a variable of the String type automatically initialized?&lt;br /&gt;The default value of an String type is null.&lt;br /&gt;&lt;br /&gt;41. What is the catch or declare rule for method declarations?&lt;br /&gt;If a checked exception may be thrown within the body of a method, the method must either catch the exception or declare it in its throws clause.&lt;br /&gt;&lt;br /&gt;42. What is the difference between a MenuItem and a CheckboxMenuItem?&lt;br /&gt;The CheckboxMenuItem class extends the MenuItem class to support a menu item that may be checked or unchecked.&lt;br /&gt;&lt;br /&gt;43. What is a task's priority and how is it used in scheduling?&lt;br /&gt;A task's priority is an integer value that identifies the relative order in which it should be executed with respect to other tasks. The scheduler attempts to schedule higher priority tasks before lower priority tasks.&lt;br /&gt;&lt;br /&gt;44. What class is the top of the AWT event hierarchy?&lt;br /&gt;The java.awt.AWTEvent class is the highest-level class in the AWT event-class hierarchy.&lt;br /&gt;&lt;br /&gt;45. When a thread is created and started, what is its initial state?&lt;br /&gt;A thread is in the ready state after it has been created and started.&lt;br /&gt;&lt;br /&gt;46. Can an anonymous class be declared as implementing an interface and extending a class?&lt;br /&gt;An anonymous class may implement an interface or extend a superclass, but may not be declared to do both.&lt;br /&gt;&lt;br /&gt;47. What is the range of the short type?&lt;br /&gt;The range of the short type is -(2^15) to 2^15 - 1.&lt;br /&gt;&lt;br /&gt;48. What is the range of the char type?&lt;br /&gt;The range of the char type is 0 to 2^16 - 1.&lt;br /&gt;&lt;br /&gt;49. In which package are most of the AWT events that support the event-delegation&lt;br /&gt;model defined?&lt;br /&gt;Most of the AWT-related events of the event-delegation model are defined in the java.awt.event package. The AWTEvent class is defined in the java.awt package.&lt;br /&gt;&lt;br /&gt;50. What is the immediate superclass of Menu?&lt;br /&gt;MenuItem&lt;br /&gt;&lt;br /&gt;51. What is the purpose of finalization?&lt;br /&gt;The purpose of finalization is to give an unreachable object the opportunity to perform any cleanup processing before the object is garbage collected.&lt;br /&gt;&lt;br /&gt;52. Which class is the immediate superclass of the MenuComponent class.&lt;br /&gt;Object&lt;br /&gt;&lt;br /&gt;53. What invokes a thread's run() method?&lt;br /&gt;After a thread is started, via its start() method or that of the Thread class, the JVM invokes the thread's run() method when the thread is initially executed.&lt;br /&gt;&lt;br /&gt;54. What is the difference between the Boolean &amp; operator and the &amp;&amp; operator?&lt;br /&gt;If an expression involving the Boolean &amp; operator is evaluated, both operands are evaluated. Then the &amp; operator is applied to the operand. When an expression involving the &amp;&amp; operator is evaluated, the first operand is evaluated. If the first operand returns a value of true then the second operand is evaluated. The &amp;&amp; operator is then applied to the first and second operands. If the first operand evaluates to false, the evaluation of the second operand is skipped.&lt;br /&gt;&lt;br /&gt;55. Name three subclasses of the Component class.&lt;br /&gt;Box.Filler, Button, Canvas, Checkbox, Choice, Container, Label, List, Scrollbar, or TextComponent&lt;br /&gt;&lt;br /&gt;56. What is the GregorianCalendar class?&lt;br /&gt;The GregorianCalendar provides support for traditional Western calendars.&lt;br /&gt;&lt;br /&gt;57. Which Container method is used to cause a container to be laid out and redisplayed?&lt;br /&gt;validate()&lt;br /&gt;&lt;br /&gt;8. What is the purpose of the Runtime class?&lt;br /&gt;The purpose of the Runtime class is to provide access to the Java runtime system.&lt;br /&gt;&lt;br /&gt;59. How many times may an object's finalize() method be invoked by the&lt;br /&gt;garbage collector?&lt;br /&gt;An object's finalize() method may only be invoked once by the garbage collector.&lt;br /&gt;&lt;br /&gt;60. What is the purpose of the finally clause of a try-catch-finally statement?&lt;br /&gt;The finally clause is used to provide the capability to execute code no matter whether or not an exception is thrown or caught.&lt;br /&gt;&lt;br /&gt;61. What is the argument type of a program's main() method?&lt;br /&gt;A program's main() method takes an argument of the String[] type.&lt;br /&gt;&lt;br /&gt;62. Which Java operator is right associative?&lt;br /&gt;The = operator is right associative.&lt;br /&gt;&lt;br /&gt;63. What is the Locale class?&lt;br /&gt;The Locale class is used to tailor program output to the conventions of a particular geographic, political, or cultural region.&lt;br /&gt;&lt;br /&gt;64. Can a double value be cast to a byte?&lt;br /&gt;Yes, a double value can be cast to a byte.&lt;br /&gt;&lt;br /&gt;65. What is the difference between a break statement and a continue statement?&lt;br /&gt;A break statement results in the termination of the statement to which it applies (switch, for, do, or while). A continue statement is used to end the current loop iteration and return control to the loop statement.&lt;br /&gt;&lt;br /&gt;66. What must a class do to implement an interface?&lt;br /&gt;It must provide all of the methods in the interface and identify the interface in its implements clause.&lt;br /&gt;&lt;br /&gt;67. What method is invoked to cause an object to begin executing as a separate thread?&lt;br /&gt;The start() method of the Thread class is invoked to cause an object to begin executing as a separate thread.&lt;br /&gt;&lt;br /&gt;68. Name two subclasses of the TextComponent class.&lt;br /&gt;TextField and TextArea&lt;br /&gt;&lt;br /&gt;69. What is the advantage of the event-delegation model over the earlier event-inheritance model?&lt;br /&gt;The event-delegation model has two advantages over the event-inheritance model. First, it enables event handling to be handled by objects other than the ones that generate the events (or their containers). This allows a clean separation between a component's design and its use. The other advantage of the event-delegation model is that 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 repeatedly process unhandled events, as is the case of the event-inheritance model.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;70. Which containers may have a MenuBar?&lt;br /&gt;Frame&lt;br /&gt;&lt;br /&gt;71. How are commas used in the intialization and iteration  parts of a for statement?&lt;br /&gt;Commas are used to separate multiple statements within the initialization and iteration parts of a for statement.&lt;br /&gt;&lt;br /&gt;72. What is the purpose of the wait(), notify(), and notifyAll() methods?&lt;br /&gt;The wait(),notify(), and notifyAll() methods are used to provide an efficient way for threads to wait for a shared resource. When a thread executes an object's wait() method, it enters the waiting state. It only enters the ready state after another thread invokes the object's notify() or notifyAll() methods..&lt;br /&gt;&lt;br /&gt;73. What is an abstract method?&lt;br /&gt;An abstract method is a method whose implementation is deferred to a subclass.&lt;br /&gt;&lt;br /&gt;74. How are Java source code files named?&lt;br /&gt;A Java source code file takes the name of a public class or interface that is defined within the file. A source code file may contain at most one public class or interface. If a public class or interface is defined within a source code file, then the source code file must take the name of the public class or interface. If no public class or interface is defined within a source code file, then the file must take on a name that is different than its classes and interfaces. Source code files use the .java extension.&lt;br /&gt;&lt;br /&gt;75. What is the relationship between the Canvas class and the Graphics class?&lt;br /&gt;A Canvas object provides access to a Graphics object via its paint() method.&lt;br /&gt;&lt;br /&gt;76. What are the high-level thread states?&lt;br /&gt;The high-level thread states are ready, running, waiting, and dead.&lt;br /&gt;&lt;br /&gt;77. What value does read() return when it has reached the end of a file?&lt;br /&gt;The read() method returns -1 when it has reached the end of a file.&lt;br /&gt;&lt;br /&gt;78. Can a Byte object be cast to a double value?&lt;br /&gt;No, an object cannot be cast to a primitive value.&lt;br /&gt;&lt;br /&gt;79. What is the difference between a static and a non-static inner class?&lt;br /&gt;A non-static inner class may have object instances that are associated with instances of the class's outer class. A static inner class does not have any object instances.&lt;br /&gt; 80. What is the difference between the String and StringBuffer classes?&lt;br /&gt;String objects are constants. StringBuffer objects are not.&lt;br /&gt;&lt;br /&gt;81. If a variable is declared as private, where may the variable be accessed?&lt;br /&gt;A private variable may only be accessed within the class in which it is declared.&lt;br /&gt;&lt;br /&gt;82. What is an object's lock and which object's have locks?&lt;br /&gt;An object's lock is a mechanism that is used by multiple threads to obtain synchronized access to the object. A thread may execute a synchronized method of an object only after it has acquired the object's lock. All objects and classes have locks. A class's lock is acquired on the class's Class object.&lt;br /&gt;&lt;br /&gt;83. What is the Dictionary class?&lt;br /&gt;The Dictionary class provides the capability to store key-value pairs.&lt;br /&gt;&lt;br /&gt;84. How are the elements of a BorderLayout organized?&lt;br /&gt;The elements of a BorderLayout are organized at the borders (North, South, East, and West) and the center of a container.&lt;br /&gt;&lt;br /&gt;85. What is the % operator?&lt;br /&gt;It is referred to as the modulo or remainder operator. It returns the remainder of dividing the first operand by the second operand.&lt;br /&gt;&lt;br /&gt;86. When can an object reference be cast to an interface reference?&lt;br /&gt;An object reference be cast to an interface reference when the object implements the referenced interface.&lt;br /&gt;&lt;br /&gt;87. What is the difference between a Window and a Frame?&lt;br /&gt;The Frame class extends Window to define a main application window that can have a menu bar.&lt;br /&gt;&lt;br /&gt;88. Which class is extended by all other classes?&lt;br /&gt;The Object class is extended by all other classes.&lt;br /&gt;&lt;br /&gt;89. Can an object be garbage collected while it is still reachable?&lt;br /&gt;A reachable object cannot be garbage collected. Only unreachable objects may be garbage collected..&lt;br /&gt;&lt;br /&gt;90. Is the ternary operator written x : y ? z or x ? y : z ?&lt;br /&gt;It is written x ? y : z.&lt;br /&gt;&lt;br /&gt;91. What is the difference between the Font and FontMetrics classes?&lt;br /&gt;The FontMetrics class is used to define implementation-specific properties, such as ascent and descent, of a Font object.&lt;br /&gt; 92. How is rounding performed under integer division?&lt;br /&gt;The fractional part of the result is truncated. This is known as rounding toward zero.&lt;br /&gt;&lt;br /&gt;93. What happens when a thread cannot acquire a lock on an object?&lt;br /&gt;If a thread attempts to execute a synchronized method or synchronized statement and is unable to acquire an object's lock, it enters the waiting state until the lock becomes available.&lt;br /&gt;&lt;br /&gt;94. What is the difference between the Reader/Writer class hierarchy and the&lt;br /&gt;InputStream/OutputStream class hierarchy?&lt;br /&gt;The Reader/Writer class hierarchy is character-oriented, and the InputStream/OutputStream class hierarchy is byte-oriented.&lt;br /&gt;&lt;br /&gt;95. What classes of exceptions may be caught by a catch clause?&lt;br /&gt;A catch clause can catch any exception that may be assigned to the Throwable type. This includes the Error and Exception types.&lt;br /&gt;&lt;br /&gt;96. If a class is declared without any access modifiers, where may the class be accessed?&lt;br /&gt;A class that is declared without any access modifiers is said to have package access. This means that the class can only be accessed by other classes and interfaces that are defined within the same package.&lt;br /&gt;&lt;br /&gt;97. What is the SimpleTimeZone class?&lt;br /&gt;The SimpleTimeZone class provides support for a Gregorian calendar.&lt;br /&gt;&lt;br /&gt;98. What is the Map interface?&lt;br /&gt;The Map interface replaces the JDK 1.1 Dictionary class and is used associate keys with values.&lt;br /&gt;&lt;br /&gt;99. Does a class inherit the constructors of its superclass?&lt;br /&gt;A class does not inherit constructors from any of its superclasses.&lt;br /&gt;&lt;br /&gt;100. For which statements does it make sense to use a label?&lt;br /&gt;The only statements for which it makes sense to use a label are those statements that can enclose a break or continue statement.&lt;br /&gt;&lt;br /&gt;101. What is the purpose of the System class?&lt;br /&gt;The purpose of the System class is to provide access to system resources.&lt;br /&gt;&lt;br /&gt;102. Which TextComponent method is used to set a TextComponent to the read-only state?&lt;br /&gt;setEditable()&lt;br /&gt; 103. How are the elements of a CardLayout organized?&lt;br /&gt;The elements of a CardLayout are stacked, one on top of the other, like a deck of cards.&lt;br /&gt;&lt;br /&gt;104. Is &amp;&amp;= a valid Java operator?&lt;br /&gt;No, it is not.&lt;br /&gt;&lt;br /&gt;105. Name the eight primitive Java types.&lt;br /&gt;The eight primitive types are byte, char, short, int, long, float, double, and boolean.&lt;br /&gt;&lt;br /&gt;106. Which class should you use to obtain design information about an object?&lt;br /&gt;The Class class is used to obtain information about an object's design.&lt;br /&gt;&lt;br /&gt;107. What is the relationship between clipping and repainting?&lt;br /&gt;When a window is repainted by the AWT painting thread, it sets the clipping regions to the area of the window that requires repainting.&lt;br /&gt;&lt;br /&gt;108. Is "abc" a primitive value?&lt;br /&gt;The String literal "abc" is not a primitive value. It is a String object.&lt;br /&gt;&lt;br /&gt;109. What is the relationship between an event-listener interface and an&lt;br /&gt;event-adapter class?&lt;br /&gt;An event-listener interface defines the methods that must be implemented by an event handler for a particular kind of event. An event adapter provides a default implementation of an event-listener interface.&lt;br /&gt;&lt;br /&gt;110. What restrictions are placed on the values of each case of a switch statement?&lt;br /&gt;During compilation, the values of each case of a switch statement must evaluate to a value that can be promoted to an int value.&lt;br /&gt;&lt;br /&gt;111. What modifiers may be used with an interface declaration?&lt;br /&gt;An interface may be declared as public or abstract.&lt;br /&gt;&lt;br /&gt;112. Is a class a subclass of itself?&lt;br /&gt;A class is a subclass of itself.&lt;br /&gt;&lt;br /&gt;113. What is the highest-level event class of the event-delegation model?&lt;br /&gt;The java.util.EventObject class is the highest-level class in the event-delegation class hierarchy.&lt;br /&gt;&lt;br /&gt;114. What event results from the clicking of a button?&lt;br /&gt;The ActionEvent event is generated as the result of the clicking of a button.&lt;br /&gt;&lt;br /&gt;115. How can a GUI component handle its own events?&lt;br /&gt;A component can handle its own events by implementing the required event-listener interface and adding itself as its own event listener.&lt;br /&gt;116. What is the difference between a while statement and a do  statement?&lt;br /&gt;A while statement checks at the beginning of a loop to see whether the next loop iteration should occur. A do statement checks at the end of a loop to see whether the next iteration of a loop should occur. The do statement will always execute the body of a loop at least once.&lt;br /&gt;&lt;br /&gt;117. How are the elements of a GridBagLayout organized?&lt;br /&gt;The elements of a GridBagLayout are organized according to a grid. However, the elements are of different sizes and may occupy more than one row or column of the grid. In addition, the rows and columns may have different sizes.&lt;br /&gt;&lt;br /&gt;118. What advantage do Java's layout managers provide over traditional windowing systems?&lt;br /&gt;Java uses layout managers to lay out components in a consistent manner across all windowing platforms. Since Java's layout managers aren't tied to absolute sizing and positioning, they are able to accomodate platform-specific differences among windowing systems.&lt;br /&gt;&lt;br /&gt;119. What is the Collection interface?&lt;br /&gt;The Collection interface provides support for the implementation of a mathematical bag - an unordered collection of objects that may contain duplicates.&lt;br /&gt;&lt;br /&gt;120. What modifiers can be used with a local inner class?&lt;br /&gt;A local inner class may be final or abstract.&lt;br /&gt;&lt;br /&gt;121. What is the difference between static and non-static variables?&lt;br /&gt;A static variable is associated with the class as a whole rather than with specific instances of a class. Non-static variables take on unique values with each object instance.&lt;br /&gt;&lt;br /&gt;122. What is the difference between the paint() and repaint() methods?&lt;br /&gt;The paint() method supports painting via a Graphics object. The repaint() method is used to cause paint() to be invoked by the AWT painting thread.&lt;br /&gt;&lt;br /&gt;123. What is the purpose of the File class?&lt;br /&gt;The File class is used to create objects that provide access to the files and directories of a local file system.&lt;br /&gt;&lt;br /&gt;124. Can an exception be rethrown?&lt;br /&gt;Yes, an exception can be rethrown.&lt;br /&gt;125. Which Math method is used to calculate the absolute value of a number?&lt;br /&gt;The abs() method is used to calculate absolute values.&lt;br /&gt;126. How does multithreading take place on a computer with a single CPU?&lt;br /&gt;The operating system's task scheduler allocates execution time to multiple tasks. By quickly switching between executing tasks, it creates the impression that tasks execute sequentially.&lt;br /&gt;&lt;br /&gt;127. When does the compiler supply a default constructor for a class?&lt;br /&gt;The compiler supplies a default constructor for a class if no other constructors are provided.&lt;br /&gt;&lt;br /&gt;128. When is the finally clause of a try-catch-finally statement executed?&lt;br /&gt;The finally clause of the try-catch-finally statement is always executed unless the thread of execution terminates or an exception occurs within the execution of the finally clause.&lt;br /&gt;&lt;br /&gt;129. Which class is the immediate superclass of the Container class?&lt;br /&gt;Component&lt;br /&gt;&lt;br /&gt;130. If a method is declared as protected, where may the method be accessed?&lt;br /&gt;A protected method may only be accessed by classes or interfaces of the same package or by subclasses of the class in which it is declared.&lt;br /&gt;&lt;br /&gt;131. How can the Checkbox class be used to create a radio button?&lt;br /&gt;By associating Checkbox objects with a CheckboxGroup.&lt;br /&gt;&lt;br /&gt;132. Which non-Unicode letter characters may be used as the first character&lt;br /&gt;of an identifier?&lt;br /&gt;The non-Unicode letter characters $ and _ may appear as the first character of an identifier&lt;br /&gt;&lt;br /&gt;133. What restrictions are placed on method overloading?&lt;br /&gt;Two methods may not have the same name and argument list but different return types.&lt;br /&gt;&lt;br /&gt;134. What happens when you invoke a thread's interrupt method while it is&lt;br /&gt;sleeping or waiting?&lt;br /&gt;When a task's interrupt() method is executed, the task enters the ready state. The next time the task enters the running state, an InterruptedException is thrown.&lt;br /&gt;&lt;br /&gt;135. What is casting?&lt;br /&gt;There are two types of casting, casting between primitive numeric types and casting between object references. Casting between numeric types is used to convert larger values, such as double values, to smaller values, such as byte values. Casting between object references is used to refer to an object by a compatible class, interface, or array type reference.&lt;br /&gt;136. What is the return type of a program's main() method?&lt;br /&gt;A program's main() method has a void return type.&lt;br /&gt;&lt;br /&gt;137. Name four Container classes.&lt;br /&gt;Window, Frame, Dialog, FileDialog, Panel, Applet, or ScrollPane&lt;br /&gt;&lt;br /&gt;138. What is the difference between a Choice and a List?&lt;br /&gt;A Choice is displayed in a compact form that requires you to pull it down to see the list of available choices. Only one item may be selected from a Choice. A List may be displayed in such a way that several List items are visible. A List supports the selection of one or more List items.&lt;br /&gt;&lt;br /&gt;139. What class of exceptions are generated by the Java run-time system?&lt;br /&gt;The Java runtime system generates RuntimeException and Error exceptions.&lt;br /&gt;&lt;br /&gt;140. What class allows you to read objects directly from a stream?&lt;br /&gt;The ObjectInputStream class supports the reading of objects from input streams.&lt;br /&gt;&lt;br /&gt;141. What is the difference between a field variable and a local variable?&lt;br /&gt;A field variable is a variable that is declared as a member of a class. A local variable is a variable that is declared local to a method.&lt;br /&gt;&lt;br /&gt;142. Under what conditions is an object's finalize() method invoked by the garbage collector?&lt;br /&gt;The garbage collector invokes an object's finalize() method when it detects that the object has become unreachable.&lt;br /&gt;&lt;br /&gt;143. How are this() and super() used with constructors?&lt;br /&gt;this() is used to invoke a constructor of the same class. super() is used to invoke a superclass constructor.&lt;br /&gt;&lt;br /&gt;144. What is the relationship between a method's throws clause and the exceptions&lt;br /&gt;that can be thrown during the method's execution?&lt;br /&gt;A method's throws clause must declare any checked exceptions that are not caught within the body of the method.&lt;br /&gt;&lt;br /&gt;145. What is the difference between the JDK 1.02 event model and the event-delegation&lt;br /&gt;model introduced with JDK 1.1?&lt;br /&gt;The JDK 1.02 event model uses an event inheritance or bubbling approach. In this model, components are required to handle their own events. If they do not handle a particular event, the event is inherited by (or bubbled up to) the component's container. The container then either handles the event or it is bubbled up to its container and so on, until the highest-level container has been tried..&lt;br /&gt;In the event-delegation model, specific objects are designated as event handlers for GUI components. These objects implement event-listener interfaces. The event-delegation model is more efficient than the event-inheritance model because it eliminates the processing required to support the bubbling of unhandled events.&lt;br /&gt;&lt;br /&gt;146. How is it possible for two String objects with identical values not to be equal&lt;br /&gt;under the == operator?&lt;br /&gt;The == operator compares two objects to determine if they are the same object in memory. It is possible for two String objects to have the same value, but located indifferent areas of memory.&lt;br /&gt;&lt;br /&gt;147. Why are the methods of the Math class static?&lt;br /&gt;So they can be invoked as if they are a mathematical code library.&lt;br /&gt;&lt;br /&gt;148. What Checkbox method allows you to tell if a Checkbox is checked?&lt;br /&gt;getState()&lt;br /&gt;&lt;br /&gt;149. What state is a thread in when it is executing?&lt;br /&gt;An executing thread is in the running state.&lt;br /&gt;&lt;br /&gt;150. What are the legal operands of the instanceof operator?&lt;br /&gt;The left operand is an object reference or null value and the right operand is a class, interface, or array type.&lt;br /&gt;&lt;br /&gt;151. How are the elements of a GridLayout organized?&lt;br /&gt;The elements of a GridBad layout are of equal size and are laid out using the squares of a grid.&lt;br /&gt;&lt;br /&gt;152. What an I/O filter?&lt;br /&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;br /&gt;&lt;br /&gt;153. If an object is garbage collected, can it become reachable again?&lt;br /&gt;Once an object is garbage collected, it ceases to exist.  It can no longer become reachable again.&lt;br /&gt;&lt;br /&gt;154. What is the Set interface?&lt;br /&gt;The Set interface provides methods for accessing the elements of a finite mathematical set. Sets do not allow duplicate elements.&lt;br /&gt;&lt;br /&gt;155. What classes of exceptions may be thrown by a throw statement?&lt;br /&gt;A throw statement may throw any expression that may be assigned to the Throwable type.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-6355800908355322254?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/6355800908355322254/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=6355800908355322254' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/6355800908355322254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/6355800908355322254'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/core-java-interview-questions.html' title='Core Java Interview Questions'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-7705749445541835982</id><published>2008-12-30T04:14:00.002-08:00</published><updated>2008-12-30T04:15:20.527-08:00</updated><title type='text'>10 Simple Steps to Learn English for Job</title><content type='html'>Learning any new language takes a lot of dedication, practice and time. But all of that pays off when you are able to express yourself in an exciting new way. Learning English has limitless advantages.&lt;br /&gt;&lt;br /&gt;Job markets increase, grades go up and new friends are made. You will benefit greatly from learning English simply because so many people speak the English language. New horizons and opportunities will expand before your eyes. Use the following tips to help you in your language learning process for your job.&lt;br /&gt;&lt;br /&gt;? Have desire –Want to learn a new language. Learning English requires lot o f study and dedication. Only true desire will keep you motivated.&lt;br /&gt;&lt;br /&gt;? Know your motive –Why do you want to learn English? Is it to help you in school, your business or something else? Identify your reason and remember it when you are having a hard time.&lt;br /&gt;&lt;br /&gt;? Set goals –Set goals for yourself whether it be learning twenty words a week or giving a presentation in English at work next month. Goals will keep you motivated.&lt;br /&gt;&lt;br /&gt;? Study a little each day –Studying formally for at least 30–60 minutes a day will help you retain what you learn. At the beginning of each study session, review what you learned in the lesson before.&lt;br /&gt;&lt;br /&gt;? Make a set study schedule –Set aside a specific time for study each day. That way you are less likely to skip your lessons.&lt;br /&gt;&lt;br /&gt;? Study out loud –Pronounce the words out loud to yourself as you study. You will remember them more easily and you will be able to practice your pronunciation at the same time.&lt;br /&gt;&lt;br /&gt;? Use different learning methods –Language can be learned through different activities such as speaking, reading, writing, and associating pictures with words. Find out which method works best for you and use a variety of other methods for practice.&lt;br /&gt;&lt;br /&gt;? Practice speaking –Practice the language you have learned as much as possible.&lt;br /&gt;&lt;br /&gt;? Don't be afraid –Never be afraid to try speaking to other people even if you don’t know everything. They will appreciate your efforts.&lt;br /&gt;&lt;br /&gt;? Surround Yourself –Surround yourself with English. Read it, listen to it, watch it and speak it with others.&lt;br /&gt;&lt;br /&gt;Start Practising to do these points before you face an interview&lt;br /&gt;&lt;br /&gt;? Listen to native speakers –Pay careful attention to native speakers using English. Observe the way they pronounce the words and how they use them.&lt;br /&gt;&lt;br /&gt;? Pronunciation is key –Imitate native English sounds as closely as you can. The more closely you pronounce words like native speakers, the better you will be understood.&lt;br /&gt;&lt;br /&gt;? Use good resources –Use dictionaries, workbooks, software and any other resource that will allow you to practice and expand your language.&lt;br /&gt;&lt;br /&gt;? Use what you know –Even if you know relatively little English, you should use what you know. You will be surprised at how much you can communicate with a few words or phrases.&lt;br /&gt;&lt;br /&gt;? Speed it up –Get used to listening to the language at normal speed. It will seem fast at first, but the more you know, the more it will sound normal.&lt;br /&gt;&lt;br /&gt;? Don't get stuck –If you don’t know a certain word, work your way around it. Use different words and actions to explain it, but don’t give up.&lt;br /&gt;&lt;br /&gt;? Have fun! –Learning a new language is fun and exciting. Recognize your progress and use your language for ultimate enjoyment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-7705749445541835982?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/7705749445541835982/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=7705749445541835982' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/7705749445541835982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/7705749445541835982'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/10-simple-steps-to-learn-english-for.html' title='10 Simple Steps to Learn English for Job'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-203592886157541792</id><published>2008-12-30T04:14:00.001-08:00</published><updated>2008-12-30T04:14:54.575-08:00</updated><title type='text'>How To Improve Communication Skills?</title><content type='html'>verbal communication skills voice plays an important role&lt;br /&gt;&lt;br /&gt;In the case of verbal communication skills voice plays an important role. After all, one maybe knowledgeable in their domain area, but conveying their knowledge may seem like a mammoth task. This is the reason why, as a part of communication skills training there is ample emphasis laid on voice culture.&lt;br /&gt;&lt;br /&gt;One aspect of culturing the voice is understanding intonation. This is the rise and fall in pitch, which occurs as we speak. There are various patterns of intonation. For instance, there is singsong, monotone, jump up and step down (JUSD), etc. When one intonates one puts music, melody and rhythm into the way they speak.&lt;br /&gt;&lt;br /&gt;Basically, intonation follows certain guidelines that help one decide which are important and key ideas on which one needs to rise and fall in pitch. When one follows these guidelines, one can clearly communicate to the listener the important idea/s in the message.&lt;br /&gt;&lt;br /&gt;The following are the various factor that can help one to modulate well and gain correct intonation, inflection and syllable stress...&lt;br /&gt;&lt;br /&gt;Be enthusiastic&lt;br /&gt;Avoid speaking in a monotone&lt;br /&gt;Exaggerate voice inflection&lt;br /&gt;Pause to create effect&lt;br /&gt;Pace between fast and slow&lt;br /&gt;Modulate between high and low pitch&lt;br /&gt;Bring power with the play of volume - loud and soft&lt;br /&gt;Enunciate the words to bring about clarity&lt;br /&gt;Match tone with attitude&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-203592886157541792?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/203592886157541792/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=203592886157541792' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/203592886157541792'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/203592886157541792'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/how-to-improve-communication-skills.html' title='How To Improve Communication Skills?'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-2760748420794247416</id><published>2008-12-30T04:13:00.001-08:00</published><updated>2008-12-30T04:13:30.554-08:00</updated><title type='text'>Advantages and Disadvantages of  Java Collection Framework</title><content type='html'>&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Advantages and Disadvantages of the Collection Framework&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;                         &lt;br /&gt;&lt;br /&gt;In this section, you will learn the advantages and disadvantages of Java Collection Framework. A collection is simply an object that groups multiple elements into a single unit. It is also called as a container sometimes. It is used to store, retrieve, manipulate, and communicate aggregate data. Typically, it represents data items that form a natural group and allows duplicate elements while others do not. It consists of both ordered and unordered elements. &lt;br /&gt;&lt;br /&gt;Advantages of collections framework:&lt;br /&gt;&lt;br /&gt;   1. We need not to learn multiple ad hoc collection APIs.&lt;br /&gt;   2. It provides a standard interface for collections that fosters software reuse and also provides algorithms to manipulate them.&lt;br /&gt;   3. Reduces the effort required to design and implement APIs by eliminating the need to produce ad hoc collections APIs.&lt;br /&gt;   4. It provides useful data structures and algorithms that reduces programming effort due to which we need not to write them ourselves.&lt;br /&gt;   5. It provides high-performance implementations of useful data structures and algorithms that increases the performance.&lt;br /&gt;   6. Helps in establishing a common language to pass collections back and forth that provides interoperability between unrelated APIs.&lt;br /&gt;   7. Collection is resizable and can grow.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Disadvantages of collections framework:&lt;span style="font-weight:bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;   1. It must cast to correct type.&lt;br /&gt;   2. It can't be done compile-time type checking.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-2760748420794247416?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/2760748420794247416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=2760748420794247416' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2760748420794247416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2760748420794247416'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/advantages-and-disadvantages-of-java.html' title='Advantages and Disadvantages of  Java Collection Framework'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-1823889247119996690</id><published>2008-12-30T04:09:00.000-08:00</published><updated>2008-12-30T04:10:14.679-08:00</updated><title type='text'>Computer Networks - Frequently Asked Questions</title><content type='html'>1.) What is The A Port Number?&lt;br /&gt;&lt;br /&gt;    A Port Number is allocated by the operating system (or can be requested) , in such a way to identify the pocess in a standalone system or a network.default Port Number for FTP is 21.&lt;br /&gt;&lt;br /&gt;2.) What is a default gateway?&lt;br /&gt;&lt;br /&gt;    The exit-point from one network and entry-way into another network, often the router of the network.&lt;br /&gt;&lt;br /&gt;3.) What is DHCP?&lt;br /&gt;&lt;br /&gt;    DHCP is a protocol which is designe for Automatic Give the IP Address to DHCP client.. DHCP Assine the IP Address for few days Lease &amp; capture the clients MAC address.. It is Updated version of BootP…&lt;br /&gt;&lt;br /&gt;4.) What is a default gateway?&lt;br /&gt;&lt;br /&gt;    The exit-point from one network and entry-way into another network, often the router of the network.&lt;br /&gt;&lt;br /&gt;5.) How do you set a default route on an IOS Cisco router?&lt;br /&gt;&lt;br /&gt;    ip route 0.0.0.0 0.0.0.0 x.x.x.x [where x.x.x.x represents the destination address]&lt;br /&gt;&lt;br /&gt;6.) What is the difference between a domain local group and a global group?&lt;br /&gt;&lt;br /&gt;    Domain local groups grant permissions to objects within the domain in which the reside. Global groups contain grant permissions tree or forest wide for any objects within the Active Directory&lt;br /&gt;&lt;br /&gt;7.) What is LDAP used for?&lt;br /&gt;&lt;br /&gt;    LDAP is a set of protocol used for providing access to information directories.&lt;br /&gt;&lt;br /&gt;8.) What tool have you used to create and analyze packet captures?&lt;br /&gt;&lt;br /&gt;    Network Monitor in Win2K / Win2K3, Ethereal in Linux, OptiView Series II (by Fluke Networks).&lt;br /&gt;&lt;br /&gt;9.) What is the significance of the IP address 255.255.255.255?&lt;br /&gt;&lt;br /&gt;    The limited broadcast address is utilized when an IP node must perform a one-to-everyone delivery on the local network but the network ID is unknown.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-1823889247119996690?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/1823889247119996690/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=1823889247119996690' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/1823889247119996690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/1823889247119996690'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/computer-networks-frequently-asked.html' title='Computer Networks - Frequently Asked Questions'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-3928259061738428153</id><published>2008-12-30T04:08:00.000-08:00</published><updated>2008-12-30T04:09:06.193-08:00</updated><title type='text'>Computer Architecture Basic Questions for Interview</title><content type='html'>1.) What is Virtual Memory?&lt;br /&gt;&lt;br /&gt;    This Memory is used extending the capability of physical memory. This memory is simulated by the hard drive.When all the RAM is being used the computer will swap data to the hard drive and back to give the impression that there is more memory&lt;br /&gt;&lt;br /&gt;2.) What are the five stages in a DLX pipeline?&lt;br /&gt;&lt;br /&gt;    Instruction Fetch Stage Instruction Decode Stage Instruction Execution Stage Memory Stage Write Back&lt;br /&gt;&lt;br /&gt;3.) What is MESI?&lt;br /&gt;&lt;br /&gt;    MESI is a Cache Coherency protocol used in multi-processor systems to indicate the state in which the data in the cache of a particular processor is. It stands of Modified, Exclusive, Shared and Invalid&lt;br /&gt;&lt;br /&gt;4.) What is cache memory?&lt;br /&gt;&lt;br /&gt;    Cache memory is random access memory (RAM) that a computer microprocessor can access more quickly than it can access regular RAM. As the microprocessor processes data, it looks first in the cache memory and if it finds the data there (from a previous reading of data), it does not have to do the more time-consuming reading of data from larger memory.(cache memory is used between the c.p.u and the ram to access dta fastly)&lt;br /&gt;&lt;br /&gt;5.) What is hard disk and what is its purpose?&lt;br /&gt;&lt;br /&gt;    Hard disk is the secondary storage device, which holds the data in bulk, and it holds the data on the magnetic medium of the disk.Hard disks have a hard platter that holds the magnetic medium, the magnetic medium can be easily erased and rewritten, and a typical desktop machine will have a hard disk with a capacity of between 10 and 40 gigabytes. Data is stored onto the disk in the form of files.&lt;br /&gt;&lt;br /&gt;6.) What’s the speed and device maximum specs for Firewire?&lt;br /&gt;&lt;br /&gt;    EEE 1394 (Firewire) supports the maximum of 63 connected devices with speeds up to 400 Mbps.&lt;br /&gt;&lt;br /&gt;7.) What’s the difference between L1 and L2 cache?&lt;br /&gt;&lt;br /&gt;    Level 1 cache is internal to the chip, L2 is external. L1 Cache is of Higher speed than that of L2 Cache.&lt;br /&gt;&lt;br /&gt;8.) What is the difference between primary &amp; secondary storage device?&lt;br /&gt;&lt;br /&gt;    In primary storage device the storage capacity is limited. It has a volatile memory. In secondary storage device the storage capacity is larger. It is a nonvolatile memory. Primary devices are: RAM / ROM. Secondary devices are: Floppy disc / Hard disk.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-3928259061738428153?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/3928259061738428153/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=3928259061738428153' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/3928259061738428153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/3928259061738428153'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/computer-architecture-basic-questions.html' title='Computer Architecture Basic Questions for Interview'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-516951145950976804</id><published>2008-12-30T04:06:00.000-08:00</published><updated>2008-12-30T04:08:05.144-08:00</updated><title type='text'>Frequently Asked C/C++ Questions</title><content type='html'>&lt;span style="font-weight:bold;"&gt;C / C++ - Frequently Asked Questions&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1.) How To Split an Image File In C Launguage?&lt;br /&gt;&lt;br /&gt;    To split an image file various logics are there.the best logic in such a way that take the size of the file using c file functions and split into the pieces how many required by asking the input.&lt;br /&gt;&lt;br /&gt;2.)What is the difference between an ARRAY and a LIST?&lt;br /&gt;&lt;br /&gt;    Array is collection of homogeneous elements. List is collection of heterogeneous elements. For Array memory allocated is static and continuous. For List memory allocated is dynamic and Random. Array: User need not have to keep in track of next memory allocation. List: User has to keep in Track of next location where memory is allocated.&lt;br /&gt;&lt;br /&gt;3.)Define a constructor - what it is and how it might be called?&lt;br /&gt;&lt;br /&gt;    constructor is a member function of the class, with the name of the function being the same as the class name. It also specifies how the object should be initialized&lt;br /&gt;&lt;br /&gt;4.)Define a constructor - what it is and how it might be called?&lt;br /&gt;&lt;br /&gt;    constructor is a member function of the class, with the name of the function being the same as the class name. It also specifies how the object should be initialized Ways of calling constructor:&lt;br /&gt;    1) Implicitly: automatically by complier when an object is created.&lt;br /&gt;    2) Calling the constructors explicitly is possible, but it makes the code unverifiable.&lt;br /&gt;&lt;br /&gt;5.)You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. new() and malloc()?&lt;br /&gt;&lt;br /&gt;    1.) “new and delete” are preprocessors while “malloc() and free()” are functions. [we dont use brackets will calling new or delete].&lt;br /&gt;    2.) no need of allocate the memory while using “new” but in “malloc()” we have to use “sizeof()”.&lt;br /&gt;    3.) “new” will initlize the new memory to 0 but “malloc()” gives random value in the new alloted memory location [better to use calloc()].&lt;br /&gt;&lt;br /&gt;6.)Explain term POLIMORPHISM?&lt;br /&gt;&lt;br /&gt;    POLYMORPHISM : A phenomenon which enables an object to react differently to the same function call. in C++ it is attained by using a keyword virtual&lt;br /&gt;&lt;br /&gt;7.)What are 2 ways of exporting a function from a DLL?&lt;br /&gt;&lt;br /&gt;    1.Taking a reference to the function from the DLL instance.&lt;br /&gt;    2. Using the DLL ’s Type Library&lt;br /&gt;&lt;br /&gt;8.)Describe PRIVATE, PROTECTED and PUBLIC – the differences?&lt;br /&gt;&lt;br /&gt;    The Difference Between The private Public And Protected member are: public methods/attributes are accessible to all classes. protected are accessible to class and derived classes. private are only for class (not for derived classes)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-516951145950976804?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/516951145950976804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=516951145950976804' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/516951145950976804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/516951145950976804'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/frequently-asked-cc-questions.html' title='Frequently Asked C/C++ Questions'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-1339204341391248983</id><published>2008-12-29T17:15:00.000-08:00</published><updated>2008-12-29T17:40:10.827-08:00</updated><title type='text'>J2ME Cryptography</title><content type='html'>The absence of standard and familiar Java APIs presents one of the biggest obstacles when developing for Java 2 Micro Edition (J2ME). Since J2ME targets much smaller devices, it lacks many libraries and features that are normally available in larger Java installations.&lt;br /&gt;&lt;br /&gt;On Java 2 Standard Edition (J2SE) and Java 2 Enterprise Edition (J2EE), the Java Cryptography Architecture and Java Cryptography Extension help streamline the process of adding security to a project. The J2ME platform, however, lacks crypto APIs.&lt;br /&gt;&lt;br /&gt;Of course, many J2ME devices, such as Palm handhelds, aren't suited for common cryptographic functions. Their constrained RAM and processors can make operations, such as public key cryptography, infeasible. Still, there's a real need for security on small devices, and they can perform a useful subset of cryptographic operations.&lt;br /&gt;&lt;br /&gt;This article explores the use of cryptography on J2ME devices and walks though an implementation of a simple password-based encrypted database program. The database holds user login information and can be used to manage accounts for different machines and Web sites. Although the example targets J2ME for Palm handhelds, its design maximizes portability.&lt;br /&gt;&lt;br /&gt;Ciphers&lt;br /&gt;Ciphers are algorithms that use a key to transform a message (plaintext) into an encrypted message (ciphertext) or vice versa. Symmetric ciphers rely on a single key for both encryption and decryption. DES, TripleDES (also called DESede), and Blowfish are symmetric ciphers. All three operate on 64-bit input blocks and produce 64-bit output blocks.&lt;br /&gt;&lt;br /&gt;Modes are applied to ciphers to define their behavior. In the simplest mode, Electronic Code Book (ECB), each input block always produces the same output block. Although this makes implementation simple, the one-to-one mapping of input to output leaves the ciphertext vulnerable to attacks. Patterns in the encrypted data become apparent in the ciphertext if there are repeated input blocks, making cryptanalysis much easier.&lt;br /&gt;&lt;br /&gt;The cipher block chaining (CBC) mode strengthens the ciphertext by making each block of ciphertext dependent on both the corresponding block of plaintext and all previous plaintext blocks as well. It uses an XOR feedback register to modify the plaintext before encrypting and after decrypting. At the start of an encryption or decryption operation, the XOR register is set to a randomly generated initialization vector (IV) that's transmitted or stored along with the ciphertext. It's not terribly important that the IV is truly random, but it should be different each time plaintext is encrypted with the same key.&lt;br /&gt;&lt;br /&gt;Since plaintexts might be any length, extra bytes must be added to pad the input to a multiple of the block size in length. Public Key Cryptography Standard #5 (PKCS#5) padding is the most common padding scheme for symmetric block ciphers.&lt;br /&gt;&lt;br /&gt;Choosing appropriate ciphers for J2ME requires special care, since most J2ME devices have relatively slow processors. Table 1 shows some rough benchmarks for a PalmV. The key setup column gives the time it takes for an algorithm to initialize itself with a key. The encryption column shows the amount of time it takes to encrypt one block (8 bytes) of data. Naturally, different implementations of the algorithms will have different performance. The data in Table 1 is by no means a definitive performance analysis.&lt;br /&gt;&lt;br /&gt;For these implementations, TripleDES and Blowfish take significantly longer to initialize than DES, but Blowfish encrypts data faster than DES or TripleDES. Depending on the application, either key setup or encryption might dominate the running time. Choosing an appropriate cipher always involves weighing the trade-off between performance and the desired level of security.&lt;br /&gt;&lt;br /&gt;Hashes, Passwords, and Keys&lt;br /&gt;Hash algorithms are one-way functions that turn an arbitrary message of bytes into a fixed-length digest, or fingerprint, usually not much more than a dozen bytes long. Good hash algorithms should be collision-resistant, making it computationally infeasible to derive the original message from the digest. Even a minor change in the input should drastically change the resulting fingerprint. MD5 and SHA1 are two commonly used hash functions.&lt;br /&gt;&lt;br /&gt;Applications commonly use hash functions to transform user-supplied passwords into symmetric keys. Several standards define techniques to convert passwords, but PKCS#5 specifies a simple technique: convert the password string to a byte array and use it as the input to a hash algorithm. The resulting digest serves as the key.&lt;br /&gt;&lt;br /&gt;Running the password through a hash function serves several purposes. First, the hash function transforms variable length passwords into uniform-length hashes. Also, character strings follow certain patterns and good symmetric keys should be as close to random bytes as possible. Hashing the password removes the patterns, making cryptanalysis much harder.&lt;br /&gt;&lt;br /&gt;Using a password-based key means that the key is only as secure as the password. If the number of likely passwords is smaller than the total number of keys, it's more efficient to search through all possible passwords than to attack the key directly. It's pointless to use a cipher with a huge key space unless users choose long passwords or passphrases. DES has a key space of 64 bits, of which only 56 are actually used. That's roughly equivalent to randomly selecting nine characters from the set upper- and lowercase letters and numbers. Users are unlikely to choose passwords longer than that for J2ME programs since text entry is typically inconvenient.&lt;br /&gt;&lt;br /&gt;The dictionary attack is a common way to attack password-based systems. In it an attacker computes a list of keys from a dictionary of likely passwords. Once the attacker has obtained the encrypted data, he or she uses each potential key to decrypt the ciphertext until one of them produces meaningful plaintext.&lt;br /&gt;&lt;br /&gt;A technique called salt helps guard against dictionary attacks. Salt is a set of random bytes that are stored unencrypted along with the ciphertext and are added to the password before it's hashed. It prevents an attacker from precomputing a list of keys since the password dictionary generates a different set of keys for each different salt value. Salt doesn't completely defeat a dictionary attack, but it does make it much more computationally intensive.&lt;br /&gt;&lt;br /&gt;Implementing an Encrypted Password Database&lt;br /&gt;Deploying on J2ME requires a virtual machine, configuration, and profile. Sun's KVM is the most compact virtual machine that fulfills the J2ME requirements. Configurations define a set of APIs for use on certain classes of devices. For example, the Connected Limited Device Configuration (CLDC) targets compact devices, such as cell phones and PDAs. Profiles extend the configuration and add functionality applicable to a particular domain. As of this writing, the Mobile Information Device Profile (MIDP) is the only profile that's been finalized. It contains functionality intended for cell phones and two-way pagers.&lt;br /&gt;&lt;br /&gt;The primary design goal for this application is to make it as simple as possible to port to different J2ME configurations and profiles. As presented, it targets the CLDC and a PalmOS-specific profile. It contains two device-specific groups of functionality: the GUI and the storage mechanism. The design accommodates different GUIs by separating the application's business logic and presentation. It solves the device-dependent storage problem using the Template pattern. An abstract superclass relies on methods in the concrete subclasses to store the data.&lt;br /&gt;&lt;br /&gt;Another important goal is maintaining acceptable performance on the target device. Therefore, the design encapsulates the usage of the computationally intensive algorithms in a single class. Swapping in alternate hash functions or encryption algorithms makes it possible to customize the program for the performance characteristics of different devices. For this application, SHA1 and DES provide reasonable performance and are as secure as the expected passwords (see Figure 1)&lt;br /&gt;&lt;br /&gt;Cryptographic Algorithms&lt;br /&gt;The supplied code includes DES and SHA1 implementations in the crypto package. Both take care of padding the input data if needed. The SHA1 class uses the padding defined by the SHA1 algorithm and DES uses PKCS#5 padding and CBC mode. The algorithms' inner workings are beyond the scope of this article. Other sources, such as Applied Cryptography by Bruce Schneier, discuss the algorithms and cryptanalysis in detail.&lt;br /&gt;&lt;br /&gt;The DES class throws a CipherException if it encounters a problem encrypting or decrypting. Possible problems include invalid parameters (like an IV that's not 8-bytes long or attempting to decrypt an array that's not a multiple of 8 bytes in length) and invalid padding after decryption. Normally, using the wrong key or IV will result in improperly padded plaintext.&lt;br /&gt;&lt;br /&gt;Data Objects&lt;br /&gt;Two data classes, SiteList and SiteInfo, encapsulate the user's information. SiteList keeps track of all the SiteInfos, each of which stores an individual site's profile. Since J2ME doesn't support serialization natively, the classes handle saving and restoring their own state in their load() and save() methods. They use simple byte-array structures as shown in Figure 2.&lt;br /&gt;&lt;br /&gt;The SiteInfo class wraps four strings: the site's name, location, username, and password. Each setter method trims the string to ensure it will be less than 127-bytes long (Java's maximum byte value). The class handles serializing its location, username, and password.&lt;br /&gt;&lt;br /&gt;The SiteList class keeps track of all the SiteInfos in the system. It holds all the SiteInfos in a vector and is responsible for storing their name strings when it's serialized.&lt;br /&gt;&lt;br /&gt;Since hashing the user's password, setting DES up for decryption, and decrypting the data are all computationally intensive operations, it's important to decrypt information only as needed. Keeping the site names in one byte array allows the application to start up faster because the application needs to display only the site names at startup. It can wait until the user selects a particular site to load and decrypts the rest of the SiteInfo data.&lt;br /&gt;&lt;br /&gt;Persistent EncryptedStorage&lt;br /&gt;The abstract class EncryptedStorage handles the application's cryptography. It turns the password and salt into a DES key and deals with encrypting and decrypting the serialized SiteList and SiteInfos. When saving data it first creates an initialization vector. Then it encrypts the plaintext bytes and concatenates the IV with the ciphertext. EncryptedStorage then uses the Template pattern and calls an abstract method to store the combined array in the device's storage system. The class gets random bytes from java.util.Random, which produces bytes that are random enough for salt and IV values, but not for keys. Listing 1 shows the code that does the hashing and encrypting.&lt;br /&gt;&lt;br /&gt;In this case, PalmEncryptedStorage subclasses EncryptedStorage and talks directly with the Palm's storage system, the database. The Palm-specific classes include com.sun.kjava.Database, a class that permits access to an application's database on the Palm, stored in a set of records. At startup the PalmEncryptedStorage checks if it has already created a database. If not, it makes a new one, generates salt, and stores it in record 0. The IV and ciphertext for the SiteList go in record 1. SiteInfos get stuffed into subsequent records. The SiteInfo at index 0 in the SiteList is kept in record 2, index 1 is kept in record 3, and so forth.&lt;br /&gt;&lt;br /&gt;Listing 2 illustrates how the PalmEncryptedStorage interacts with the Palm's database. Three values identify each database: a creator ID (managed by Palm Computing at www.palmos.com/dev/tech/palmos/creatorid/), a database type ID, (separates different applications from a single creator ID), and a database type string (shown in the list of databases in the Palm's memory-usage list).&lt;br /&gt;&lt;br /&gt;The class's constructor tries to open an existing database. If it can't find one, it creates a new one, opens it, and stores the 8-byte salt value. The setRecordBytes() method sets the bytes of the specified record index. If a record at that index already exists, it's overwritten; if no record exists, a new record is appended.&lt;br /&gt;&lt;br /&gt;User Interface&lt;br /&gt;A class called com.sun.kjava.Spotlet draws the GUI and handles user input. Event handling is very different from Swing's event handling. A Spotlet must register itself to receive user input events and only one can be registered at a time. For stylus events, the Spotlet gets the (x, y) coordinates and must interrogate each GUI widget to see if it occupies those pixels and then acts appropriately. For example, if a user clicks on a text field it should get the focus. For text input, the Spotlet must check if any of the GUI components have the focus and then pass it to that component. Listing 3 is a code snippet from SiteListSpotlet that does event handling.&lt;br /&gt;&lt;br /&gt;In this program an abstract class, AbstractSpotlet, draws the familiar Palm UI tab at the top of the screen to show the user which application is running. It also keeps a reference to the PalmPassword object so that the Spotlet can interact with the rest of the application. There are three subclasses, one for each screen in the UI.&lt;br /&gt;&lt;br /&gt;The first is the LoginSpotlet. It gets the password from the user and informs him or her if the password was not correct. SiteListSpotlet shows the list of sites and permits the user to either select one to display or create a new entry (see Figure 3). The SiteInfoSpotlet allows the user to view and edit a site's information and then save it (see Figure 4).&lt;br /&gt;&lt;br /&gt;Unfortunately, the Palm-specific classes don't include a list GUI widget. The ListBox class provided works like list boxes in other Palm applications. It's backed by a ListBoxModel that supplies the data to be displayed and sends selection events to a ListBoxListener. It calculates the number of elements that can fit vertically, based on the size of the box, and draws as many elements from the ListBoxModel as can fit. It uses the Palm-specific ScrollBar widget to handle scrolling, shifting the elements displayed in response to user input. If the user selects one of the elements in the list, the ListBox notifies its ListBoxListener that an element in the list was selected.&lt;br /&gt;&lt;br /&gt;The PalmPassword class contains the main method for the application and acts as a controller for the system. It instantiates the three Spotlets that all keep a reference to the PalmPassword object. When the Spotlets get events from the user, they call methods in the controller to process the request and display other Spotlets as needed.&lt;br /&gt;&lt;br /&gt;Building and Running the Application&lt;br /&gt;Building an application for J2ME devices takes a few more steps than building for J2SE. J2ME runtime environments work with the same Java compilers as J2SE. Two additional steps are needed though: preverifying the class files and building the preverified files into a Palm application. Preverification checks each class file to make sure it's a valid Java class file, and stores verification information in it. This minimizes the amount of verification the KVM needs to do, improving runtime performance.&lt;br /&gt;&lt;br /&gt;Setting up an IDE or a build tool to handle the process will save a lot of time, as will installing an emulator for the target device on the development workstation. Sun provides detailed installation and usage instructions for the J2ME libraries and utilities.The page also describes how to get a Palm emulator and transfer a ROM image from a Palm device.&lt;br /&gt;&lt;br /&gt;Unfortunately, the section labeled "The J2ME CLDC Development Environment" contains a couple of errors. So run the following commands from the c:\j2me_cldc\tools\palm\ directory instead:&lt;br /&gt;&lt;br /&gt;md classes&lt;br /&gt;javac src\palm\database\*.java -d classes&lt;br /&gt;copy src\palm\database\DefaultTiny.bmp&lt;br /&gt;classes\palm\database&lt;br /&gt;copy src\palm\database\Wrapper.prc&lt;br /&gt;classes\palm\database&lt;br /&gt;&lt;br /&gt;The build.bat file included with the source compiles the source code, preverifies the compiled classes, stores the results in .\preverified, and builds them into a Palm application. Be sure to edit the first line of the batch file to point to the proper directory. After installing the KVM as documented by Sun, simply drag-and-drop PalmPassword.prc onto an emulator or HotSync it to a Palm device and run it.&lt;br /&gt;&lt;br /&gt;Summary&lt;br /&gt;The code provided with this article can be downloaded from the JDJ Web site. It gives a solid base for cryptography in J2ME and shows how to separate device-specific code from the main application logic, both for the GUI and for persistent storage. In addition, it provides an implementation of password-based encryption without relying on other APIs. Different hash and encryption algorithms can easily be swapped in to increase the cryptographic security of the data.&lt;br /&gt;&lt;br /&gt;Although the example program is functional, it's still far from feature-complete. As presented there's no way to delete a SiteInfo from the list or sort the list. The application could give the user some sort of progress bar during the password hashing and key setup. More fields might be added to let the user input more information about a site, or the ListBox could be changed to display more than just the site's name. Also, if something goes wrong with encryption or decryption, it would be nice to inform the user instead of just swallowing the exception.&lt;br /&gt;&lt;br /&gt;A conduit that synchronizes data with an application on the user's desktop machine might also be useful. Because all the device-specific code is kept isolated, it would be simple to create a Swing-based application that could read the encrypted data and allow the user to manage the password database.&lt;br /&gt;&lt;br /&gt;It's important to remember that cryptography doesn't automatically make a system secure. For this application, a poorly chosen password will reduce the security significantly. Also, it's necessary to exit the program after use or the passwords will be vulnerable to anyone who happens upon the device. Even the best security is still only risk management.&lt;br /&gt;&lt;br /&gt;Just posted is a follow-up to my article in the current issue of JDJ, describing how to port my application to MIDP and including the full source code. The link is available at http://www.isnetworks.com/j2meCrypto/. This is a follow-up to "J2ME Cryptography," an article published in the July 2001 issue of Java Developer's Journal.&lt;br /&gt;Published Jul. 1, 2001— Reads 14,620&lt;br /&gt;Copyright © 2008 SYS-CON Media. All Rights Reserved.&lt;br /&gt;&lt;br /&gt;Listing 1&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;public void init( String password ) {&lt;br /&gt;byte[] toBeHashed = concat( getSalt(),&lt;br /&gt;password.getBytes() );&lt;br /&gt;byte[] hash = mSHA1.digest( toBeHashed );&lt;br /&gt;byte[] keyBytes = new byte[ 8 ];&lt;br /&gt;System.arraycopy( hash, 0, keyBytes, 0, 8 );&lt;br /&gt;mDES.setKey( keyBytes );&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;private byte[] encrypt( byte[] plaintext )&lt;br /&gt;throws StorageException {&lt;br /&gt;try {&lt;br /&gt;byte[] iv = getRandomBytes( 8 );&lt;br /&gt;byte[] ciphertext = mDES.encrypt( plaintext,&lt;br /&gt;iv );&lt;br /&gt;return concat( iv, ciphertext );&lt;br /&gt;}&lt;br /&gt;catch( CipherException e ) {&lt;br /&gt;throw new StorageException( e.getMessage() );&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Listing 2&lt;br /&gt;public PalmEncryptedStorage() {&lt;br /&gt;mDatabase = new Database( DB_TYPE_ID,&lt;br /&gt;CREATOR_ID, Database.READWRITE );&lt;br /&gt;if ( !mDatabase.isOpen() ) {&lt;br /&gt;Database.create( 0, DB_TYPE_STRING,&lt;br /&gt;CREATOR_ID, DB_TYPE_ID, false );&lt;br /&gt;mDatabase = new Database( DB_TYPE_ID,&lt;br /&gt;CREATOR_ID, Database.READWRITE );&lt;br /&gt;mDatabase.addRecord( getRandomBytes( 8 ) );&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;private void setRecordBytes( int recordNumber,&lt;br /&gt;byte[] bytes ) {&lt;br /&gt;if ( mDatabase.getNumberOfRecords() &lt;=&lt;br /&gt;recordNumber ) {&lt;br /&gt;mDatabase.addRecord( bytes );&lt;br /&gt;}&lt;br /&gt;else {&lt;br /&gt;mDatabase.setRecord( recordNumber, bytes );&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Listing 3&lt;br /&gt;public void penDown( int x, int y ) {&lt;br /&gt;if ( mListBox.contains( x, y ) ) {&lt;br /&gt;mListBox.handlePenDown( x, y );&lt;br /&gt;}&lt;br /&gt;else if ( mNewButton.pressed( x, y ) ) {&lt;br /&gt;mPalmPassword.showSiteInfo( new SiteInfo() );&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public void penMove( int x, int y ) {&lt;br /&gt;if ( mListBox.contains( x, y ) ) {&lt;br /&gt;mListBox.handlePenMove( x, y );&lt;br /&gt;}&lt;br /&gt;} &lt;span style="font-style:italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-1339204341391248983?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/1339204341391248983/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=1339204341391248983' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/1339204341391248983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/1339204341391248983'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/j2me-cryptography.html' title='J2ME Cryptography'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-552556775276072549</id><published>2008-12-28T17:26:00.000-08:00</published><updated>2008-12-28T17:54:50.003-08:00</updated><title type='text'>J2ME Basics</title><content type='html'>&lt;span style="font-weight:bold;"&gt;J2ME: Micro Java&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Beyond the desktop and enterprise, Java may be found on small devices ranging from smart cards to PDAs to television set-top boxes. These micro devices typically are categorized as either low-end or high-end devices. Low-end devices (such as mobile phones and entry-level PDAs) support less-powerful microprocessors and less memory than their high-end counterparts (for example, television set-top boxes and more capable PDAs). Furthermore, a low-end device's network connections tend to be intermittent and, unlike those of a high-end device, don't have a large network bandwidth. To support Java on all micro devices, Sun developed J2ME.&lt;br /&gt;&lt;br /&gt;J2ME's collection of highly optimized Java 2 Platforms addresses the needs of micro devices. Most J2ME platforms support the configuration and profile concepts:&lt;br /&gt;&lt;br /&gt;    *&lt;br /&gt;&lt;br /&gt;      Configuration: Combination of virtual machine and a minimal set of class libraries, providing base functionality for a range of similar micro devices&lt;br /&gt;    *&lt;br /&gt;&lt;br /&gt;      Profile: Higher-level class libraries that further define application lifecycle, user interface, and device-specific properties access&lt;br /&gt;&lt;br /&gt;There currently are two J2ME configurations: Connected Limited Device Configuration (CLDC) and Connected Device Configuration (CDC). CLDC, the smaller configuration, targets low-end devices with 16-bit or 32-bit microprocessors and 128–512 kilobytes of memory for a Java implementation and applications. CLDC supports two Sun virtual machines: the original Kilobyte Virtual Machine (KVM)—a term derived from CLDC's support of micro devices that have memory measured in kilobytes—and the newer (and higher-performance) CLDC HotSpot Implementation virtual machine, which supports 32-bit microprocessors with 512KB to 1MB of memory. In contrast, CDC targets high-end devices with 32-bit microprocessors and at least 2MB of memory for a Java implementation and applications. Unlike CLDC, CDC supports Sun's Consumer Virtual Machine (CVM) and a larger subset of the J2SE standard class library. Although many vendors license Sun's KVM, CLDC HotSpot Implementation, and CVM virtual machines, other vendors may substitute their own compatible virtual machines for CLDC/CDC configurations.&lt;br /&gt;&lt;br /&gt;Although vendors can create their own profiles, Sun provides its own standardized profiles. Sun's standard profile for CLDC is the Mobile Information Device Profile (MIDP). The MIDP offers the core functionality (user interface, network connectivity, application management, and local data storage) required by mobile applications. In contrast, CDC's standard profiles are Foundation, Personal, and Personal Basis:&lt;br /&gt;&lt;br /&gt;    *&lt;br /&gt;&lt;br /&gt;      The Foundation profile provides a foundation (with network and no user interface support) for the other two profiles, which layer themselves on top.&lt;br /&gt;    *&lt;br /&gt;&lt;br /&gt;      The Personal profile provides devices with full GUI/Internet applet support, and includes the complete AWT.&lt;br /&gt;    *&lt;br /&gt;&lt;br /&gt;      As a subset of Personal, the Personal Basis profile provides limited user interface support, but supports specialized graphics toolkits.&lt;br /&gt;&lt;br /&gt;J2ME has elicited much interest among Java developers. Probably the two areas of most interest are the creation of MIDLets (J2ME applications that run in a CLDC/MIDP environment) and J2ME's support for wireless application development.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-552556775276072549?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/552556775276072549/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=552556775276072549' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/552556775276072549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/552556775276072549'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/j2me-basics.html' title='J2ME Basics'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-5217019114761170439</id><published>2008-12-20T06:19:00.000-08:00</published><updated>2008-12-20T06:21:54.492-08:00</updated><title type='text'>To Clean your PC</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Use CCLEANER&lt;/span&gt;  சாப்ட்வேர் and download it and download it பிரோம்&lt;br /&gt;&lt;br /&gt;www.ccleaner.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-5217019114761170439?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/5217019114761170439/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=5217019114761170439' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/5217019114761170439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/5217019114761170439'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/to-clean-your-pc.html' title='To Clean your PC'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-2700420466033972682</id><published>2008-12-20T06:15:00.000-08:00</published><updated>2008-12-20T06:17:13.956-08:00</updated><title type='text'>Disclaimer</title><content type='html'>The content provided in this website are hosted in the external server and we are not responsible for any broken links or materials&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-2700420466033972682?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/2700420466033972682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=2700420466033972682' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2700420466033972682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2700420466033972682'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/12/disclaimer.html' title='Disclaimer'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-2885455234714495678</id><published>2008-11-08T15:22:00.000-08:00</published><updated>2008-11-08T15:30:06.096-08:00</updated><title type='text'>Anna University Questions</title><content type='html'>You may use the following websites&lt;br /&gt;to download Previous Years Anna University Questions.&lt;br /&gt;&lt;a href="http://www.maanavan.com"&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;www.maanavan.com&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.annaunivonline.com/"&gt;www.annaunivonline.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-2885455234714495678?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/2885455234714495678/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=2885455234714495678' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2885455234714495678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/2885455234714495678'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/11/anna-university-questions.html' title='Anna University Questions'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-8233583518059270546</id><published>2008-09-25T05:35:00.000-07:00</published><updated>2008-09-25T05:42:19.712-07:00</updated><title type='text'>E Book Download Links</title><content type='html'>Windows XP E BOOK Download:&lt;br /&gt;&lt;a href="http://rapidshare.com/files/146325492/Portable_Windows_XP_Live_USB_Edition.rar"&gt;http://rapidshare.com/files/146325492/Portable_Windows_XP_Live_USB_Edition.rar&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For Windows XP Begineers&lt;br /&gt;&lt;a href="http://rapidshare.com/files/146121568/WinXP_SP3_Student_Edition.part2.rar%20http://rapidshare.com/files/146129243/WinXP_SP3_Student_Edition.part3.rar%20http://rapidshare.com/files/146135064/WinXP_SP3_Student_Edition.part4.rar%20http://rapidshare.com/files/146140928/WinXP_SP3_Student_Edition.part5.rar%20http://rapidshare.com/files/146146411/WinXP_SP3_Student_Edition.part6.rar%20http://rapidshare.com/files/146151098/WinXP_SP3_Student_Edition.part7.rar%20http://rapidshare.com/files/146156314/WinXP_SP3_Student_Edition.part1.rar"&gt;http://rapidshare.com/files/146121568/WinXP_SP3_Student_Edition.part2.rar&lt;br /&gt;http://rapidshare.com/files/146129243/WinXP_SP3_Student_Edition.part3.rar&lt;br /&gt;http://rapidshare.com/files/146135064/WinXP_SP3_Student_Edition.part4.rar&lt;br /&gt;http://rapidshare.com/files/146140928/WinXP_SP3_Student_Edition.part5.rar&lt;br /&gt;http://rapidshare.com/files/146146411/WinXP_SP3_Student_Edition.part6.rar&lt;br /&gt;http://rapidshare.com/files/146151098/WinXP_SP3_Student_Edition.part7.rar&lt;br /&gt;http://rapidshare.com/files/146156314/WinXP_SP3_Student_Edition.part1.rar&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://rapidshare.com/files/145984878/OXFORD_LEARNERS_THESAURUS_A_Dictionary_of_Synonyms.part1.rar%20http://rapidshare.com/files/145991584/OXFORD_LEARNERS_THESAURUS_A_Dictionary_of_Synonyms.part2.rar%20http://rapidshare.com/files/145998404/OXFORD_LEARNERS_THESAURUS_A_Dictionary_of_Synonyms.part3.rar%20http://rapidshare.com/files/146005290/OXFORD_LEARNERS_THESAURUS_A_Dictionary_of_Synonyms.part4.rar%20http://rapidshare.com/files/146012812/OXFORD_LEARNERS_THESAURUS_A_Dictionary_of_Synonyms.part5.rar"&gt;OXFord Dictionary Part Download Links:&lt;br /&gt;http://rapidshare.com/files/145984878/OXFORD_LEARNERS_THESAURUS_A_Dictionary_of_Synonyms.part1.rar&lt;br /&gt;http://rapidshare.com/files/145991584/OXFORD_LEARNERS_THESAURUS_A_Dictionary_of_Synonyms.part2.rar&lt;br /&gt;http://rapidshare.com/files/145998404/OXFORD_LEARNERS_THESAURUS_A_Dictionary_of_Synonyms.part3.rar&lt;br /&gt;http://rapidshare.com/files/146005290/OXFORD_LEARNERS_THESAURUS_A_Dictionary_of_Synonyms.part4.rar&lt;br /&gt;http://rapidshare.com/files/146012812/OXFORD_LEARNERS_THESAURUS_A_Dictionary_of_Synonyms.part5.rar&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Flash for Mobile EBook Download&lt;br /&gt;&lt;a href="http://rapidshare.com/files/145633688/FoundationFlashApplicationsForMobileDevices.pdf_download"&gt;http://rapidshare.com/files/145633688/FoundationFlashApplicationsForMobileDevices.pdf_download&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-8233583518059270546?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/8233583518059270546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=8233583518059270546' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/8233583518059270546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/8233583518059270546'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/09/e-book-download-links.html' title='E Book Download Links'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-3082408533924551765</id><published>2008-08-30T05:24:00.001-07:00</published><updated>2008-08-30T05:24:57.406-07:00</updated><title type='text'>For Torrent Ebook Downloads</title><content type='html'>Use:&lt;br /&gt;www.mininova.org&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-3082408533924551765?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/3082408533924551765/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=3082408533924551765' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/3082408533924551765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/3082408533924551765'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/08/for-torrent-ebook-downloads.html' title='For Torrent Ebook Downloads'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1836561640335978918.post-5410857590282334345</id><published>2008-08-30T05:21:00.000-07:00</published><updated>2008-08-30T05:23:30.023-07:00</updated><title type='text'>Java Technologies</title><content type='html'>for all Java and J2EE Related Ebooks&lt;br /&gt;refer&lt;br /&gt;&lt;br /&gt;www.4shared.com&lt;br /&gt;knowfree.net&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1836561640335978918-5410857590282334345?l=krisjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://krisjava.blogspot.com/feeds/5410857590282334345/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1836561640335978918&amp;postID=5410857590282334345' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/5410857590282334345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1836561640335978918/posts/default/5410857590282334345'/><link rel='alternate' type='text/html' href='http://krisjava.blogspot.com/2008/08/java-technologies.html' title='Java Technologies'/><author><name>Srikrishnan</name><uri>http://www.blogger.com/profile/17762396318582431626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
