<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;DUEESXk-eip7ImA9WhBaFEo.&quot;"><id>tag:blogger.com,1999:blog-5901657631438151666</id><updated>2013-05-25T15:56:48.752+05:30</updated><category term="Programming Tools" /><category term="JQuery" /><category term="Tomcat" /><category term="Web Development" /><category term="Frameworks" /><category term="Database" /><category term="Maven" /><category term="Sci/Tech" /><category term="Eclipse" /><category term="HTML" /><category term="Hibernate" /><category term="Jaspersoft" /><category term="Google Charts" /><category term="JSTL" /><category term="Spring" /><category term="Windows" /><category term="Interview Questions" /><category term="JavaScript" /><category term="Java" /><category term="Oracle" /><category term="Spring Security" /><category term="JDBC" /><category term="Open Source" /><title>Programming | Tutorials | How to | Java | JavaScript | AJAX | Oracle | Web 2.0 | JQuery</title><subtitle type="html" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://www.a2ztechguide.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://www.a2ztechguide.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Sandeep Kumar</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>66</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/A2ztechguide" /><feedburner:info uri="a2ztechguide" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>A2ztechguide</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:browserFriendly></feedburner:browserFriendly><entry gd:etag="W/&quot;DkAERXwzcSp7ImA9WhRXGU8.&quot;"><id>tag:blogger.com,1999:blog-5901657631438151666.post-4929805312576463206</id><published>2011-12-27T00:08:00.000+05:30</published><updated>2011-12-27T00:08:24.289+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-27T00:08:24.289+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><title>Java how to Override equals() and hashCode() method</title><summary type="html">Object class has following five non final methods.

1. clone()2. equals(Object obj)3. finalize()4. hashCode()5. toString()
Every Java class has Object as a superclass so by default all above methods are provided in every java class. In this article we will discuss in detail the concepts of equals() and hashCode() method. We will discuss why it is necessary to override these methods and how we can&lt;img src="http://feeds.feedburner.com/~r/A2ztechguide/~4/gzrXws1RIoc" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.a2ztechguide.com/feeds/4929805312576463206/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.a2ztechguide.com/2011/12/java-how-to-override-equals-and.html#comment-form" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/4929805312576463206?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/4929805312576463206?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/A2ztechguide/~3/gzrXws1RIoc/java-how-to-override-equals-and.html" title="Java how to Override equals() and hashCode() method" /><author><name>Sandeep Kumar</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-l56jwOQX1jA/TvipHOiqDyI/AAAAAAAAAfM/WHIcc6JrEf8/s72-c/override+equals+and+hashcode+in+java.jpg" height="72" width="72" /><thr:total>4</thr:total><feedburner:origLink>http://www.a2ztechguide.com/2011/12/java-how-to-override-equals-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkYHSXc8fyp7ImA9WhRXFUo.&quot;"><id>tag:blogger.com,1999:blog-5901657631438151666.post-8510805990682190737</id><published>2011-12-22T22:45:00.000+05:30</published><updated>2011-12-22T22:45:38.977+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-22T22:45:38.977+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Database" /><category scheme="http://www.blogger.com/atom/ns#" term="Oracle" /><title>Difference between DELETE, TRUNCATE and DROP command</title><summary type="html">
Most often asked interview question: What is difference between DELETE, TRUNCATE and DROP command?
This article gives a detailed comparison between them.

      Points-of-parity      DELETE      TRUNCATE      DROP  
      What does command   do?      Delete some or all   rows of a table.      Delete all rows of   a table.      Removes a table   from the database. The integrity constraints will &lt;img src="http://feeds.feedburner.com/~r/A2ztechguide/~4/Uso6QNyNQLA" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.a2ztechguide.com/feeds/8510805990682190737/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.a2ztechguide.com/2011/12/difference-between-delete-truncate-and.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/8510805990682190737?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/8510805990682190737?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/A2ztechguide/~3/Uso6QNyNQLA/difference-between-delete-truncate-and.html" title="Difference between DELETE, TRUNCATE and DROP command" /><author><name>Sandeep Kumar</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-I-e6gqemvhg/TvNkyT92ucI/AAAAAAAAAbA/n6NZA82ZEXc/s72-c/difference_between_delete_drop_truncate.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.a2ztechguide.com/2011/12/difference-between-delete-truncate-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEMFRXY6cCp7ImA9WhRXFEU.&quot;"><id>tag:blogger.com,1999:blog-5901657631438151666.post-779192191235107143</id><published>2011-12-21T22:12:00.001+05:30</published><updated>2011-12-21T22:23:34.818+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-21T22:23:34.818+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><title>Handling Very Large Numbers in Java</title><summary type="html">In Java, sometimes we need to handle integer numbers larger than Long.MAX_VALUE or floating-point values larger than Double.MAX_VALUE. Use the BigInteger or BigDecimal values available in package java.math to handle large values.
