Thursday, 19 July 2012

Spring Interview Questions


  1. What is Spring?
  2. Explain Spring?
  3. What are the different modules in Spring framework?
  4. What is the structure of Spring framework?
  5. What is the Core container module?
  6. What is Application context module?
  7. What is AOP module?
  8. What is JDBC abstraction and DAO module?
  9. What are object/relational mapping integration module?
  10. What is web module?

Servlet Interview Questions


  1. What is Servlet?
  2. Why is Servlet so popular? 
  3. What is servlet container? 
  4. When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
  5. If a servlet is not properly initialized, what exception may be thrown?
  6. Given the request path below, which are context path, servlet path and path info?
  7. What is filter? Can filter be used as request or response?
  8. When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?
  9. What is new in ServletRequest interface ? (Servlet 2.4) 
  10. Request parameter How to find whether a parameter exists in the request object?

MySql Interview Questins


  1. How do you start and stop MySQL on Windows?
  2. How do you start MySQL on Linux?
  3. Explain the difference between mysql and mysqli interfaces in PHP?
  4. What’s the default port for MySQL Server?
  5. What does tee command do in MySQL?
  6. Can you save your connection settings to a conf file?
  7. How do you change a password for an existing user via mysqladmin?
  8. Use mysqldump to create a copy of the database?
  9. Have you ever used MySQL Administrator and MySQL Query Browser?
  10. What are some good ideas regarding user security in MySQL?

JSP Interview Questions and Answers


  1. What is a JSP and what is it used for?
  2. What is difference between custom JSP tags and beans? 
  3. What are the two kinds of comments in JSP and what's the difference between them ?
  4. What is JSP technology?
  5. What is JSP page? 
  6. What are the implicit objects? 
  7. How many JSP scripting elements and what are they?
  8. Why are JSP pages the preferred API for creating a web-based client program?
  9. Is JSP technology extensible?
  10. Can we use the constructor, instead of init(), to initialize servlet? 

JSF interview Questions


  1. What is JSF?
  2. What is required for JSF to get started?
  3. What is JSF architecture?
  4. How JSF different from conventional JSP / Servlet Model?
  5. How the components of JSF are rendered? An Example
  6. How to declare the Navigation Rules for JSF?
  7. How do I configure the configuration file?
  8. How does JSF depict the MVC (a.k.a Model View Controller) model?
  9. What does it mean by rendering of page in JSF?
  10. What is JavaServer Faces?

JDBC Interview Questions and Answers


  1. What is JDBC?
  2. What's the JDBC 3.0 API? 
  3. Does the JDBC-ODBC Bridge support the new features in the JDBC 3.0 API? 
  4. Can the JDBC-ODBC Bridge be used with applets? 
  5. How do I start debugging problems related to the JDBC API?
  6. What is new in JDBC 2.0?
  7. How to move the cursor in scrollable resultset ?
  8. How to update a resultset programmatically?
  9. How can I use the JDBC API to access a desktop database like Microsoft Access over the network? 
  10. Are there any ODBC drivers that do not work with the JDBC-ODBC Bridge?

Wednesday, 18 July 2012

Java Interview Questions and Answer


  1. What is Collection API ?
  2. Is Iterator a Class or Interface? What is its use?
  3. What is similarities/difference between an Abstract class and Interface?
  4. Java Interview Questions - How to define an Abstract class?
  5. How to define an Interface in Java ?
  6. If a class is located in a package, what do you need to change in the OS environment to be able to use it?
  7. How many methods in the Serializable interface?
  8. How many methods in the Externalizable interface?
  9. What is the difference between Serializalble and Externalizable interface?
  10. What is a transient variable in Java?