<?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-3223838755677659560</id><updated>2011-07-28T17:05:56.771-07:00</updated><category term='sun'/><category term='java video'/><category term='jdbc'/><category term='assertion'/><category term='JSP'/><category term='java'/><category term='RMI'/><category term='java everywhere'/><title type='text'>NIIT Technical Trainers @ Kerala</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://kerala-java-techies.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3223838755677659560/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://kerala-java-techies.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Arafath Aboobacker</name><uri>http://www.blogger.com/profile/16643714334529726002</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://2.bp.blogspot.com/_kkptVqGsnJw/TR185sTM2aI/AAAAAAAAAOM/oe-o9xo8_50/S220/Half.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3223838755677659560.post-7667978391863860153</id><published>2009-10-30T06:09:00.000-07:00</published><updated>2009-10-30T06:31:01.933-07:00</updated><title type='text'>Breaking News:Naming a Java File</title><content type='html'>&lt;p&gt;I think atleast for some of us, this would be a breaking news.If not just forget this blog.&lt;/p&gt;&lt;p&gt;Normally, we say that "A java file must be named by the class name containing the main method."&lt;/p&gt;&lt;p&gt;If any of you have this opinion, I think i just found out that &lt;strong&gt;its wrong.&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Its not a rule, its a convention in order to make thinks easier.&lt;/p&gt;&lt;p&gt;If u check niit's slide java funda-&gt;slide 2B slide no 12 point no 2-&lt;strong&gt;i think&lt;/strong&gt; its wrong.&lt;/p&gt;&lt;p&gt;It must be "&lt;strong&gt;Conventionally&lt;/strong&gt;, A java file &lt;strong&gt;is&lt;/strong&gt; named by the class name containing the main method."&lt;/p&gt;&lt;p&gt;Alternatively, "A java file must be named by the class name containing the public modifier(if there is a public class), but ofcourse there should be only one class with public modifier.If there is more than one public class, it would result in an error."&lt;/p&gt;&lt;p&gt;Now, why is it said "conventionally"?&lt;/p&gt;&lt;p&gt;Say u have 2 classes A and B.if B contains the main method, u can name the file anything.But when wont be able to run it directly through editplus or other editors.In cmd u've to run as follows. &lt;/p&gt;&lt;p&gt;java B&lt;/p&gt;&lt;p&gt; So for convenience, we name the file as the class name containing the main method.&lt;/p&gt;&lt;p&gt;Those teaching java batches, please make a note of this.&lt;/p&gt;&lt;p&gt;To know more, please feel free to write back.&lt;/p&gt;&lt;p&gt;Thank You&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3223838755677659560-7667978391863860153?l=kerala-java-techies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kerala-java-techies.blogspot.com/feeds/7667978391863860153/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3223838755677659560&amp;postID=7667978391863860153' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3223838755677659560/posts/default/7667978391863860153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3223838755677659560/posts/default/7667978391863860153'/><link rel='alternate' type='text/html' href='http://kerala-java-techies.blogspot.com/2009/10/breaking-newsnaming-java-file.html' title='Breaking News:Naming a Java File'/><author><name>Shibu Aby Kurian</name><uri>http://www.blogger.com/profile/15270629467033651762</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-3223838755677659560.post-8140507498882994806</id><published>2009-09-08T23:34:00.000-07:00</published><updated>2009-09-08T23:37:47.156-07:00</updated><title type='text'>Security Demo Sites</title><content type='html'>Hi friends,&lt;br /&gt;&lt;br /&gt;During our CJEV2 training Arafath had given us some site names which uses basic authentication,diagest authentication and all.If u have those site lists pls give me that.&lt;br /&gt;&lt;br /&gt;Shinie Mathew&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3223838755677659560-8140507498882994806?l=kerala-java-techies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kerala-java-techies.blogspot.com/feeds/8140507498882994806/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3223838755677659560&amp;postID=8140507498882994806' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3223838755677659560/posts/default/8140507498882994806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3223838755677659560/posts/default/8140507498882994806'/><link rel='alternate' type='text/html' href='http://kerala-java-techies.blogspot.com/2009/09/security-demo-sites.html' title='Security Demo Sites'/><author><name>Shinie</name><uri>http://www.blogger.com/profile/04834015765430405284</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-3223838755677659560.post-1990607591815998211</id><published>2009-08-14T03:40:00.000-07:00</published><updated>2009-08-14T03:45:31.997-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='jdbc'/><title type='text'>A Brief History of Java and JDBC</title><content type='html'>Check the links guys..&lt;br /&gt;Really nice&lt;br /&gt;http://blogs.datadirect.com/2009/07/a-brief-history-of-java-and-jdbc.html&lt;br /&gt;And this too...&lt;br /&gt;http://www.youtube.com/watch?v=WAy9mgEYb6o&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3223838755677659560-1990607591815998211?l=kerala-java-techies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kerala-java-techies.blogspot.com/feeds/1990607591815998211/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3223838755677659560&amp;postID=1990607591815998211' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3223838755677659560/posts/default/1990607591815998211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3223838755677659560/posts/default/1990607591815998211'/><link rel='alternate' type='text/html' href='http://kerala-java-techies.blogspot.com/2009/08/brief-history-of-java-and-jdbc.html' title='A Brief History of Java and JDBC'/><author><name>Halley</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-nOLHYeOREa4/TfAwndWGEiI/AAAAAAAAAok/FnQIefN0JMU/s220/164175_10150125814328169_702853168_7543051_1303140_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3223838755677659560.post-2918870818239668250</id><published>2009-06-16T02:43:00.000-07:00</published><updated>2009-06-16T02:45:38.578-07:00</updated><title type='text'>Spell check URL</title><content type='html'>hi friends ,&lt;br /&gt;&lt;br /&gt;pls  give me the url of google spellcheck(arafath gave us during the training)&lt;br /&gt;&lt;br /&gt;Shinie&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3223838755677659560-2918870818239668250?l=kerala-java-techies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kerala-java-techies.blogspot.com/feeds/2918870818239668250/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3223838755677659560&amp;postID=2918870818239668250' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3223838755677659560/posts/default/2918870818239668250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3223838755677659560/posts/default/2918870818239668250'/><link rel='alternate' type='text/html' href='http://kerala-java-techies.blogspot.com/2009/06/spell-check-url.html' title='Spell check URL'/><author><name>Shinie</name><uri>http://www.blogger.com/profile/04834015765430405284</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-3223838755677659560.post-6465592887033461113</id><published>2009-05-30T23:11:00.000-07:00</published><updated>2009-05-30T23:25:54.475-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='sun'/><category scheme='http://www.blogger.com/atom/ns#' term='java video'/><category scheme='http://www.blogger.com/atom/ns#' term='java everywhere'/><title type='text'>Java Everywhere!!!</title><content type='html'>Hey guys!!&lt;br /&gt;The blog is getting dead!&lt;br /&gt;So I decided to add some fun..&lt;br /&gt;I was preparing a small presentation on Java and I needed some fun way to emphasize the point 'Java Everywhere'. And I found this interesting video at Channel Sun. And there are a lot of other videos there too..&lt;br /&gt;http://channelsun.sun.com/video/java+everywhere/1717895934&lt;br /&gt;&lt;object id="flashObj" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,47,0" height="322" width="435"&gt;&lt;param name="movie" value="http://c.brightcove.com/services/viewer/federated_f9/1640183659?isVid=1&amp;amp;publisherID=1460825906"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;param name="flashVars" value="videoId=1717895934&amp;amp;linkBaseURL=http://channelsun.sun.com/video/java+everywhere/1717895934&amp;amp;playerID=1640183659&amp;amp;domain=embed&amp;amp;"&gt;&lt;param name="base" value="http://admin.brightcove.com"&gt;&lt;param name="seamlesstabbing" value="false"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="swLiveConnect" value="true"&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;embed src="http://c.brightcove.com/services/viewer/federated_f9/1640183659?isVid=1&amp;amp;publisherID=1460825906" bgcolor="#FFFFFF" flashvars="videoId=1717895934&amp;amp;linkBaseURL=http://channelsun.sun.com/video/java+everywhere/1717895934&amp;amp;playerID=1640183659&amp;amp;domain=embed&amp;amp;" base="http://admin.brightcove.com" name="flashObj" seamlesstabbing="false" type="application/x-shockwave-flash" allowfullscreen="true" swliveconnect="true" allowscriptaccess="always" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" height="322" width="435"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;And this one's a bit old!! But I loved the bald guy!!!&lt;br /&gt;May be I should also shave my head!!!!!!!!!!&lt;br /&gt;&lt;br /&gt;&lt;object id="flashObj" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,47,0" height="322" width="435"&gt;&lt;param name="movie" value="http://c.brightcove.com/services/viewer/federated_f9/1640183659?isVid=1&amp;amp;publisherID=1460825906"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;param name="flashVars" value="videoId=1701198879&amp;amp;playerID=1640183659&amp;amp;domain=embed&amp;amp;"&gt;&lt;param name="base" value="http://admin.brightcove.com"&gt;&lt;param name="seamlesstabbing" value="false"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="swLiveConnect" value="true"&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;embed src="http://c.brightcove.com/services/viewer/federated_f9/1640183659?isVid=1&amp;amp;publisherID=1460825906" bgcolor="#FFFFFF" flashvars="videoId=1701198879&amp;amp;playerID=1640183659&amp;amp;domain=embed&amp;amp;" base="http://admin.brightcove.com" name="flashObj" seamlesstabbing="false" type="application/x-shockwave-flash" allowfullscreen="true" swliveconnect="true" allowscriptaccess="always" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" height="322" width="435"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3223838755677659560-6465592887033461113?l=kerala-java-techies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kerala-java-techies.blogspot.com/feeds/6465592887033461113/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3223838755677659560&amp;postID=6465592887033461113' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3223838755677659560/posts/default/6465592887033461113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3223838755677659560/posts/default/6465592887033461113'/><link rel='alternate' type='text/html' href='http://kerala-java-techies.blogspot.com/2009/05/java-everywhere.html' title='Java Everywhere!!!'/><author><name>Halley</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-nOLHYeOREa4/TfAwndWGEiI/AAAAAAAAAok/FnQIefN0JMU/s220/164175_10150125814328169_702853168_7543051_1303140_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3223838755677659560.post-4313156719758377946</id><published>2009-04-06T00:01:00.000-07:00</published><updated>2009-04-06T00:08:04.773-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JSP'/><title type='text'>Prob with JSp</title><content type='html'>Hi friends,&lt;br /&gt;&lt;br /&gt;when I am trying to exceute JSp the following error comes.I have installed jdk and AppServer from tirm and set the path properly itself.for ur reference i am giving my path too.friends pls help&lt;br /&gt;&lt;strong&gt;Error&lt;/strong&gt;&lt;br /&gt;HTTP Status 500 -&lt;br /&gt;type Exception report&lt;br /&gt;message&lt;br /&gt;description The server encountered an internal error () that prevented it from fulfilling this request.&lt;br /&gt;exception org.apache.jasper.JasperException: Unable to compile class for JSP&lt;br /&gt;No Java compiler was found to compile the generated source for the JSP.&lt;br /&gt;This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK&lt;br /&gt;to the common/lib directory of the Tomcat server, followed by a Tomcat restart.&lt;br /&gt;If using an alternate Java compiler, please check its installation and access path.&lt;br /&gt;org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)&lt;br /&gt;org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:348)&lt;br /&gt;org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:424)&lt;br /&gt;org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)&lt;br /&gt;org.apache.jasper.compiler.Compiler.compile(Compiler.java:448)&lt;br /&gt;org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:551)&lt;br /&gt;org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:300)&lt;br /&gt;org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)&lt;br /&gt;org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)&lt;br /&gt;javax.servlet.http.HttpServlet.service(HttpServlet.java:856)&lt;br /&gt;sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br /&gt;sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&lt;br /&gt;sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;br /&gt;java.lang.reflect.Method.invoke(Method.java:324)&lt;br /&gt;org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:284)&lt;br /&gt;java.security.AccessController.doPrivileged(Native Method)&lt;br /&gt;javax.security.auth.Subject.doAsPrivileged(Subject.java:500)&lt;br /&gt;org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:306)&lt;br /&gt;org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:200)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;path settings &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;path=.;C:\Program Files\j2sdk_nb\j2sdk1.4.2\bin;C:\Sun\AppServer\bin;&lt;br /&gt;classpath=.;C:\Program Files\j2sdk_nb\j2sdk1.4.2\lib;C:\Sun\AppServer\lib\j2ee.jar;&lt;br /&gt;JAVA_HOME=C:\Program Files\j2sdk_nb\j2sdk1.4.2;&lt;br /&gt;J2EE_HOME=C:\Sun\AppServer;&lt;br /&gt;&lt;br /&gt;Shinie Mathew&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3223838755677659560-4313156719758377946?l=kerala-java-techies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kerala-java-techies.blogspot.com/feeds/4313156719758377946/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3223838755677659560&amp;postID=4313156719758377946' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3223838755677659560/posts/default/4313156719758377946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3223838755677659560/posts/default/4313156719758377946'/><link rel='alternate' type='text/html' href='http://kerala-java-techies.blogspot.com/2009/04/prob-with-jsp.html' title='Prob with JSp'/><author><name>Shinie</name><uri>http://www.blogger.com/profile/04834015765430405284</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>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3223838755677659560.post-1990889548770947034</id><published>2009-03-01T06:14:00.000-08:00</published><updated>2009-03-02T08:08:45.041-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RMI'/><title type='text'>RMI Dooubts</title><content type='html'>Okay guys... Simple question again. But its bugging me. This time, its about &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;RMI&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;I need this setup. Three nodes A, B and C. The &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;RMI&lt;/span&gt; Server must run in Node A. The &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;RMI&lt;/span&gt; Client in Node B and node C should have the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;RMI&lt;/span&gt; Registry. I tried this setup and whenever I try to bind the remote object from the server, I am getting an Exception. Am trying to bind it like this,&lt;br /&gt;&lt;br /&gt;Naming.rebind("rmi://192.168.1.25/Server",obj);&lt;br /&gt;&lt;br /&gt;192.168.1.25 is the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;ip&lt;/span&gt; address of the node where &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;RMI&lt;/span&gt; Registry is running.&lt;br /&gt;I don't remember the exception. Another thing I noted when I went through the Java &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;API&lt;/span&gt; was this part..&lt;br /&gt;&lt;br /&gt;&lt;dl&gt;&lt;dd&gt;&lt;h3&gt; rebind&lt;/h3&gt; &lt;pre&gt;public static void &lt;b&gt;rebind&lt;/b&gt;(&lt;a href="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class in java.lang"&gt;String&lt;/a&gt; name,&lt;br /&gt;                        &lt;a href="http://java.sun.com/j2se/1.4.2/docs/api/java/rmi/Remote.html" title="interface in java.rmi"&gt;Remote&lt;/a&gt; obj)&lt;br /&gt;                 throws &lt;a href="http://java.sun.com/j2se/1.4.2/docs/api/java/rmi/RemoteException.html" title="class in java.rmi"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;RemoteException&lt;/span&gt;&lt;/a&gt;,&lt;br /&gt;                        &lt;a href="http://java.sun.com/j2se/1.4.2/docs/api/java/net/MalformedURLException.html" title="class in java.net"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;MalformedURLException&lt;/span&gt;&lt;/a&gt;&lt;/pre&gt; &lt;/dd&gt;&lt;dd&gt;Rebinds the specified name to a new remote object. Any existing  binding for the name is replaced. &lt;p&gt; &lt;/p&gt;&lt;/dd&gt;&lt;dd&gt;&lt;dl&gt;&lt;dt&gt;&lt;b&gt;Parameters:&lt;/b&gt;&lt;/dt&gt;&lt;dd&gt;&lt;code&gt;name&lt;/code&gt; - a name in URL format (without the scheme component)&lt;/dd&gt;&lt;dd&gt;&lt;code&gt;obj&lt;/code&gt; - new remote object to associate with the name &lt;/dd&gt;&lt;dt&gt;&lt;b&gt;Throws:&lt;/b&gt; &lt;/dt&gt;&lt;dd&gt;&lt;code&gt;&lt;a href="http://java.sun.com/j2se/1.4.2/docs/api/java/net/MalformedURLException.html" title="class in java.net"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;MalformedURLException&lt;/span&gt;&lt;/a&gt;&lt;/code&gt; - if the name is not an appropriately   formatted URL &lt;/dd&gt;&lt;dd&gt;&lt;code&gt;&lt;a href="http://java.sun.com/j2se/1.4.2/docs/api/java/rmi/RemoteException.html" title="class in java.rmi"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_13"&gt;RemoteException&lt;/span&gt;&lt;/a&gt;&lt;/code&gt; - if registry could not be contacted &lt;/dd&gt;&lt;dd&gt;&lt;code&gt;&lt;a href="http://java.sun.com/j2se/1.4.2/docs/api/java/rmi/AccessException.html" title="class in java.rmi"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_14"&gt;AccessException&lt;/span&gt;&lt;/a&gt;&lt;/code&gt; - if this operation is not permitted &lt;span style="color: rgb(255, 0, 0);"&gt;(if  originating from a non-local host, for example)&lt;/span&gt;&lt;/dd&gt;&lt;dt&gt;&lt;br /&gt;&lt;/dt&gt;&lt;/dl&gt;&lt;/dd&gt;&lt;dd&gt;Why though?&lt;br /&gt;&lt;/dd&gt;&lt;/dl&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3223838755677659560-1990889548770947034?l=kerala-java-techies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kerala-java-techies.blogspot.com/feeds/1990889548770947034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3223838755677659560&amp;postID=1990889548770947034' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3223838755677659560/posts/default/1990889548770947034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3223838755677659560/posts/default/1990889548770947034'/><link rel='alternate' type='text/html' href='http://kerala-java-techies.blogspot.com/2009/03/okay-guys.html' title='RMI Dooubts'/><author><name>Halley</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-nOLHYeOREa4/TfAwndWGEiI/AAAAAAAAAok/FnQIefN0JMU/s220/164175_10150125814328169_702853168_7543051_1303140_n.jpg'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3223838755677659560.post-835104675240199132</id><published>2009-02-18T01:29:00.000-08:00</published><updated>2009-02-18T02:29:01.781-08:00</updated><title type='text'>Hmm Some more help please!!!</title><content type='html'>Hi guys!!!&lt;br /&gt;Glad to see this thing is going on well!!!&lt;br /&gt;Also try to keep contacts through phone also!!!&lt;br /&gt;Any ways, here is a small problem I just faced..&lt;br /&gt;May be I am just a complete noob!!! :(&lt;br /&gt;&lt;br /&gt;Here is the program&lt;br /&gt;&lt;br /&gt;class Base&lt;br /&gt; {&lt;br /&gt; String msg;&lt;br /&gt; &lt;br /&gt; public Base(String msg)&lt;br /&gt;  {&lt;br /&gt;  this.msg=msg;&lt;br /&gt;  //Just for the sake of overloading the default constructor!!!!&lt;br /&gt;  } &lt;br /&gt;&lt;br /&gt; public void display()&lt;br /&gt;  {&lt;br /&gt;  System.out.println("Base");&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;class Sub extends Base&lt;br /&gt; {&lt;br /&gt; public void display()&lt;br /&gt;  {&lt;br /&gt;  System.out.println("Sub");&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt; public static void main(String args[])&lt;br /&gt;  {&lt;br /&gt;  Sub obj=new Sub();&lt;br /&gt;  obj.display();&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This thing works fine if the constructor of the Base class is put in comments and also works if I add no-argument constructor to it! Any explanations for this. I've no idea!! May be its because my foundations are a bit shaky!!!&lt;br /&gt;&lt;br /&gt;PS:&lt;br /&gt;Hey Arafath!!! How are you doing?? Went to China again? Say hi to Hu Jintao!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3223838755677659560-835104675240199132?l=kerala-java-techies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kerala-java-techies.blogspot.com/feeds/835104675240199132/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3223838755677659560&amp;postID=835104675240199132' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3223838755677659560/posts/default/835104675240199132'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3223838755677659560/posts/default/835104675240199132'/><link rel='alternate' type='text/html' href='http://kerala-java-techies.blogspot.com/2009/02/hmm-some-more-help-please.html' title='Hmm Some more help please!!!'/><author><name>Halley</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-nOLHYeOREa4/TfAwndWGEiI/AAAAAAAAAok/FnQIefN0JMU/s220/164175_10150125814328169_702853168_7543051_1303140_n.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3223838755677659560.post-5873590573545226022</id><published>2009-02-10T21:09:00.000-08:00</published><updated>2009-02-10T21:59:30.673-08:00</updated><title type='text'>HashTable</title><content type='html'>Hi Trainers,&lt;br /&gt;Here is a question!&lt;br /&gt;There is a program about Hashtable in 1A.31(PAS).&lt;br /&gt;In that program i'm adding 4 names along with some double values into the hashtable, but when asked to display the values, its not displayed in the order in which i've entered values to the table.For instance, i've added names in the order Albert,Tom,Todd and Smith.&lt;br /&gt;The output shows Tom,Albert,Todd and Smith.&lt;br /&gt;Do you have any idea why the order is messed up, or do you actually find any sequence??????????&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3223838755677659560-5873590573545226022?l=kerala-java-techies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kerala-java-techies.blogspot.com/feeds/5873590573545226022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3223838755677659560&amp;postID=5873590573545226022' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3223838755677659560/posts/default/5873590573545226022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3223838755677659560/posts/default/5873590573545226022'/><link rel='alternate' type='text/html' href='http://kerala-java-techies.blogspot.com/2009/02/hashtable.html' title='HashTable'/><author><name>Shibu Aby Kurian</name><uri>http://www.blogger.com/profile/15270629467033651762</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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3223838755677659560.post-6577706684325448116</id><published>2008-11-07T07:10:00.000-08:00</published><updated>2008-11-07T07:13:07.740-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='assertion'/><title type='text'>Assertion!!! How can I explain that to my students?</title><content type='html'>Well, the blog has been up and running for some time now with ZERO posts.. So I am taking the liberty to be the first one to post and that too a query.. I need some tips on how to explain the concept of assertion and the need.. Guys (and gals too), help me!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3223838755677659560-6577706684325448116?l=kerala-java-techies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kerala-java-techies.blogspot.com/feeds/6577706684325448116/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3223838755677659560&amp;postID=6577706684325448116' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3223838755677659560/posts/default/6577706684325448116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3223838755677659560/posts/default/6577706684325448116'/><link rel='alternate' type='text/html' href='http://kerala-java-techies.blogspot.com/2008/11/assertion-how-can-i-explain-that-to-my.html' title='Assertion!!! How can I explain that to my students?'/><author><name>Halley</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-nOLHYeOREa4/TfAwndWGEiI/AAAAAAAAAok/FnQIefN0JMU/s220/164175_10150125814328169_702853168_7543051_1303140_n.jpg'/></author><thr:total>2</thr:total></entry></feed>