Java Overflow
In arithmetic operations when using int or long, if the value becomes too large, Java saves only the low order 32 bits for int and 64 bits for longs and &lt;img src="http://feeds.feedburner.com/~r/A2ztechguide/~4/ad6mCzNsWII" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.a2ztechguide.com/feeds/779192191235107143/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.a2ztechguide.com/2011/12/handling-very-large-numbers-in-java.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/779192191235107143?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/779192191235107143?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/A2ztechguide/~3/ad6mCzNsWII/handling-very-large-numbers-in-java.html" title="Handling Very Large Numbers in Java" /><author><name>Sandeep Kumar</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-Zr9MEJ0lGT4/TvIFgCEGWEI/AAAAAAAAAa0/YN9cEzZzlSs/s72-c/handling_large_numbers_in_java.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.a2ztechguide.com/2011/12/handling-very-large-numbers-in-java.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkUAQns-eyp7ImA9WhRQGEU.&quot;"><id>tag:blogger.com,1999:blog-5901657631438151666.post-1138066627507029032</id><published>2011-12-14T23:07:00.000+05:30</published><updated>2011-12-14T23:07:23.553+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-14T23:07:23.553+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="JQuery" /><category scheme="http://www.blogger.com/atom/ns#" term="HTML" /><title>Create Simple Tooltips using JQuery and CSS</title><summary type="html">In this post we had implemented simple Tooltips using JQquery and CSS. 
What is a Tooltip?
Tooltip is a message appears when cursor is positioned over an image, icon, link or any other HTML element. 
Example 1: JQuery Tooltip showing Text Message
In this example mouseover on text and it will show tooltip showing a text message.
HTML CSS

