<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Anubhav's Weblog</title>
	<atom:link href="http://anubhavz.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://anubhavz.wordpress.com</link>
	<description></description>
	<lastBuildDate>Fri, 18 Apr 2008 11:17:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='anubhavz.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Anubhav's Weblog</title>
		<link>http://anubhavz.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://anubhavz.wordpress.com/osd.xml" title="Anubhav&#039;s Weblog" />
	<atom:link rel='hub' href='http://anubhavz.wordpress.com/?pushpress=hub'/>
		<item>
		<title></title>
		<link>http://anubhavz.wordpress.com/2008/04/18/7/</link>
		<comments>http://anubhavz.wordpress.com/2008/04/18/7/#comments</comments>
		<pubDate>Fri, 18 Apr 2008 10:59:00 +0000</pubDate>
		<dc:creator>anubhavz</dc:creator>
				<category><![CDATA[JAVA RMI Registry internal working]]></category>

		<guid isPermaLink="false">http://anubhavz.wordpress.com/2008/04/18/7/</guid>
		<description><![CDATA[Here are some bullet points to understand the working of RMI registry in Java:- RMIRegistry is run on the server machine. RMIRegistry is a remote object itself binding to a well known port 1099. When the server is run, in the UnicastRemoteObject&#8217;s constructor it exports itself on an anonymous port on the server machine.( This [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anubhavz.wordpress.com&amp;blog=3515775&amp;post=7&amp;subd=anubhavz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-weight:bold;">Here are some bullet points to understand the working of RMI registry in Java:-</p>
<p></span><span style="color:rgb(153, 51, 153);font-size:85%;">            RMIRegistry is run on the server machine.</p>
<p></span><span style="color:rgb(153, 51, 153);font-size:85%;">            RMIRegistry is a remote object itself binding to a well known port 1099.</p>
<p></span><span style="color:rgb(153, 51, 153);font-size:85%;">            When the server is run, in the UnicastRemoteObject&#8217;s constructor it exports itself on an anonymous port on the server machine.( This port is unknown to the client).</p>
<p></span><span style="color:rgb(153, 51, 153);font-size:85%;">            When Naming.rebind() is called, a reference to the Implementation class is passed as the second parameter.</span><span style="color:rgb(153, 51, 153);font-size:85%;">                                   <br />                Naming.rebind(&#8220;rmi://localhost:1099/refName&#8221;,inst);</p>
<p></span><span style="color:rgb(153, 51, 153);font-size:85%;">            The naming class uses the getClass() method to get the name of the server class and adds _Stub to it to get the name of the stub class.</p>
<p></span><span style="color:rgb(153, 51, 153);font-size:85%;">            It then loads the stub class into the JVM.</p>
<p></span><span style="color:rgb(153, 51, 153);font-size:85%;">            A RemoteRef object is obtained from the server implementation class instance (inst) passes to it.</span><span style="color:rgb(153, 51, 153);font-size:85%;">                            RemoteRef ref = inst.getRef();<br />           This RemoteRef object encapsulated all the details about the server (hostname, port etc)</p>
<p></span><span style="color:rgb(153, 51, 153);font-size:85%;">            A stub instance is created by passing the RemoteRef object to it.</span><span style="color:rgb(153, 51, 153);font-size:85%;"><br />                    ServerImpl_Stub stub = new ServerImpl_Stub(ref);<br /></span><span style="color:rgb(153, 51, 153);font-size:85%;"><br />            This instance is passed to the RMIRegistry for binding along with the public name (refName).</span><span style="color:rgb(153, 51, 153);font-size:85%;"></p>
<p>            When the client executes Naming.lookup() it passes the public name to the RMIRegistry. The registry then returns the stub object stored against that name to the client.</span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/anubhavz.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/anubhavz.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anubhavz.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anubhavz.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anubhavz.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anubhavz.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anubhavz.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anubhavz.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anubhavz.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anubhavz.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anubhavz.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anubhavz.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anubhavz.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anubhavz.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anubhavz.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anubhavz.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anubhavz.wordpress.com&amp;blog=3515775&amp;post=7&amp;subd=anubhavz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anubhavz.wordpress.com/2008/04/18/7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/117a1ea73e378ab58974cde11e6d0a7a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">anubhavz</media:title>
		</media:content>
	</item>
		<item>
		<title>Installation on Windows</title>
		<link>http://anubhavz.wordpress.com/2008/03/27/installation-on-windows/</link>
		<comments>http://anubhavz.wordpress.com/2008/03/27/installation-on-windows/#comments</comments>
		<pubDate>Thu, 27 Mar 2008 06:32:00 +0000</pubDate>
		<dc:creator>anubhavz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://anubhavz.wordpress.com/2008/03/27/installation-on-windows/</guid>
		<description><![CDATA[Here I will detail the steps required to get your PHP + Apache2 + MYSQL setup up and running. Steps:1. Download Apache2 from the location: http://httpd.apache.org/download.cgi2. Install Apache2 server to the desired location (say: C:\Apache2\).3. Test that the server is installed properly by starting Apache and opening the url http://localhost/ in a browser. If you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anubhavz.wordpress.com&amp;blog=3515775&amp;post=8&amp;subd=anubhavz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="color:rgb(102, 0, 204);font-size:85%;">Here I will detail the steps required to get your PHP + Apache2 + MYSQL setup up and running.</p>
<p>Steps:<br />1.    Download Apache2 from the location: http://httpd.apache.org/download.cgi<br />2.    Install Apache2 server to the desired location (say: C:\Apache2\).<br />3.     Test that the server is installed properly by starting Apache and opening the url http://localhost/ in a browser. If you get an apache welcome screen, you have successfully installed Apache2 server else check your installation.<br />4.    Download PHP interpreter from http://www.php.net/downloads.php You can either download the auto-installer or the binary zip pack. I prefer zip pack it exposes you to the internal configurations required.<br />5.     Extract the files from the PHP binary zip to the directory which you want to make PHP home (say: C:\PHP\).<br />6.    Add the PHP home directory (&#8216;C:\PHP\&#8217;) to the PATH environment variable. (Right click &#8216;My Computer&#8217; -&gt; select properties -&gt; Go to Advanced tab -&gt; Select the &#8216;Environment Variables&#8217; button -&gt; Edit the &#8216;path&#8217; variable&#8217;).<br />7.    Restart your system for the PATH variable changes to come in effect.<br />8.    Test your PHP setup by typing &#8216;php -v&#8217; in a command prompt. If you get any error message please check you installation, else you are ready to proceed further.<br />9.    Now move to your PHP home directory (&#8216;C:\PHP\&#8217;) and rename the file php.ini-recommended to php.ini.<br />10. If you are going to use this setup for testing purpose perform this step else skip to the next step. Open the &#8216;php.ini&#8217; file in text editor and set &#8216;display_errors = On&#8217; this will enable easy debugging.<br />11.    Open the &#8216;php.ini&#8217; file and set &#8216;doc_root&#8217; to your \htdocs directory. (doc_root = C:\Apache2\htdocs).<br />12.    Set the &#8216;extension_dir&#8217; property to the \ext directory. (extension_dir = C:\PHP\ext\).<br />13. Save the changes done to &#8216;php.ini&#8217; file in Steps 10-12.<br />14.    Open the &#8216;httpd.conf&#8217; file present in your \conf directory (&#8216;C:\Apache2\conf\httpd.conf&#8217;) in a text editor and perform the following changes.<br />15.    Add line &#8216;LoadModule php5_module /php5apache2.dll&#8217; (&#8216;LoadModule php5_module C:/PHP/php5apache2.dll&#8217;) to the LoadModule section in the &#8216;httpd.conf&#8217; file. *Note those are foward slashes, not backslashes, in the path.<br />16.    Add line &#8216;AddType application/x-httpd-php .php&#8217; (as it is) to the &#8216;AddType&#8217; section in the httpd.conf file.<br />17.    Add line &#8216;PHPIniDir &#8216; (PHPIniDir C:/PHP/) to any location in your httpd.conf file. *Again note those are foward slashes, not backslashes, in the path.<br />18. Save your &#8216;httpd.conf&#8217; file with the changes done in Step 16-18.<br />19.    Restart your Apache2 server.<br />20.    Create an html page (say: phpinfo.php) containing line &#8221; as part of the body, in your \htdocs directory (C:\Apache2\htdocs). Now open the browser and point it to this page (&#8216;http://localhost/phpinfo.php&#8217;).<br />21.    If you get page containing details of your PHP installion then your setup is correct and running fine, else please check your setup by repeating the above steps.<br />22.    Now we will setup the PHP for MYSQL database.<br />23. Download the MYSQL server and install it to your prefered location.<br />24. Now check the page that you created in step-20 to see if it contains details of MYSQL. If it dows then your PHP is already configured for MYSQL no need to read further you can start coding/testing in PHP now.<br />25. If you are not getting MYSQL details, you need to do some more configurations.<br />26.    Open the file &#8216;php.ini&#8217; present in your PHP home directory (&#8216;C:\PHP\&#8217;) in a text editor and uncomment the line &#8216;extension=php_mysql.dll&#8217; save the file and restart your Apache2 server.<br />27.    Now recheck the page created in step-20. This time you should see a section on MYSQL. If so your setup is successfully done and ready for use else check your installation again.</p>
<p></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/anubhavz.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/anubhavz.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anubhavz.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anubhavz.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anubhavz.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anubhavz.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anubhavz.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anubhavz.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anubhavz.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anubhavz.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anubhavz.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anubhavz.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anubhavz.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anubhavz.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anubhavz.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anubhavz.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anubhavz.wordpress.com&amp;blog=3515775&amp;post=8&amp;subd=anubhavz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anubhavz.wordpress.com/2008/03/27/installation-on-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/117a1ea73e378ab58974cde11e6d0a7a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">anubhavz</media:title>
		</media:content>
	</item>
		<item>
		<title>TurboGear setup</title>
		<link>http://anubhavz.wordpress.com/2008/02/06/turbogear-setup/</link>
		<comments>http://anubhavz.wordpress.com/2008/02/06/turbogear-setup/#comments</comments>
		<pubDate>Wed, 06 Feb 2008 06:13:00 +0000</pubDate>
		<dc:creator>anubhavz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://anubhavz.wordpress.com/2008/02/06/turbogear-setup/</guid>
		<description><![CDATA[Python come pre-installed with most of the linux version. To install the TurboGear pack just type yum install TurboGears This will install the TurboGears package on your system. Use the following command to check if the installation was success. tg-admin info Now we will install easy_install utility that will make the installation of other TurboGear [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anubhavz.wordpress.com&amp;blog=3515775&amp;post=9&amp;subd=anubhavz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:85%;">Python come pre-installed with most of the linux version. To install the TurboGear pack just type<br /></span>
<ul>
<li><span style="font-size:85%;">yum install TurboGears</span></li>
</ul>
<p><span style="font-size:85%;"><br />This will install the TurboGears package on your system. Use the following command to check if the installation was success.<br /></span>
<ul>
<li><span style="font-size:85%;">tg-admin info</span></li>
</ul>
<p><span style="font-size:85%;"><br />Now we will install easy_install utility that will make the installation of other TurboGear modules a breeze.<br />To install easy_install utility download the <a href="http://peak.telecommunity.com/dist/ez_setup.py">ez_setup.py</a> script and run it.<br /></span>
<ul>
<li><span style="font-size:85%;">python ez_setup.py</span></li>
</ul>
<p><span style="font-size:85%;"><br />This will install the easy_install utility on your system.</p>
<p>Some of the turbo gear modules that are necessary are SQLObject and database specific modules ( as mysql-python ).You can install these by simply invoking the easy_install utility with the module name as parameter.<br /></span>
<ul>
<li><span style="font-size:85%;">easy_install SQLObject</span></li>
<li><span style="font-size:85%;">easy_install mysql-python</span></li>
</ul>
<p><span style="font-size:85%;"><br />Your TurboGear setup is ready for use.<br />Have a look at the following tutorial for getting started with TurboGears.<br /></span>
<ul>
<li><span style="font-size:85%;"><a href="http://aymanh.com/turbogears-tutorial-social-bookmarking-application">TurboGears Tutorial: Social Bookmarking Application | Ayman Hourieh&#8217;s Blog</a></span></li>
</ul>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/anubhavz.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/anubhavz.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anubhavz.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anubhavz.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anubhavz.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anubhavz.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anubhavz.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anubhavz.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anubhavz.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anubhavz.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anubhavz.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anubhavz.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anubhavz.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anubhavz.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anubhavz.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anubhavz.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anubhavz.wordpress.com&amp;blog=3515775&amp;post=9&amp;subd=anubhavz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anubhavz.wordpress.com/2008/02/06/turbogear-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/117a1ea73e378ab58974cde11e6d0a7a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">anubhavz</media:title>
		</media:content>
	</item>
		<item>
		<title>Secure login without HTTPS</title>
		<link>http://anubhavz.wordpress.com/2008/01/28/secure-login-without-https/</link>
		<comments>http://anubhavz.wordpress.com/2008/01/28/secure-login-without-https/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 09:05:00 +0000</pubDate>
		<dc:creator>anubhavz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://anubhavz.wordpress.com/2008/01/28/secure-login-without-https/</guid>
		<description><![CDATA[HTTPS is used on www to provide secured encrypted message communication between the browser and the web server. Though we can not match HTTPS in terms of the security provided, but still we can provide some level of security to the users by encrypting the data sent over HTTP. We can easily encrypt the sensitive [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anubhavz.wordpress.com&amp;blog=3515775&amp;post=11&amp;subd=anubhavz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="color:rgb(102, 0, 204);"><span style="font-size:10pt;font-family:Arial;">HTTPS is used on www to provide secured encrypted message communication between the browser and the web server. Though we can not match HTTPS in terms of the security provided, but still we can provide some level of security to the users by encrypting the data sent over HTTP. We can easily encrypt the sensitive user data such as username and password, by using asynchronous/public-key encryption mechanism.</span></p>
<p class="MsoNormal" style="color:rgb(102, 0, 204);"><span style="font-size:10pt;font-family:Arial;"> </span></p>
<p class="MsoNormal" style="color:rgb(102, 0, 204);"><span style="font-size:10pt;font-family:Arial;">This can be achieved by using javascript or java-applets to encrypt the login data submitted by the users. This simple encryption ensures that an eavesdropper is not able to comprehend the information sent over the network. To prevent the replay attack we should add some unique server generated information to the user data before encryption.</span></p>
<p class="MsoNormal" style="color:rgb(102, 0, 204);"><span style="font-size:10pt;font-family:Arial;"> </span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial;"><span style="color:rgb(102, 0, 204);">The simplest example will be to use the GnuPG to generate public-private key pairs. On the client side ( i.e. for the browser pages ) we can use javascripts to encrypt the data and on the server side we can directly call the gpg utililty to obtain the original message from the encrypted data.</span></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/anubhavz.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/anubhavz.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anubhavz.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anubhavz.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anubhavz.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anubhavz.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anubhavz.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anubhavz.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anubhavz.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anubhavz.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anubhavz.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anubhavz.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anubhavz.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anubhavz.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anubhavz.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anubhavz.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anubhavz.wordpress.com&amp;blog=3515775&amp;post=11&amp;subd=anubhavz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anubhavz.wordpress.com/2008/01/28/secure-login-without-https/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/117a1ea73e378ab58974cde11e6d0a7a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">anubhavz</media:title>
		</media:content>
	</item>
		<item>
		<title>Short simple questions &#8212; Set 8</title>
		<link>http://anubhavz.wordpress.com/2007/12/14/short-simple-questions-set-8-2/</link>
		<comments>http://anubhavz.wordpress.com/2007/12/14/short-simple-questions-set-8-2/#comments</comments>
		<pubDate>Fri, 14 Dec 2007 18:17:00 +0000</pubDate>
		<dc:creator>anubhavz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://anubhavz.wordpress.com/2007/12/14/short-simple-questions-set-8-2/</guid>
		<description><![CDATA[1 Why do u use Session Tracking in HttpServlet ? 2 Can u use javaScript in Servlets ? 3 What is the capacity the doGet can send to the server ? 4 What are the type of protocols used in HttpServlet ? 5 Difference between TCP/IP and IP protocol ? 6 Why do you use [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anubhavz.wordpress.com&amp;blog=3515775&amp;post=21&amp;subd=anubhavz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:85%;color:#6600cc;">1 Why do u use Session Tracking in HttpServlet ? </span><br /><span style="font-size:85%;color:#6600cc;"><br />2 Can u use javaScript in Servlets ?</p>
<p>3 What is the capacity the doGet can send to the server ?</p>
<p>4 What are the type of protocols used in HttpServlet ?</p>
<p>5 Difference between TCP/IP and IP protocol ?</p>
<p>6 Why do you use UniCastRemoteObject in RMI ?<br />     In order to get functionalities related to being remote .</p>
<p>7 How many interfaces are used in RMI?</p>
<p>8 Can Rmi registry be written in the code, without having to write it in the command prompt and if yes where?<br />9 Why is Socket used ?</p>
<p>10 What are the types of JDBC drivers ?</p>
<p>11 Explain the third driver(Native protocol driver) ?</p>
<p>12 Which among the four driver is pure Java driver ?</p>
<p>13 What are the Isolation level in JDBC transaction ?</p>
<p>14 How do you connect with the database ?</p>
<p>15 How do you connect without the Class.forName (&#8221; &#8220;) ?</p>
<p>16 What does Class.forName return ?</p>
<p>17 What are the types of statement ?</p>
<p>18 Why is preparedStatement,CallableStatement used for?</p>
<p>19 Difference between AWT and Swing compenents ?</p>
<p>20 Can the Swing application if you upload in net, be compatible with your<br />browser?</p>
<p>21 What should you do get your browser compatible with swing components?</p>
<p>22 What are the methods in Applet ?</p>
<p>23 When is init(),start() called ?</p>
<p>24 When you navigate from one applet to another what are the methods called ?</p>
<p>25 What is the difference between Trusted and Untrusted Applet ?</p>
<p>26 What is Exception ?</p>
<p>27 What are the ways you can handle exception ?</p>
<p>28 When is try,catch block used ?</p>
<p>29 What is finally method in Exceptions ?</p>
<p>30 What are the types of access modifiers ?</p>
<p>31 What is protected and friendly ?</p>
<p>32 What are the other modifiers ?</p>
<p>33 Is synchronised modifier ?</p>
<p>34 What is meant by polymorphism ?<br />35 What is inheritance ?</p>
<p>36 What is method Overloading ? What is this in OOPS ?</p>
<p>37 What is method Overriding ? What is it in OOPS ?</p>
<p>38 Does java support multi dimensional arrays ?</p>
<p>39 Is multiple inheritance used in Java ?</p>
<p>40 How do you send a message to the browser in JavaScript ?</p>
<p>41 Does javascript support multidimensional arrays ?</p>
<p>42 Why is XML used mainly?</p>
<p>43 What is DTD ?</p>
<p>44 Is there any tool in java that can create reports ?</p>
<p>45 Describe an object.</p>
<p>46 What are sockets?</p>
<p>47 What are threads?</p>
<p>48 What&#8217;s the difference between UDP and TCP?</p>
<p>49 What is the difference between a static and non-static field (Java)</p>
<p>50 What&#8217;s the difference between a stack and a Queue?</p>
<p></span><br /></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/anubhavz.wordpress.com/21/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/anubhavz.wordpress.com/21/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anubhavz.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anubhavz.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anubhavz.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anubhavz.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anubhavz.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anubhavz.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anubhavz.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anubhavz.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anubhavz.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anubhavz.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anubhavz.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anubhavz.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anubhavz.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anubhavz.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anubhavz.wordpress.com&amp;blog=3515775&amp;post=21&amp;subd=anubhavz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anubhavz.wordpress.com/2007/12/14/short-simple-questions-set-8-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/117a1ea73e378ab58974cde11e6d0a7a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">anubhavz</media:title>
		</media:content>
	</item>
		<item>
		<title>Short simple questions &#8212; Set 8</title>
		<link>http://anubhavz.wordpress.com/2007/12/14/short-simple-questions-set-8/</link>
		<comments>http://anubhavz.wordpress.com/2007/12/14/short-simple-questions-set-8/#comments</comments>
		<pubDate>Fri, 14 Dec 2007 18:13:00 +0000</pubDate>
		<dc:creator>anubhavz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://anubhavz.wordpress.com/2007/12/14/short-simple-questions-set-8/</guid>
		<description><![CDATA[1 What is meant by RMI ?2 Explain RMI Architecture ? 3 What is meant by a stub ? 4 What is meant by a skelotn ? 5 What is meant by serialisation and deserialisation ? 6 What is meant by RRL ? Resilient Routing Layers implementation. 7 What is the use of TL ? [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anubhavz.wordpress.com&amp;blog=3515775&amp;post=20&amp;subd=anubhavz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:85%;color:#6600cc;">1 What is meant by RMI ?</span><br /><span style="font-size:85%;color:#6600cc;"><br />2 Explain RMI Architecture ?</p>
<p>3 What is meant by a stub ?</p>
<p>4 What is meant by a skelotn ?</p>
<p>5 What is meant by serialisation and deserialisation ?</p>
<p>6 What is meant by RRL ?<br />        Resilient Routing Layers implementation.</p>
<p>7 What is the use of TL ?</p>
<p>8 What is RMI Registry ?</p>
<p>9 What is rmic ?</p>
<p>10 How will you pass parameter in RMI ?</p>
<p>11 What exceptions are thrown by RMI ?</p>
<p>12 What are the steps involved in RMI ?</p>
<p>13 What is meant by bind(), rebind(), unbind() and lookup() methods</p>
<p>14 What are the advanatages of RMI ?</p>
<p>15 What is JNI ?</p>
<p>16 What is Remote Interface ?</p>
<p>17 What class is used to create Server side object ?</p>
<p>18 What class is used to bind the server object with RMI Registry ?<br />        Naming.rebind( ,  );</p>
<p>19 What is the use of getWriter method ?</p>
<p>20 What is meant by Javabeans ?</p>
<p>21 What is JAR file ?<br />        An archieve of java classes.<br />22 What is meant by manifest files ?</p>
<p>23 What is Introspection ??????????</p>
<p>24 What are the steps involved to create a bean ?</p>
<p>25 Say any two properties in Beans ?</p>
<p>26 What is persistence ?</p>
<p>27 What is the use of beaninfo ?</p>
<p>28 What are the interfaces you used in Beans ?</p>
<p>29 What are the classes you used in Beans ?</p>
<p>30 What is Entity Bean and Session Bean ?</p>
<p>31 What are the methods of Entity Bean?</p>
<p>32 How does Stateful Session bean store its state ?</p>
<p>33 Why does Stateless Session bean not store its state even though it has<br />34 ejbActivate and ejbPassivate ?</p>
<p>35 What are the services provided by the container ?</p>
<p>36 Types of transaction ?</p>
<p>37 What is bean managed transaction ?</p>
<p>38 Why does EJB needs two interface( Home and Remote Interface) ?</p>
<p>39 What are transaction attributes ?</p>
<p>40 What is the difference between Container managed persistent bean and Bean</p>
<p>41 managed persistent entity bean ?</p>
<p>42 What is J2EE ?</p>
<p>43 What is JTS ?</p>
<p>44 How many entity beans used and how many tables can u use in EJB project ?</p>
<p>45 What is scalable,portability in J2EE?</p>
<p>46 What is Connection pooling?Is it advantageous?</p>
<p>47 Method and class used for Connection pooling ?</p>
<p>48 How to deploy in J2EE(i.e Jar,War file) ?</p>
<p>49 How is entity bean created using Container managed entity bean ?</p>
<p>50 Sotware architechture of EJB ?</p>
<p>51 In Entity bean will the create method in EJB home and ejbCreate in Entity bean have the same parameters ?</p>
<p>52 What methods do u use in Servlet – Applet communication ?</p>
<p>53 What are the types of Servlet ?</p>
<p>54 Difference between HttpServlet and Generic Servlets ?</p>
<p>55 Difference between doGet and doPost ?</p>
<p>56 What are the methods in HttpServlet?</p>
<p>57 What are the types of SessionTracking?</p>
<p>58 What is Cookie ? Why is Cookie used ?</p>
<p>60 If my browser does not support Cookie,and my server sends a cookie instance What will happen ?</span><br /></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/anubhavz.wordpress.com/20/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/anubhavz.wordpress.com/20/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anubhavz.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anubhavz.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anubhavz.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anubhavz.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anubhavz.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anubhavz.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anubhavz.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anubhavz.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anubhavz.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anubhavz.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anubhavz.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anubhavz.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anubhavz.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anubhavz.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anubhavz.wordpress.com&amp;blog=3515775&amp;post=20&amp;subd=anubhavz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anubhavz.wordpress.com/2007/12/14/short-simple-questions-set-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/117a1ea73e378ab58974cde11e6d0a7a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">anubhavz</media:title>
		</media:content>
	</item>
		<item>
		<title>Short simple questions &#8212; Set 7</title>
		<link>http://anubhavz.wordpress.com/2007/12/14/short-simple-questions-set-7/</link>
		<comments>http://anubhavz.wordpress.com/2007/12/14/short-simple-questions-set-7/#comments</comments>
		<pubDate>Fri, 14 Dec 2007 18:08:00 +0000</pubDate>
		<dc:creator>anubhavz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://anubhavz.wordpress.com/2007/12/14/short-simple-questions-set-7/</guid>
		<description><![CDATA[1 What is the class in Swing to change the appearance of the Frame in2 What is JDBC ? 3 How do you connect to the database ? What are the steps ? 4 What are the drivers available in JDBC ? Explain 5 How can you load the driver ? 6 What are the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anubhavz.wordpress.com&amp;blog=3515775&amp;post=19&amp;subd=anubhavz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:85%;color:#6600cc;">1 What is the class in Swing to change the appearance of the Frame in</span><br /><span style="font-size:85%;color:#6600cc;"><br />2 What is JDBC ?</p>
<p>3 How do you connect to the database ? What are the steps ?</p>
<p>4 What are the drivers available in JDBC ? Explain</p>
<p>5 How can you load the driver ?</p>
<p>6 What are the different types of statement s ?</p>
<p>7 How can you created JDBC statements ?</p>
<p>8 How will you perform transactions using JDBC ?</p>
<p>9 What are the two drivers for web apllication?</p>
<p>10 What are the different types of 2 tier and 3 tier architecture ?</p>
<p>11 How can you retrieve warning in JDBC ?</p>
<p>12 What is the exception thrown by JDBC ?</p>
<p>13 What is meant by PreparedStatement ?</p>
<p>14 What is difference between PreparedStatement and Statement ?</p>
<p>15 How can you call the stored procedures ?</p>
<p>16 What is meant by a ResultSet ?</p>
<p>17 What is the difference between ExecuteUpdate and ExecuteQuery ?</p>
<p>18 How do you know which driver is connected to a database ?</p>
<p>19 What is meant by TCP, IP, UDP ?</p>
<p>20 What is the difference between TCP and UDP ?</p>
<p>21 What is a proxy server ?</p>
<p>22 What is meant by URL</p>
<p>23 What is a socket and server sockets ?</p>
<p>24 When MalformedURLException and UnknownHost Exception throws ?</p>
<p>25 What is InetAddress ?</p>
<p>26 What is datagram and datagram packets and datagram sockets ?</p>
<p>27 Write the range of multicast socket IP address ?</p>
<p>28 What is meant by a servlet ?</p>
<p>29 What are the types of servlets ? Explain</p>
<p>30 What is the different between a Servlet and a CGI.</p>
<p>31 What is the difference between 2 types of Servlets ?</p>
<p>32 What is the type of method for sending request from HTTP server ?</p>
<p>33 What are the exceptions thrown by Servlets ? Why ?</p>
<p>34 What is the life cycle of a servlet ?</p>
<p>35 What is meant by cookies ?</p>
<p>36 What is HTTP Session ?</p>
<p>37 What is the difference between GET and POST methods ?</p>
<p>38 How can you run a Servlet Program ?</p>
<p>39 How to communicate between an applet and a servlet ?</p>
<p>40 What is a Servlet-to-Servlet communcation ?</p>
<p>41 What is Session Tracking ?</p>
<p>42 What are the security issues in Servlets ?</p>
<p>43 What is HTTP Tunneling</p>
<p>44 How do you load an image in a Servlet ?</p>
<p>45 What is Servlet Chaining ?</p>
<p>46 What is URL Rewriting ?</p>
<p>47 What is context switching ?<br /> </span><br /></span><span style="font-size:85%;"></span><br /><span style="font-size:85%;"></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/anubhavz.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/anubhavz.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anubhavz.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anubhavz.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anubhavz.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anubhavz.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anubhavz.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anubhavz.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anubhavz.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anubhavz.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anubhavz.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anubhavz.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anubhavz.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anubhavz.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anubhavz.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anubhavz.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anubhavz.wordpress.com&amp;blog=3515775&amp;post=19&amp;subd=anubhavz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anubhavz.wordpress.com/2007/12/14/short-simple-questions-set-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/117a1ea73e378ab58974cde11e6d0a7a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">anubhavz</media:title>
		</media:content>
	</item>
		<item>
		<title>Short simple questions &#8212; Set 6</title>
		<link>http://anubhavz.wordpress.com/2007/12/14/short-simple-questions-set-6/</link>
		<comments>http://anubhavz.wordpress.com/2007/12/14/short-simple-questions-set-6/#comments</comments>
		<pubDate>Fri, 14 Dec 2007 18:06:00 +0000</pubDate>
		<dc:creator>anubhavz</dc:creator>
				<category><![CDATA[Set-6]]></category>

		<guid isPermaLink="false">http://anubhavz.wordpress.com/2007/12/14/short-simple-questions-set-6/</guid>
		<description><![CDATA[1 What is the life cycle of an Applet ?2 How do you load an HTML page from an Applet ? 3 What is meant by Applet Stub Interface ? 4 What is meant by getCodeBase and getDocumentBase method ? 5 How can you call an applet from a HTML file 6 What is meant [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anubhavz.wordpress.com&amp;blog=3515775&amp;post=18&amp;subd=anubhavz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:85%;color:#6600cc;">1 What is the life cycle of an Applet ?</span><br /><span style="font-size:85%;color:#6600cc;"><br />2 How do you load an HTML page from an Applet ?</p>
<p>3 What is meant by Applet Stub Interface ?</p>
<p>4 What is meant by getCodeBase and getDocumentBase method ?</p>
<p>5 How can you call an applet from a HTML file</p>
<p>6 What is meant by Applet Flickering ?</p>
<p>7 What is the use of parameter tag ?</p>
<p>8 What is audio clip Interface and what are all the methods in it ?</p>
<p>9 What is the difference between getAppletInfo and getParameterInfo ?</p>
<p>10 How to communicate between applet and an applet ?</p>
<p>11 What is meant by event handling ?</p>
<p>12 What are all the listeners in java and explain ?</p>
<p>13 What is meant by an adapter class ?</p>
<p>14 What are the types of mouse event listeners ?</p>
<p>15 What are the types of methods in mouse listeners ?</p>
<p>16 What is the difference between panel and frame ?</p>
<p>17 What is the default layout of the panel and frame ?</p>
<p>18 What is meant by controls and types ?</p>
<p>19 What is the difference between a scroll bar and a scroll panel.</p>
<p>20 What is the difference between list and choice ?</p>
<p>21 How to place a component on Windows ?</p>
<p>22 What are the different types of Layouts ?</p>
<p>23 What is meant by CardLayout ?</p>
<p>24 What is the difference between GridLayout and GridBagLayout</p>
<p>25 What is the difference between menuitem and checkboxmenu item.</p>
<p>26 What is meant by vector class, dictionary class , hash table class,and property class ?</p>
<p>27 Which class has no duplicate elements ?</p>
<p>28 What is resource bundle ?</p>
<p>29 What is an enumeration class ?</p>
<p>30 What is meant by Swing ?</p>
<p>31 What is the difference between AWT and Swing ?</p>
<p>32 What is the difference between an applet and a Japplet</p>
<p>33 What are all the components used in Swing ?</p>
<p>34 What is meant by tab pans ?</p>
<p>35 What is the use of JTree ?</p>
<p>36 How can you add and remove nodes in Jtree.</p>
<p>37 What is the method to expand and collapse nodes in a Jtree ?</p>
<p>38 What is the use of JTable ?</p>
<p>39 What is meant by JFC ?</span><br /></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/anubhavz.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/anubhavz.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anubhavz.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anubhavz.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anubhavz.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anubhavz.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anubhavz.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anubhavz.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anubhavz.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anubhavz.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anubhavz.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anubhavz.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anubhavz.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anubhavz.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anubhavz.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anubhavz.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anubhavz.wordpress.com&amp;blog=3515775&amp;post=18&amp;subd=anubhavz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anubhavz.wordpress.com/2007/12/14/short-simple-questions-set-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/117a1ea73e378ab58974cde11e6d0a7a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">anubhavz</media:title>
		</media:content>
	</item>
		<item>
		<title>Short simple questions &#8212; Set 5</title>
		<link>http://anubhavz.wordpress.com/2007/12/14/short-simple-questions-set-5/</link>
		<comments>http://anubhavz.wordpress.com/2007/12/14/short-simple-questions-set-5/#comments</comments>
		<pubDate>Fri, 14 Dec 2007 18:00:00 +0000</pubDate>
		<dc:creator>anubhavz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://anubhavz.wordpress.com/2007/12/14/short-simple-questions-set-5/</guid>
		<description><![CDATA[1. Name 2 classes that can store arbitrary number of objects ?2. What is the difference between java.applet.* and java.applet.Applet ? 3. What is a default package ? 4. What is meant by a super class and how can you call a super class ? 5. What is anonymous class ? 6. Name interfaces without [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anubhavz.wordpress.com&amp;blog=3515775&amp;post=17&amp;subd=anubhavz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:85%;color:#6600cc;">1. Name 2 classes that can store arbitrary number of objects ?</span><br /><span style="font-size:85%;color:#6600cc;"><br />2. What is the difference between java.applet.* and java.applet.Applet ?</p>
<p>3. What is a default package ?</p>
<p>4. What is meant by a super class and how can you call a super class ?</p>
<p>5. What is anonymous class ?</p>
<p>6. Name interfaces without a method ?</p>
<p>7. What is the use of an interface ?</p>
<p>8. What is a serializable interface ?<br />        Serializability of a class is enabled by the class implementing the java.io.Serializable interface. Classes that do not implement this interface will not have any of their state serialized or deserialized. All subtypes of a serializable class are themselves serializable. The serialization interface has no methods or fields and serves only to identify the semantics of being serializable.</p>
<p>9. How to prevent field from serialization ?<br />There are several methods for preventing a field from being serialized:<br />Declare the field as private transient.<br />Define the serialPersistentFields field of the class in question, and omit the field from the list of field descriptors.<br />Write a class-specific serialization method (i.e., writeObject or writeExternal) which does not write the field to the serialization stream (i.e., by not calling ObjectOutputStream.defaultWriteObject).</p>
<p>10. What is meant by exception ?</p>
<p>11. How can you avoid the runtime exception ?</p>
<p>12. What is the difference between throw and throws ?</p>
<p>13. What is the use of finally ?</p>
<p>14. Can multiple catch statements be used in exceptions ?<br />    yes</p>
<p>15. Is it possible to write a try within a try statement ?<br />    yes</p>
<p>16. What is the method to find if the object exited or not ?</p>
<p>17. What is meant by a Thread ?</p>
<p>18. What is meant by multi-threading ?</p>
<p>19. What is the 2 way of creating a thread ? Which is the best way and why ?<br />        Two ways of creating threads are, one can extend from the Java.lang.Thread and can implement the rum method or the run method of a different class can be called which implements the interface Runnable, and the then implement the run() method. The latter one is mostly used as first due to Java rule of only one class inheritance, with implementing the Runnable interface that problem is sorted out.</p>
<p>20. What is the method to find if a thread is active or not ?</p>
<p>21. What are the thread-to-thread communcation ?</p>
<p>22. What is the difference between sleep and suspend ?</p>
<p>23. Can thread become a member of another thread ?</p>
<p>24. What is meant by deadlock ?</p>
<p>25. How can you avoid a deadlock ?</p>
<p>26. What are the three typs of priority ?<br />        MAX_PRIORITY which is 10, MIN_PRIORITY which is 1, NORM_PRIORITY which is 5.</p>
<p>27. What is the use of synchronizations ?</p>
<p>28. Garbage collector thread belongs to which priority ?<br />        In the Sun literature you&#8217;ll find many references to garbage collection as a low-priority background process</p>
<p>29. What is meant by time-slicing ?</p>
<p>30. What is the use of ‘this’ ?</p>
<p>31. How can you find the length and capacity of a string buffer ?<br />        A string buffer with no characters in it and an initial capacity of 16 characters. Every string buffer has a capacity. As long as the length of the character sequence contained in the string buffer does not exceed the capacity, it is not necessary to allocate a new internal buffer array. If the internal buffer overflows, it is automatically made larger.</p>
<p>32. How to compare two strings ?</p>
<p>33. What are the interfaces defined by Java.lang ?</p>
<p>34. What is the purpose of run-time class and system class</p>
<p>35. What is meant by Stream and Types ?</p>
<p>36. What is the method used to clear the buffer ?<br />        clear() makes a buffer ready for a new sequence of channel-read</p>
<p>37. What is meant by Stream Tokenizer ?</p>
<p>38. What is serialization and de-serialisation ?</p>
<p>39. What is meant by Applet ?</p>
<p>40. How to find the host from which the Applet has originated ?</span><br /></span><span style="font-size:85%;color:#6600cc;"></span><br /><span style="font-size:85%;color:#6600cc;"></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/anubhavz.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/anubhavz.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anubhavz.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anubhavz.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anubhavz.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anubhavz.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anubhavz.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anubhavz.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anubhavz.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anubhavz.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anubhavz.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anubhavz.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anubhavz.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anubhavz.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anubhavz.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anubhavz.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anubhavz.wordpress.com&amp;blog=3515775&amp;post=17&amp;subd=anubhavz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anubhavz.wordpress.com/2007/12/14/short-simple-questions-set-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/117a1ea73e378ab58974cde11e6d0a7a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">anubhavz</media:title>
		</media:content>
	</item>
		<item>
		<title>Short simple questions</title>
		<link>http://anubhavz.wordpress.com/2007/12/12/short-simple-questions-2/</link>
		<comments>http://anubhavz.wordpress.com/2007/12/12/short-simple-questions-2/#comments</comments>
		<pubDate>Wed, 12 Dec 2007 16:26:00 +0000</pubDate>
		<dc:creator>anubhavz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://anubhavz.wordpress.com/2007/12/12/short-simple-questions-2/</guid>
		<description><![CDATA[Short but tricky &#8230;1. Checked &#38; Unchecked exception Unchecked exceptions are any class of exception that extends the RuntimeException class at some point in its inheritance hierarchy. Java compilers do not require that you declare or catch unchecked exceptions in your program code. All Exceptions that extend the RuntimeException class are unchecked exceptions. Checked exceptions [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anubhavz.wordpress.com&amp;blog=3515775&amp;post=16&amp;subd=anubhavz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong><em><span style="color:#000066;">Short but tricky &#8230;</span></em></strong><br /><strong><em><span style="color:#000066;"></span></em></strong><br /><span style="font-size:85%;color:#6600cc;">1. Checked &amp; Unchecked exception<br />        Unchecked exceptions are any class of exception that extends the RuntimeException class at some point in its inheritance hierarchy. Java compilers do not require that you declare or catch unchecked exceptions in your program code. All Exceptions that extend the RuntimeException class are unchecked exceptions.<br />        Checked exceptions are exceptions that do not extend the RuntimeException class. Checked exceptions must be handled by the programmer to avoid a compile-time error.</span><br /><span style="font-size:85%;color:#6600cc;"><br />2. Use of throws exception<br />     Tells the implementing class to handle the exception thrown.</p>
<p>3. What is finally in exception handling<br />      This is the block of code that is always executed whether exception occurs or not.</p>
<p>4. Vector class<br />        The Vector class implements a growable array of objects.</p>
<p>5. What will happen to the Exception object after exception handling</p>
<p>6. Two types of multi-tasking.</p>
<p>7. Two ways to create the thread Synchronization.<br />        Thread synchronization is done by setting locks on objects. coordinating activities and data access among multiple threads.<br />        Java&#8217;s monitor supports two kinds of thread synchronization: mutual exclusion and cooperation . Mutual exclusion, which is supported in the Java virtual machine via object locks, enables multiple threads to independently work on shared data without interfering with each other. Cooperation, which is supported in the Java virtual machine via the wait and notify methods of class Object, enables threads to work together towards a common goal.</p>
<p>8. I/O Filter<br />        A stream filter monitors, transforms, or is some way processes the data as the stream flows through it on the way from a source to a destination</p>
<p>9. How can you retrieve warnings in JDBC</p>
<p>10. Can applet in different page communicate with each other</p>
<p>11. List Four driver Manager</p>
<p>12. State Features of JDBC 2.0</p>
<p>13. Explain about stored procedures<br />           A stored procedure is a group of SQL statements that form a logical unit and perform a particular task. Stored procedures are used to encapsulate a set of operations or queries to execute on a database server. For example, operations on an employee database (hire, fire, promote, lookup) could be coded as stored procedures executed by application code. Stored procedures can be compiled and executed with different parameters and results, and they may have any combination of input, output, and input/output parameters. The procedure will be compiled and stored in the database as a database object that can be called, similar to the way you would call a method.</p>
<p>14. Describe Servlet Life cycle</p>
<p>15. Why do you go for servlet rather than CGI</p>
<p>16. How to generate skeleton &amp; Stub classes</p>
<p>17. Explain lazy activation<br />        In the RMI system, we use lazy activation. Lazy activation defers activating an object until a client&#8217;s first use (i.e., the first method invocation).</p>
<p>18. What is meant by Java ?</p>
<p>19. What is meant by a class ?</p>
<p>20. What is meant by a method ?</p>
<p>21. What are the OOPS concepts in Java ?</p>
<p>22. What is meant by encapsulation ? Explain with an example</p>
<p>23. What is meant by inheritance ? Explain with an example</p>
<p>24. What is meant by polymorphism ? Explain with an example</p>
<p>25. Is multiple inheritance allowed in Java ? Why ?</p>
<p>26. What is meant by Java interpreter ?<br />    Bytecode is interpreted by JVM.</p>
<p>27. What is meant by JVM ?</p>
<p>28. What is a compilation unit ?</p>
<p>29. What is meant by identifiers ?</p>
<p>30. What are the different types of modifiers ?</p>
<p>31. What are the access modifiers in Java ?</p>
<p>32. What are the primitive data types in Java ?</p>
<p>33. What is meant by a wrapper class ?</p>
<p>34. What is meant by static variable and static method ?</p>
<p>35. What is meant by Garbage collection ?</p>
<p>36. What is meant by abstract class</p>
<p>37. What is meant by final class, methods and variables ?</p>
<p>38. What is meant by interface ?</p>
<p>40. What is meant by a resource leak ?</p>
<p>41. What is the difference between interface and abstract class ?</p>
<p>42. What is the difference between public private, protected and static</p>
<p>43. What is meant by method overloading ?</p>
<p>44. What is meant by method overriding ?</p>
<p>45. What is singleton class ?</p>
<p>46. What is the difference between an array and a vector ?</p>
<p>47. What is meant by constructor ?</p>
<p>48. What is meant by casting ?</p>
<p>49. What is the difference between final, finally and finalize ?</p>
<p>50. What is meant by packages ?</p>
<p></span><br /></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/anubhavz.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/anubhavz.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anubhavz.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anubhavz.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anubhavz.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anubhavz.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anubhavz.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anubhavz.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anubhavz.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anubhavz.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anubhavz.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anubhavz.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anubhavz.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anubhavz.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anubhavz.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anubhavz.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anubhavz.wordpress.com&amp;blog=3515775&amp;post=16&amp;subd=anubhavz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anubhavz.wordpress.com/2007/12/12/short-simple-questions-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/117a1ea73e378ab58974cde11e6d0a7a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">anubhavz</media:title>
		</media:content>
	</item>
	</channel>
</rss>
