<?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-4040931447201625022</id><updated>2012-02-16T17:07:09.214-08:00</updated><category term='Core Java Interview Questions'/><category term='JDBC IQ'/><category term='Servlets and JSP Interview Question'/><title type='text'>Java J2ee IQA - PShankar</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://javastream-pshankar.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4040931447201625022/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://javastream-pshankar.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>pshankar</name><uri>http://www.blogger.com/profile/14963606180842627336</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://3.bp.blogspot.com/_DMtwGZyGZwI/SdpGzVd5veI/AAAAAAAAAAU/KH1RQKR9G3E/S220/100_0214.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4040931447201625022.post-8605459632201239964</id><published>2009-04-06T11:54:00.000-07:00</published><updated>2009-04-06T12:03:54.465-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Servlets and JSP Interview Question'/><title type='text'>Servlets And JSP IQ</title><content type='html'>&lt;span&gt;1. What are Servlets?&lt;br /&gt;2. What are advantages of servlets over CGI?&lt;br /&gt;3. Can you explain Servlet life cycle?&lt;br /&gt;4. What are the two important API’s in for Servlets?&lt;br /&gt;5. Can you explain in detail “javax.servlet” package?&lt;br /&gt;6. What’s the use of ServletContext?&lt;br /&gt;7. How do we define an application level scope for servlet?&lt;br /&gt;8. What's the difference between GenericServlet and HttpServlet?&lt;br /&gt;9. Can you explain in detail javax.servlet.http package?&lt;br /&gt;10. What’s the architecture of a Servlet package?&lt;br /&gt;11. Why is HTTP protocol called as a stateless protocol?&lt;br /&gt;12. What are the different ways we can maintain state between requests?&lt;br /&gt;13. What is URL rewriting?&lt;br /&gt;14. What are cookies?&lt;br /&gt;15. What are sessions in Servlets?&lt;br /&gt;16. What’s the difference between getSession(true) and getSession(false) ?&lt;br /&gt;17. What’s the difference between “doPost” and “doGet” methods?&lt;br /&gt;18. Which are the different ways you can communicate between servlets?&lt;br /&gt;19. What is functionality of “RequestDispatcher” object?&lt;br /&gt;20. How do we share data using “getServletContext ()”?&lt;br /&gt;21. Explain the concept of SSI?&lt;br /&gt;22. What are filters in JAVA?&lt;br /&gt;23. Can you explain in short how do you go about implementing filters using Apache Tomcat?&lt;br /&gt;24. Twist: - Explain step by step of how to implement filters?&lt;br /&gt;25. what’s the difference between Authentication and authorization?&lt;br /&gt;26. Explain in brief the directory structure of a web application?&lt;br /&gt;27. Can you explain JSP page life cycle?&lt;br /&gt;28. What is EL?&lt;br /&gt;29. how does EL search for an attribute?&lt;br /&gt;30. What are the implicit EL objects in JSP?&lt;br /&gt;31. How can we disable EL?&lt;br /&gt;32. what is JSTL?&lt;br /&gt;33. Can you explain in short what the different types of JSTL tags are?&lt;br /&gt;34. How can we use beans in JSP?&lt;br /&gt;35. What is tag for ?&lt;br /&gt;36. What are JSP directives?&lt;br /&gt;37. what are Page directives?&lt;br /&gt;38. what are include directives?&lt;br /&gt;39. Can you explain taglib directives?&lt;br /&gt;40. How does JSP engines instantiate tag handler classes instances?&lt;br /&gt;41. what’s the difference between JavaBeans and taglib directives?&lt;br /&gt;42 what are the different scopes an object can have in a JSP page?&lt;br /&gt;43. what are different implicit objects of JSP?&lt;br /&gt;44. what are different Authentication Options available in servlets?&lt;br /&gt;45. Can you explain how do we practically implement security on a resource?&lt;br /&gt;46. How do we practically implement form based authentication?&lt;br /&gt;47. How do we authenticate using JDBC?&lt;br /&gt;48. Can you explain JDBCRealm?&lt;br /&gt;49. Can you explain how do you configure JNDIRealm?&lt;br /&gt;50. How did you implement caching in JSP?&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4040931447201625022-8605459632201239964?l=javastream-pshankar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://javastream-pshankar.blogspot.com/feeds/8605459632201239964/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://javastream-pshankar.blogspot.com/2009/04/1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4040931447201625022/posts/default/8605459632201239964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4040931447201625022/posts/default/8605459632201239964'/><link rel='alternate' type='text/html' href='http://javastream-pshankar.blogspot.com/2009/04/1.html' title='Servlets And JSP IQ'/><author><name>pshankar</name><uri>http://www.blogger.com/profile/14963606180842627336</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://3.bp.blogspot.com/_DMtwGZyGZwI/SdpGzVd5veI/AAAAAAAAAAU/KH1RQKR9G3E/S220/100_0214.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4040931447201625022.post-4683378495669105732</id><published>2009-04-06T11:37:00.000-07:00</published><updated>2009-04-06T11:51:07.966-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JDBC IQ'/><title type='text'>JDBC IQ</title><content type='html'>1. How does JAVA interact with databases?&lt;br /&gt;2. Can we interact with non-relational sources using JDBC?&lt;br /&gt;3. Can you explain in depth the different sections in JDBC?&lt;br /&gt;4. Can you explain in short how you go about using JDBC API in code?&lt;br /&gt;5. How do you handle SQL exceptions?&lt;br /&gt;6. If there is more than one exception in SQLException” class how to go about displaying&lt;br /&gt;it?&lt;br /&gt;7. Explain Type1, Type2, Type3 and Type4 drivers in JDBC?&lt;br /&gt;8. What are the advantages and disadvantages of using JDBC-ODBC bridge driver?&lt;br /&gt;9. What are the advantages and disadvantages of using Native-API/ Partially Java Driver?&lt;br /&gt;10.What are the advantages and disadvantages of using Net-Protocol/ All-Java driver?&lt;br /&gt;11. What are the advantages and disadvantages of using Native-protocol/ All-Java driver?&lt;br /&gt;12. Define meta-data?&lt;br /&gt;13. What is DatabaseMetaData?&lt;br /&gt;14. Can you explain “ConnectionFactory” class?&lt;br /&gt;15. I want to display tables of a database how do I do it?&lt;br /&gt;16. Define “ResultSetMetaData”?&lt;br /&gt;17. What is the difference between “ResultSet” and “RowSet”?&lt;br /&gt;18. Can “ResultSet” objects be serialized?&lt;br /&gt;19. Can you explain “ResultSet”, “RowSet”, “CachedRowset”, “JdbcRowset” and&lt;br /&gt;“WebRowSet” relation ship?&lt;br /&gt;20. what are the different types of resultset?&lt;br /&gt;21. Explain the concept of “PreparedStatement “statement interface?&lt;br /&gt;22. What’s the difference between “Statement” and “PreparedStatement”?&lt;br /&gt;23. How can we call stored procedure using JDBC?&lt;br /&gt;24. Can you explain “CallableStatement” interface in detail?&lt;br /&gt;25. How do you get a resultset object from stored procedure?&lt;br /&gt;26. How can we do batch updates using “CallableStatement” Interface?&lt;br /&gt;27. Define transactions?&lt;br /&gt;28. what is ACID in transaction?&lt;br /&gt;29. what are the four essential properties of a transaction?&lt;br /&gt;30. Explain concurrency and locking?&lt;br /&gt;31. What are different types of locks?&lt;br /&gt;32. What are the different types of levels of resource on which locks can be placed?&lt;br /&gt;33. Define lock escalation?&lt;br /&gt;34. What is Table level and Row level locking?&lt;br /&gt;35. What are the problems that can occur if you do not implement locking properly?&lt;br /&gt;36. What are different transaction levels?&lt;br /&gt;37. Twist: - what are different types of locks?&lt;br /&gt;38. What is difference between optimistic and pessimistic locking?&lt;br /&gt;39. What are deadlocks?&lt;br /&gt;40. How can we set transaction level through JDBC API?&lt;br /&gt;41. Can you explain transaction control in JDBC?&lt;br /&gt;42. What are Savepoints in a transaction?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4040931447201625022-4683378495669105732?l=javastream-pshankar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://javastream-pshankar.blogspot.com/feeds/4683378495669105732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://javastream-pshankar.blogspot.com/2009/04/jdbc-iq.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4040931447201625022/posts/default/4683378495669105732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4040931447201625022/posts/default/4683378495669105732'/><link rel='alternate' type='text/html' href='http://javastream-pshankar.blogspot.com/2009/04/jdbc-iq.html' title='JDBC IQ'/><author><name>pshankar</name><uri>http://www.blogger.com/profile/14963606180842627336</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://3.bp.blogspot.com/_DMtwGZyGZwI/SdpGzVd5veI/AAAAAAAAAAU/KH1RQKR9G3E/S220/100_0214.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4040931447201625022.post-4242690053733956675</id><published>2009-04-06T11:29:00.000-07:00</published><updated>2009-04-06T11:32:03.567-07:00</updated><title type='text'>IQ On Threading</title><content type='html'>&lt;span&gt;1. What’s difference between thread and process?&lt;br /&gt;2. What is thread safety and synchronization?&lt;br /&gt;3. What is semaphore?&lt;br /&gt;4. What are monitors?&lt;br /&gt;5. What’s the importance of synchronized blocks?&lt;br /&gt;6. How do we create threads?&lt;br /&gt;7. what’s the difference in using runnable and extends in threads?&lt;br /&gt;8. Can you explain Thread.sleep?&lt;br /&gt;9. How to stop a thread?&lt;br /&gt;10. What is wait() and notify() ?&lt;br /&gt;11. Can you explain how Scheduling and Priority works in threads?&lt;br /&gt;12. Can you explain Yielding in threading?&lt;br /&gt;13. what are daemon threads?&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4040931447201625022-4242690053733956675?l=javastream-pshankar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://javastream-pshankar.blogspot.com/feeds/4242690053733956675/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://javastream-pshankar.blogspot.com/2009/04/iq-on-threading.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4040931447201625022/posts/default/4242690053733956675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4040931447201625022/posts/default/4242690053733956675'/><link rel='alternate' type='text/html' href='http://javastream-pshankar.blogspot.com/2009/04/iq-on-threading.html' title='IQ On Threading'/><author><name>pshankar</name><uri>http://www.blogger.com/profile/14963606180842627336</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://3.bp.blogspot.com/_DMtwGZyGZwI/SdpGzVd5veI/AAAAAAAAAAU/KH1RQKR9G3E/S220/100_0214.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4040931447201625022.post-4833223189551200217</id><published>2009-04-06T10:41:00.000-07:00</published><updated>2009-04-06T10:48:06.785-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Core Java Interview Questions'/><title type='text'>Core Java Q</title><content type='html'>&lt;span&gt;1. What is JVM (Java Virtual Machine)?&lt;br /&gt;2. What is JIT (Just-in-Time) Compilation?&lt;br /&gt;3. What is Object Oriented Programming?&lt;br /&gt;4. What’s a Class?&lt;br /&gt;5. What’s an Object?&lt;br /&gt;6. What’s the relation between Classes and Objects?&lt;br /&gt;7. What are different properties provided by Object-oriented systems?&lt;br /&gt;8. How do you implement inheritance in Java?&lt;br /&gt;9. How can we implement polymorphism in Java?&lt;br /&gt;10.What’s an interface and how will you go about implementing an interface?&lt;br /&gt;11. What is an Abstract class?&lt;br /&gt;12. What are Abstract methods?&lt;br /&gt;13. What’s the difference between “Abstract” classes and “Interfaces”?&lt;br /&gt;14. What’s difference between Static and Non-Static fields of a class?&lt;br /&gt;15. What are inner classes and what’s the practical implementation of inner classes?&lt;br /&gt;16. What are packages?&lt;br /&gt;17. What is a constructor in class?&lt;br /&gt;18. Can constructors be parameterized?&lt;br /&gt;19. Can you explain transient and volatile modifiers?&lt;br /&gt;20. What is the use if “instanceof ” keyword?&lt;br /&gt;21. What are Native methods in Java?&lt;br /&gt;22. Explain in depth Garbage collector?&lt;br /&gt;23. How does the garbage collector determine that the object has to be marked for deletion?&lt;/span&gt;&lt;br /&gt;&lt;span&gt;24. Can you explain “finalize()” method?&lt;br /&gt;25. How can we force the garbage collector to run?&lt;br /&gt;26. What’s the main difference between “Switch” and “If ” comparison?&lt;br /&gt;27. What’s the use of JAVAP tool?&lt;br /&gt;28. What are applets?&lt;br /&gt;29. In which package is the applet class located?&lt;br /&gt;30. What are native interfaces in Java?&lt;br /&gt;31. what are Class loader’s?&lt;br /&gt;32. what is Bootstrap, Extension and System Class loader?&lt;br /&gt;33. Can you explain the flow between bootstrap, extension and system class loader?&lt;br /&gt;34. Can you explain how can you practically do dynamic loading?&lt;br /&gt;35. How can you copy one array in to a different array?&lt;br /&gt;36. Can you explain the core collection interfaces?&lt;br /&gt;37. Can you explain in brief the collection classes which implement the collection interfaces?&lt;br /&gt;38. What’s the difference between standard JAVA array and ArrayList class?&lt;br /&gt;39. What’s the use of “ensureCapacity” in ArrayList class?&lt;br /&gt;40. How can we obtain an array from an ArrayList class?&lt;br /&gt;41. What is “LinkedList” class for?&lt;br /&gt;42. Can you explain HashSet class in collections?&lt;br /&gt;43. what is LinkedHashSet class?&lt;br /&gt;44. what is a TreeSet class?&lt;br /&gt;45. what’s the use of Comparator Interface?&lt;br /&gt;46. How can we access elements of a collection?&lt;br /&gt;47. What is Map and SortedMap Interface?&lt;br /&gt;48. Have you used any collection algorithm?&lt;/span&gt;&lt;br /&gt;&lt;span&gt;49. Can we create our own exception class?&lt;br /&gt;50. What are chained exceptions?&lt;br /&gt;51. What is serialization?&lt;br /&gt;52. How do we implement serialization actually?&lt;br /&gt;53. What’s the use of Externalizable Interface?&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4040931447201625022-4833223189551200217?l=javastream-pshankar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://javastream-pshankar.blogspot.com/feeds/4833223189551200217/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://javastream-pshankar.blogspot.com/2009/04/core-java-q.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4040931447201625022/posts/default/4833223189551200217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4040931447201625022/posts/default/4833223189551200217'/><link rel='alternate' type='text/html' href='http://javastream-pshankar.blogspot.com/2009/04/core-java-q.html' title='Core Java Q'/><author><name>pshankar</name><uri>http://www.blogger.com/profile/14963606180842627336</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://3.bp.blogspot.com/_DMtwGZyGZwI/SdpGzVd5veI/AAAAAAAAAAU/KH1RQKR9G3E/S220/100_0214.jpg'/></author><thr:total>1</thr:total></entry></feed>