&amp;lt;style type="text/css"&amp;gt;
.tooltip {            margin: 8px;&lt;img src="http://feeds.feedburner.com/~r/A2ztechguide/~4/-6cR6DPP5z4" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.a2ztechguide.com/feeds/1138066627507029032/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.a2ztechguide.com/2011/12/create-simple-tooltips-using-jquery-and.html#comment-form" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/1138066627507029032?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/1138066627507029032?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/A2ztechguide/~3/-6cR6DPP5z4/create-simple-tooltips-using-jquery-and.html" title="Create Simple Tooltips using JQuery and CSS" /><author><name>Sandeep Kumar</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-kQFT8R1xFSk/TuTHVyjvahI/AAAAAAAAAac/SghGuANjQTI/s72-c/tooltip_using_jquery_css.jpg" height="72" width="72" /><thr:total>3</thr:total><feedburner:origLink>http://www.a2ztechguide.com/2011/12/create-simple-tooltips-using-jquery-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUIHRXs-fip7ImA9WhRQFUo.&quot;"><id>tag:blogger.com,1999:blog-5901657631438151666.post-6044482593457954974</id><published>2011-12-11T08:48:00.000+05:30</published><updated>2011-12-11T08:48:54.556+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-11T08:48:54.556+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><title>Java Exception Handling Tutorial with Examples</title><summary type="html">
This post explains exception handling in java and suggests best practices for exception handling. An exception in Java is an object that is created when any abnormal, unexpected events or extraordinary conditions occur in program. Handling of those is exception handling in Java. This exception object has data that store information about nature of problem. This exception object is thrown and &lt;img src="http://feeds.feedburner.com/~r/A2ztechguide/~4/URGx5_xG3EA" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.a2ztechguide.com/feeds/6044482593457954974/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.a2ztechguide.com/2011/12/java-exception-handling-tutorial-with.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/6044482593457954974?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/6044482593457954974?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/A2ztechguide/~3/URGx5_xG3EA/java-exception-handling-tutorial-with.html" title="Java Exception Handling Tutorial with Examples" /><author><name>Sandeep Kumar</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-PabnaYxpHC4/TuOK-4Xx1eI/AAAAAAAAAZ8/DEZt7Dd-uIY/s72-c/exception_handling.jpg" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://www.a2ztechguide.com/2011/12/java-exception-handling-tutorial-with.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEUCQn07fyp7ImA9WhRQFU4.&quot;"><id>tag:blogger.com,1999:blog-5901657631438151666.post-8249198608057295034</id><published>2011-12-10T21:21:00.000+05:30</published><updated>2011-12-10T21:21:03.307+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-10T21:21:03.307+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><title>How to write and run simple Java program - Helloworld Example</title><summary type="html">This article is for Java beginners and will introduce you to Java programming language. In this post we will learn how to write, save, compile and run a simple java program using classic HelloWorld Example.

NOTE: Before moving ahead I’m assuming that we have downloaded and installed the Java SE Development Kit on our machine. Also set required environment Variables for Java. For more details &lt;img src="http://feeds.feedburner.com/~r/A2ztechguide/~4/oFW5u1-vYOs" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.a2ztechguide.com/feeds/8249198608057295034/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.a2ztechguide.com/2011/12/how-to-write-and-run-simple-java.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/8249198608057295034?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/8249198608057295034?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/A2ztechguide/~3/oFW5u1-vYOs/how-to-write-and-run-simple-java.html" title="How to write and run simple Java program - Helloworld Example" /><author><name>Sandeep Kumar</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-KY9LBnQTMmE/TuN8M6tGaSI/AAAAAAAAAZc/ZpiCH7EtPsI/s72-c/write_run_java_program_helloworld_example.png" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://www.a2ztechguide.com/2011/12/how-to-write-and-run-simple-java.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUUEQHk6eCp7ImA9WhRQEk8.&quot;"><id>tag:blogger.com,1999:blog-5901657631438151666.post-144777581695547733</id><published>2011-12-07T08:36:00.000+05:30</published><updated>2011-12-07T08:36:41.710+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-07T08:36:41.710+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><title>Difference between String, StringBuffer and StringBuilder in Java</title><summary type="html">
String is most commonly used class in Java programming. Java also provides two other classes StringBuffer and StringBuilder. We need to carefully choose between these three depending on the requirement. Thus it is important to understand difference among them. 

Points of Difference

1. String class objects are immutable objects means that they can’t be altered. It always creates a new object &lt;img src="http://feeds.feedburner.com/~r/A2ztechguide/~4/hGMqIQ13HIY" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.a2ztechguide.com/feeds/144777581695547733/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.a2ztechguide.com/2011/12/difference-between-string-stringbuffer.html#comment-form" title="5 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/144777581695547733?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/144777581695547733?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/A2ztechguide/~3/hGMqIQ13HIY/difference-between-string-stringbuffer.html" title="Difference between String, StringBuffer and StringBuilder in Java" /><author><name>Sandeep Kumar</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-8sXvAC5on00/Tt7XgShbq1I/AAAAAAAAAZU/cpqiNfLDksw/s72-c/difference_string_stringbuffer_stringbuilder_java.png" height="72" width="72" /><thr:total>5</thr:total><feedburner:origLink>http://www.a2ztechguide.com/2011/12/difference-between-string-stringbuffer.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEEHRXk4fCp7ImA9WhRRGU4.&quot;"><id>tag:blogger.com,1999:blog-5901657631438151666.post-5674863698423616520</id><published>2011-12-03T22:47:00.000+05:30</published><updated>2011-12-03T22:47:14.734+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-03T22:47:14.734+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="JDBC" /><category scheme="http://www.blogger.com/atom/ns#" term="Interview Questions" /><category scheme="http://www.blogger.com/atom/ns#" term="Database" /><title>JDBC Interview Questions &amp; Answers for Java Developers – Part 2</title><summary type="html">
This post is an extension to my previous post JDBC Interview Questions &amp;amp; Answers for Java Developers – Part 1. We have compiled few more JDBC questions. Read these interview questions.

What's the difference between a primary key and a unique key?
Both primary key and unique enforce uniqueness of the column on which they are defined. But by default primary key creates a clustered index on the &lt;img src="http://feeds.feedburner.com/~r/A2ztechguide/~4/qPQB4wRzJPY" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.a2ztechguide.com/feeds/5674863698423616520/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.a2ztechguide.com/2011/12/jdbc-interview-questions-answers-for_03.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/5674863698423616520?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/5674863698423616520?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/A2ztechguide/~3/qPQB4wRzJPY/jdbc-interview-questions-answers-for_03.html" title="JDBC Interview Questions &amp; Answers for Java Developers – Part 2" /><author><name>Sandeep Kumar</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-_0Lhie-IDfI/TtpS3aCaCJI/AAAAAAAAAZM/Ag1e6x85zZ8/s72-c/jdbc_interview_questions_2.jpg" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://www.a2ztechguide.com/2011/12/jdbc-interview-questions-answers-for_03.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE8CRHs7fSp7ImA9WhRRGU4.&quot;"><id>tag:blogger.com,1999:blog-5901657631438151666.post-1490217167079994979</id><published>2011-12-03T21:18:00.001+05:30</published><updated>2011-12-03T22:51:05.505+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-03T22:51:05.505+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="JDBC" /><category scheme="http://www.blogger.com/atom/ns#" term="Interview Questions" /><category scheme="http://www.blogger.com/atom/ns#" term="Database" /><title>JDBC Interview Questions &amp; Answers for Java Developers – Part 1</title><summary type="html">

We have compiled list of some popular JDBC questions for Java Developers. Read these interview questions.

How many types of JDBC Drivers are present and what are they?   
JDBC drivers are divided into four types or levels. The different types of jdbc drivers are:
Type 1: JDBC-ODBC Bridge driver (Bridge)Type 2: Native-API/partly Java driver (Native)Type 3: All Java/Net-protocol driver (&lt;img src="http://feeds.feedburner.com/~r/A2ztechguide/~4/wWoZOgy-2-k" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.a2ztechguide.com/feeds/1490217167079994979/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.a2ztechguide.com/2011/12/jdbc-interview-questions-answers-for.html#comment-form" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/1490217167079994979?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/1490217167079994979?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/A2ztechguide/~3/wWoZOgy-2-k/jdbc-interview-questions-answers-for.html" title="JDBC Interview Questions &amp; Answers for Java Developers – Part 1" /><author><name>Sandeep Kumar</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-a8RGBqeIOp4/Tto71yrchoI/AAAAAAAAAZE/L2MTCL4UOgE/s72-c/jdbc_interview_questions_1.jpg" height="72" width="72" /><thr:total>4</thr:total><feedburner:origLink>http://www.a2ztechguide.com/2011/12/jdbc-interview-questions-answers-for.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkIDQXk9eip7ImA9WhRQGUs.&quot;"><id>tag:blogger.com,1999:blog-5901657631438151666.post-2678357120715809337</id><published>2011-12-01T23:31:00.001+05:30</published><updated>2011-12-15T22:32:50.762+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-15T22:32:50.762+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Open Source" /><category scheme="http://www.blogger.com/atom/ns#" term="Tomcat" /><title>Run multiple instances of Apache Tomcat server on a single machine</title><summary type="html">
This post explains us how to run multiple instances of Apache Tomcat server on a single machine. We want to do this may be for load balancing, separating web application etc. 
We are assuming that no instructions needed to install first tomcat instance, you just need to install it by extracting tomcat zip file. Here we are going to install second tomcat assuming that we have done with the first &lt;img src="http://feeds.feedburner.com/~r/A2ztechguide/~4/lMj-NPE_kH4" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.a2ztechguide.com/feeds/2678357120715809337/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.a2ztechguide.com/2011/12/run-multiple-instances-of-apache-tomcat.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/2678357120715809337?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/2678357120715809337?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/A2ztechguide/~3/lMj-NPE_kH4/run-multiple-instances-of-apache-tomcat.html" title="Run multiple instances of Apache Tomcat server on a single machine" /><author><name>Sandeep Kumar</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/--nKVP2EnncQ/TtezlruFHpI/AAAAAAAAAY8/FOSudBZizfo/s72-c/multiple-apache-tomcat-instances.png" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://www.a2ztechguide.com/2011/12/run-multiple-instances-of-apache-tomcat.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEACQ30yeSp7ImA9WhRRFUk.&quot;"><id>tag:blogger.com,1999:blog-5901657631438151666.post-1854318099312429428</id><published>2011-11-29T11:36:00.000+05:30</published><updated>2011-11-29T11:36:02.391+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-29T11:36:02.391+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript" /><category scheme="http://www.blogger.com/atom/ns#" term="Google Charts" /><category scheme="http://www.blogger.com/atom/ns#" term="HTML" /><title>Example on how to use Google Chart API</title><summary type="html">This post lists the steps and demonstrates a simple example on how to use Google Chart API for chart creation. Google Charts API gives us capability to create pretty graphs simply by using an URL with correct parameters specified. It is fairly flexible, with many things you can change and customize. The chart is interactive and displays information on mouse over.

Here is the API link: http://&lt;img src="http://feeds.feedburner.com/~r/A2ztechguide/~4/W8e8Cv2PFfE" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.a2ztechguide.com/feeds/1854318099312429428/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.a2ztechguide.com/2011/11/example-on-how-to-use-google-chart-api.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/1854318099312429428?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/1854318099312429428?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/A2ztechguide/~3/W8e8Cv2PFfE/example-on-how-to-use-google-chart-api.html" title="Example on how to use Google Chart API" /><author><name>Sandeep Kumar</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-X2NhWRdGHMk/TtRyyLXOFrI/AAAAAAAAAYs/khLULp_cRbA/s72-c/google_charts_api_example.jpg" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://www.a2ztechguide.com/2011/11/example-on-how-to-use-google-chart-api.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkQDQ3o-eip7ImA9WhRRE0Q.&quot;"><id>tag:blogger.com,1999:blog-5901657631438151666.post-1712091969907855729</id><published>2011-11-27T16:09:00.000+05:30</published><updated>2011-11-27T16:09:32.452+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-27T16:09:32.452+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="JQuery" /><category scheme="http://www.blogger.com/atom/ns#" term="HTML" /><title>Getting and setting value of html elements using jquery</title><summary type="html">
This post explains how to get and set value of HTML elements using jquery. Though it can be used in different ways to select elements, we will stick to selecting elements by id for the purpose of this tutorial.
An element can be accessed using its id as follows:            $('#elementId')
Textbox, Hidden field and Textarea
All these elements share a common method. val() method is used to get and&lt;img src="http://feeds.feedburner.com/~r/A2ztechguide/~4/eXxW3fPpC1c" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.a2ztechguide.com/feeds/1712091969907855729/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.a2ztechguide.com/2011/11/getting-and-setting-value-of-html.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/1712091969907855729?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/1712091969907855729?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/A2ztechguide/~3/eXxW3fPpC1c/getting-and-setting-value-of-html.html" title="Getting and setting value of html elements using jquery" /><author><name>Sandeep Kumar</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-6O7fzXCFIOE/TtIRn2Te_3I/AAAAAAAAAYk/fLEF616dcyk/s72-c/getting_setting_value_of_html_elements_using_jquery.jpg" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://www.a2ztechguide.com/2011/11/getting-and-setting-value-of-html.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEEAQ3czfyp7ImA9WhRRE00.&quot;"><id>tag:blogger.com,1999:blog-5901657631438151666.post-4414713804319600733</id><published>2011-11-26T15:40:00.001+05:30</published><updated>2011-11-26T15:47:22.987+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-26T15:47:22.987+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="JQuery" /><category scheme="http://www.blogger.com/atom/ns#" term="HTML" /><title>Jquery text or banner rotator example</title><summary type="html">
In this post we had implemented a simple text or banner rotator example using jquery. This jquery displays multiple texts or banners one by one with a fading effect. 
Text Rotator Using Jquery
HTML CSS
&amp;lt;style type="text/css"&amp;gt;

body {            background-color: #BCDFDB;            color: #025C7F;            font-family: verdana, arial;}#quotes {            margin: 0;            padding: 100px;&lt;img src="http://feeds.feedburner.com/~r/A2ztechguide/~4/_FxdY0MDUWc" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.a2ztechguide.com/feeds/4414713804319600733/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.a2ztechguide.com/2011/11/jquery-text-or-banner-rotator-example.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/4414713804319600733?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/4414713804319600733?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/A2ztechguide/~3/_FxdY0MDUWc/jquery-text-or-banner-rotator-example.html" title="Jquery text or banner rotator example" /><author><name>Sandeep Kumar</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-q0VwuZOGAvs/TtCraBjDa5I/AAAAAAAAAYc/Xq0h6cSbghw/s72-c/jquery_text_banner_rotator_example.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.a2ztechguide.com/2011/11/jquery-text-or-banner-rotator-example.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkQGQ3c5cSp7ImA9WhRRE00.&quot;"><id>tag:blogger.com,1999:blog-5901657631438151666.post-6665141302649706302</id><published>2011-11-26T10:51:00.002+05:30</published><updated>2011-11-26T15:08:42.929+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-26T15:08:42.929+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="JQuery" /><category scheme="http://www.blogger.com/atom/ns#" term="HTML" /><title>Jquery to search text in HTML Table</title><summary type="html">This jquery search for a text in HTML table and based on that it filter out rows that contains the text in any of its table cells.

User Interface has HTML table and a search box above the table to type the search term.
HTML Code
&amp;lt;div&amp;gt;&amp;lt;p&amp;gt;            &amp;lt;label for="search"&amp;gt; &amp;lt;strong&amp;gt;Search Box&amp;lt;/strong&amp;gt;            &amp;lt;/label&amp;gt; &amp;lt;input type="text" id="search" /&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;table width="40%" id="searchTable" border=&lt;img src="http://feeds.feedburner.com/~r/A2ztechguide/~4/Q80MflMjvNo" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.a2ztechguide.com/feeds/6665141302649706302/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.a2ztechguide.com/2011/11/jquery-to-search-text-in-html-table.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/6665141302649706302?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/6665141302649706302?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/A2ztechguide/~3/Q80MflMjvNo/jquery-to-search-text-in-html-table.html" title="Jquery to search text in HTML Table" /><author><name>Sandeep Kumar</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-u43VOevZ6cU/TtBxKX-cpSI/AAAAAAAAAYM/7klaP4ZEYA0/s72-c/jquery_search_text_in_html_table.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.a2ztechguide.com/2011/11/jquery-to-search-text-in-html-table.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUIAQXwzcSp7ImA9WhRREkk.&quot;"><id>tag:blogger.com,1999:blog-5901657631438151666.post-8227759086943185565</id><published>2011-11-24T23:44:00.002+05:30</published><updated>2011-11-26T00:29:00.289+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-26T00:29:00.289+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="Frameworks" /><category scheme="http://www.blogger.com/atom/ns#" term="Spring" /><title>Spring MVC Exception Handling Tutorial</title><summary type="html">This post explains ways to handle exceptions in Spring MVC. Exception handling is always recommended in application and all exceptions should be handled gracefully to show a valid message to end user in case of exception.

In web.xml, you can map a custom error page to an exception:
&amp;lt;error-page&amp;gt;            &amp;lt;error-code&amp;gt;404&amp;lt;/error-code&amp;gt;            &amp;lt;location&amp;gt;/WEB-INF/pages/404.jsp&amp;lt;/location&amp;gt;  &amp;lt;/&lt;img src="http://feeds.feedburner.com/~r/A2ztechguide/~4/z62oZkm5_UY" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.a2ztechguide.com/feeds/8227759086943185565/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.a2ztechguide.com/2011/11/spring-mvc-exception-handling-tutorial.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/8227759086943185565?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/8227759086943185565?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/A2ztechguide/~3/z62oZkm5_UY/spring-mvc-exception-handling-tutorial.html" title="Spring MVC Exception Handling Tutorial" /><author><name>Sandeep Kumar</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-MIFJzEeZ2FM/Ts5tUi4Ln8I/AAAAAAAAAXk/CHOzmRmAtPw/s72-c/spring_mvc_exception_handling_tutorial.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.a2ztechguide.com/2011/11/spring-mvc-exception-handling-tutorial.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkcMQ3s7eCp7ImA9WhRSF0Q.&quot;"><id>tag:blogger.com,1999:blog-5901657631438151666.post-4575440150477269376</id><published>2011-11-20T17:24:00.000+05:30</published><updated>2011-11-20T17:24:42.500+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-20T17:24:42.500+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Spring Security" /><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="Frameworks" /><title>Spring Security login example using database</title><summary type="html">
This post explains how to use database to do the form-based login authentication in Spring Security 3.
Technologies used:
1) Spring 3.0.5.RELEASE2) Spring Security 3.0.5.RELEASE3) Spring JDBC 3.0.5.RELEASE4) MySQL 5.15) JSTL 1.26) Eclipse (Indigo Release)7) JDK 1.68) Maven 3
NOTE: Spring Security 3.0 requires a Java 5.0 Runtime Environment or higher.
My last post Spring Security 3 – Form Login &lt;img src="http://feeds.feedburner.com/~r/A2ztechguide/~4/Jj-MkksQvH0" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.a2ztechguide.com/feeds/4575440150477269376/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.a2ztechguide.com/2011/11/spring-security-login-example-using.html#comment-form" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/4575440150477269376?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/4575440150477269376?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/A2ztechguide/~3/Jj-MkksQvH0/spring-security-login-example-using.html" title="Spring Security login example using database" /><author><name>Sandeep Kumar</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-DmdI4qUgSaU/TrQsPv__hyI/AAAAAAAAAVM/c3vU4qzQAqY/s72-c/images1.jpg" height="72" width="72" /><thr:total>3</thr:total><feedburner:origLink>http://www.a2ztechguide.com/2011/11/spring-security-login-example-using.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEABRnY_eCp7ImA9WhRSFUg.&quot;"><id>tag:blogger.com,1999:blog-5901657631438151666.post-2281206346582861647</id><published>2011-11-17T23:27:00.001+05:30</published><updated>2011-11-17T23:29:17.840+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-17T23:29:17.840+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="Frameworks" /><category scheme="http://www.blogger.com/atom/ns#" term="Spring" /><title>Spring + Quartz scheduler integration example</title><summary type="html">

This tutorial explains how to do task scheduling in Spring using Quartz scheduler framework. Spring actually integrates well with Quartz and works beautifully.
1. Make a Scheduler Task 
Make a normal java class and create a scheduler task in it. Below SchedulerTask.java has a method printCurrentTime() we want to schedule. This method print current time on console in every one minute.
package &lt;img src="http://feeds.feedburner.com/~r/A2ztechguide/~4/sNMbeGGSxn4" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.a2ztechguide.com/feeds/2281206346582861647/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.a2ztechguide.com/2011/11/spring-quartz-scheduler-integration.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/2281206346582861647?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/2281206346582861647?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/A2ztechguide/~3/sNMbeGGSxn4/spring-quartz-scheduler-integration.html" title="Spring + Quartz scheduler integration example" /><author><name>Sandeep Kumar</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-uod9GJ8_L78/TsU9Jh4ZdFI/AAAAAAAAAW0/JBGnDAcQsxU/s72-c/logo-quartz-scheduler.png" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://www.a2ztechguide.com/2011/11/spring-quartz-scheduler-integration.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8DRXczfyp7ImA9WhRSFEs.&quot;"><id>tag:blogger.com,1999:blog-5901657631438151666.post-4951941530314494849</id><published>2011-11-16T23:04:00.000+05:30</published><updated>2011-11-16T23:04:34.987+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-16T23:04:34.987+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="Frameworks" /><category scheme="http://www.blogger.com/atom/ns#" term="Spring" /><title>How to display user defined error messages in Spring Security</title><summary type="html">
In case of error, Spring Security displays predefined error messages. For Example when authentication is failed, following predefined error messages will be displayed :
Spring display : Bad credentials
Spring Security stored messages in “messages.properties” inside “spring-security-core.jar“, see below snapshot:


This post explains how to override Spring's error messages and display your custom&lt;img src="http://feeds.feedburner.com/~r/A2ztechguide/~4/ex4_Mwrxp90" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.a2ztechguide.com/feeds/4951941530314494849/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.a2ztechguide.com/2011/11/how-to-display-user-defined-error.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/4951941530314494849?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/4951941530314494849?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/A2ztechguide/~3/ex4_Mwrxp90/how-to-display-user-defined-error.html" title="How to display user defined error messages in Spring Security" /><author><name>Sandeep Kumar</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/--DwxjLMkaSI/TrC3gWr-EnI/AAAAAAAAAUE/y82WsTD2mGM/s72-c/images+%25281%2529.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.a2ztechguide.com/2011/11/how-to-display-user-defined-error.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUIEQXg9cCp7ImA9WhRSFEs.&quot;"><id>tag:blogger.com,1999:blog-5901657631438151666.post-7254918408370728482</id><published>2011-11-16T22:41:00.000+05:30</published><updated>2011-11-16T22:41:40.668+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-16T22:41:40.668+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="Frameworks" /><category scheme="http://www.blogger.com/atom/ns#" term="Spring" /><title>Get current logged in user's username in Spring Security</title><summary type="html">
This post explains three ways to get current logged in user's username in Spring Security.
1. Using SecurityContextHolder + Authentication.getName()
Inside the SecurityContextHolder we store details of the user currently interacting with the application. Spring Security uses an Authentication object to represent this information. You won't normally need to create an Authentication object &lt;img src="http://feeds.feedburner.com/~r/A2ztechguide/~4/dAVNmEMvtJ4" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.a2ztechguide.com/feeds/7254918408370728482/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.a2ztechguide.com/2011/11/get-current-logged-in-users-username-in.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/7254918408370728482?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/7254918408370728482?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/A2ztechguide/~3/dAVNmEMvtJ4/get-current-logged-in-users-username-in.html" title="Get current logged in user's username in Spring Security" /><author><name>Sandeep Kumar</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-tLqoe7bP3M0/TsPsLIfZ-ZI/AAAAAAAAAWY/NNPPzDOET-Q/s72-c/images.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.a2ztechguide.com/2011/11/get-current-logged-in-users-username-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0YDRX06eCp7ImA9WhRSFU4.&quot;"><id>tag:blogger.com,1999:blog-5901657631438151666.post-8362528728516482767</id><published>2011-11-13T16:14:00.002+05:30</published><updated>2011-11-17T19:42:54.310+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-17T19:42:54.310+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="Maven" /><category scheme="http://www.blogger.com/atom/ns#" term="Frameworks" /><category scheme="http://www.blogger.com/atom/ns#" term="Spring" /><title>Spring Security 3 – Form Login and Logout Tutorial</title><summary type="html">By default, Spring Security provides a login form if login form is not provided, Spring Security 3 – MVC integration Tutorial demonstrates this. In this post we will enhance this and show how to use custom login form and use it in Spring Security to authenticate user.

Technologies used:

1) Spring 3.0.5.RELEASE2) Spring Security 3.0.5.RELEASE3) JSTL 1.24) Eclipse (Indigo Release)5) JDK 1.66) &lt;img src="http://feeds.feedburner.com/~r/A2ztechguide/~4/pSeJPb9vG5o" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.a2ztechguide.com/feeds/8362528728516482767/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.a2ztechguide.com/2011/11/spring-security-3-form-login-and-logout_13.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/8362528728516482767?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/8362528728516482767?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/A2ztechguide/~3/pSeJPb9vG5o/spring-security-3-form-login-and-logout_13.html" title="Spring Security 3 – Form Login and Logout Tutorial" /><author><name>Sandeep Kumar</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/--DwxjLMkaSI/TrC3gWr-EnI/AAAAAAAAAUE/y82WsTD2mGM/s72-c/images+%25281%2529.jpg" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://www.a2ztechguide.com/2011/11/spring-security-3-form-login-and-logout_13.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkIDSHs8eSp7ImA9WhRSEUo.&quot;"><id>tag:blogger.com,1999:blog-5901657631438151666.post-8840285338248260006</id><published>2011-11-05T00:39:00.003+05:30</published><updated>2011-11-13T13:19:39.571+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-13T13:19:39.571+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="Maven" /><category scheme="http://www.blogger.com/atom/ns#" term="Frameworks" /><category scheme="http://www.blogger.com/atom/ns#" term="Spring" /><title>Spring Security 3 – MVC integration Tutorial</title><summary type="html">
This post explains how to integrate Spring Security with minimal configuration in a simple Spring 3 MVC application. Spring security adds security feature to web application and it is highly customizable. We can also implement "user defined" security checks.

Technologies used:
1) Spring 3.0.5.RELEASE2) Spring Security 3.0.5.RELEASE3) Eclipse (Indigo Release)4) JDK 1.65) Maven 3
NOTE: Spring &lt;img src="http://feeds.feedburner.com/~r/A2ztechguide/~4/2X_SvKHyZGo" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.a2ztechguide.com/feeds/8840285338248260006/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.a2ztechguide.com/2011/11/spring-security-3-mvc-integration.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/8840285338248260006?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/8840285338248260006?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/A2ztechguide/~3/2X_SvKHyZGo/spring-security-3-mvc-integration.html" title="Spring Security 3 – MVC integration Tutorial" /><author><name>Sandeep Kumar</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-DmdI4qUgSaU/TrQsPv__hyI/AAAAAAAAAVM/c3vU4qzQAqY/s72-c/images1.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.a2ztechguide.com/2011/11/spring-security-3-mvc-integration.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkANSX85fip7ImA9WhRTEks.&quot;"><id>tag:blogger.com,1999:blog-5901657631438151666.post-7088406959962617972</id><published>2011-11-03T00:25:00.003+05:30</published><updated>2011-11-03T00:36:38.126+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-03T00:36:38.126+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="Maven" /><category scheme="http://www.blogger.com/atom/ns#" term="Frameworks" /><category scheme="http://www.blogger.com/atom/ns#" term="Spring" /><title>Spring 3 MVC Eclipse Project using Maven</title><summary type="html">
This post explains how to develop simple Spring 3 MVC Hello World Eclipse Project using Maven.  
Technologies used:
1) Spring 3.0.5.RELEASE2) JDK 1.63) Maven 34) Eclipse (Indigo Release) 
Steps to create Maven Project in Eclipse
m2eclipse offers the ability to create a Maven project in Eclipse. Please make sure that Maven is configured in windows and m2eclipse is installed in Eclipse. If needed,&lt;img src="http://feeds.feedburner.com/~r/A2ztechguide/~4/zoT9aa7wWE0" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.a2ztechguide.com/feeds/7088406959962617972/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.a2ztechguide.com/2011/11/spring-3-mvc-eclipse-project-using.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/7088406959962617972?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/7088406959962617972?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/A2ztechguide/~3/zoT9aa7wWE0/spring-3-mvc-eclipse-project-using.html" title="Spring 3 MVC Eclipse Project using Maven" /><author><name>Sandeep Kumar</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/--DwxjLMkaSI/TrC3gWr-EnI/AAAAAAAAAUE/y82WsTD2mGM/s72-c/images+%25281%2529.jpg" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://www.a2ztechguide.com/2011/11/spring-3-mvc-eclipse-project-using.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMNQnkzcCp7ImA9WhdbGEo.&quot;"><id>tag:blogger.com,1999:blog-5901657631438151666.post-2513848319907930971</id><published>2011-10-17T23:02:00.001+05:30</published><updated>2011-10-17T23:14:53.788+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-17T23:14:53.788+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><title>Setting Environment Variables JAVA_HOME, PATH and CLASSPATH in Java in Windows</title><summary type="html">
After Java installation our second step is to set environment variables PATH, CLASSPATH and JAVA_HOME for compiling and running of Java applications. Let's discuss them one by one.
PATH (For Windows Users) 
When we launch any program from command line prompt, operating system use PATH environment variable to locate executable programs. In other words, PATH maintains a list of directories for &lt;img src="http://feeds.feedburner.com/~r/A2ztechguide/~4/4cQbRY614UI" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.a2ztechguide.com/feeds/2513848319907930971/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.a2ztechguide.com/2011/10/setting-environment-variables-javahome.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/2513848319907930971?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/2513848319907930971?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/A2ztechguide/~3/4cQbRY614UI/setting-environment-variables-javahome.html" title="Setting Environment Variables JAVA_HOME, PATH and CLASSPATH in Java in Windows" /><author><name>Sandeep Kumar</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-myElCG4oTfo/TjdtHWGo_sI/AAAAAAAAAM0/2QBlq8S3JIE/s72-c/java1.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.a2ztechguide.com/2011/10/setting-environment-variables-javahome.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0AMQX09cCp7ImA9WhdbF04.&quot;"><id>tag:blogger.com,1999:blog-5901657631438151666.post-6836468103233835397</id><published>2011-10-16T08:50:00.002+05:30</published><updated>2011-10-16T08:59:40.368+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-16T08:59:40.368+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Open Source" /><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse" /><category scheme="http://www.blogger.com/atom/ns#" term="Maven" /><title>Steps to install Maven M2eclipse Core Components into Eclipse</title><summary type="html">
Installation of m2eclipse Core Components includes installing the entire core Wizards, the POM Editor, Maven Repository integration and Maven integration. 
m2eclipse Core Update Site: http://m2eclipse.sonatype.org/sites/m2e
Below are the steps to install it (in my case I’m using Eclipse Indigo Release)
1) Open Eclipse and select Help &amp;gt; Install New Software. This will open Install dialog box.

2)&lt;img src="http://feeds.feedburner.com/~r/A2ztechguide/~4/mie_0LGL6NE" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.a2ztechguide.com/feeds/6836468103233835397/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.a2ztechguide.com/2011/10/steps-to-install-maven-m2eclipse-core.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/6836468103233835397?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/6836468103233835397?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/A2ztechguide/~3/mie_0LGL6NE/steps-to-install-maven-m2eclipse-core.html" title="Steps to install Maven M2eclipse Core Components into Eclipse" /><author><name>Sandeep Kumar</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-k9jjDY7O5M8/TppH61aYTDI/AAAAAAAAARI/fSiztzuZWZQ/s72-c/Maven+pic+2.jpg" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://www.a2ztechguide.com/2011/10/steps-to-install-maven-m2eclipse-core.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk4MRHs5fSp7ImA9WhdUF0Q.&quot;"><id>tag:blogger.com,1999:blog-5901657631438151666.post-8260230422445554493</id><published>2011-10-05T09:40:00.002+05:30</published><updated>2011-10-05T11:39:45.525+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-05T11:39:45.525+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Sci/Tech" /><title>Apple unveils iPhone 4S; but no iPhone 5</title><summary type="html">On October 4th, Apple unveils iPhone 4s defying expectations of people eagerly waiting for iPhone 5. iPhone 4s phone has no major design changes and looks exactly like old one. Apple insist that iPhone 4s is loaded with many new features. iPhone 5 is likely to come in late 2012 or early 2013. This phone is an upgraded version of iPhone 4. Apple with launch of this phone also launched IOS 5, &lt;img src="http://feeds.feedburner.com/~r/A2ztechguide/~4/6Unkz8rfpyM" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.a2ztechguide.com/feeds/8260230422445554493/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.a2ztechguide.com/2011/10/apple-unveils-iphone-4s-but-no-iphone-5.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/8260230422445554493?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5901657631438151666/posts/default/8260230422445554493?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/A2ztechguide/~3/6Unkz8rfpyM/apple-unveils-iphone-4s-but-no-iphone-5.html" title="Apple unveils iPhone 4S; but no iPhone 5" /><author><name>Sandeep Kumar</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-044uCA-NeH0/TovY2v96nJI/AAAAAAAAAQw/qr7pY9lSxjw/s72-c/techspecs_black.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.a2ztechguide.com/2011/10/apple-unveils-iphone-4s-but-no-iphone-5.html</feedburner:origLink></entry></feed>
