CoreJava Questions
CoreJava Questions
JDBC
1. What is JDBC.
2. How many interfaces in JDBC.
3. What is the difference between statement and prepared statement.
4. JDBC2.0 features.
5. JDBC 3.0 features.
6. Difference between ResultSet and RowSet.
7. Explain Connection pooling
8. What is the difference between pool and cache .
9. What is the difference between DriverManager and DataSource.
SERVLET
1. What is servlet.
2. How many ways we can crete servlet
3. Difference between GenericServlet and HttpServlet.
4. What is servlet config.
5. What is servlet contex.
6. Difference between servlet cofig and servlet context.
7. What is session tracking.
8. How many way’s we can create session tracking.
9. What is the difference between forward and sendRedirect mechanism .
10.What is cookie.
11.What is the difference between cookie and session.
12.How to create cookie.
13.How many types of cookies is their.
14.How to set session time out.
15.Difference between doGet() and doPost().
16.Why HttpServlet class given as abstract.
JSP
1. What is JSP.
2. How many phases in JSP.
3. Difference between servlet and jsp.
4. What is declarative tag in jsp.
5. How handle exceptions in jsp.
6. How many implicit objects in jsp.
7. Difference between include directive and include action.
8. How many page attributes in jsp.
9. How to create custom tags in jsp.
10.What is JSTL.
11.How many types of tag libs in JSTL.
STRUTS
Hibernate
1. What is hibernate.
2. Why we use hibernate.
3. What is the difference between JDBC and Hibernate.
4. Explain hibernate configuration file.
5. How many types of generators are available in hibernate.
6. What is table per class.
7. What is table per sub class .
8. What is table per concrete class .
9. What is HQL.
10.What is the difference between HQL and CreteriaAPI.
11.Why in nativeSQL.
12.What is entity query.
13.What is scalar query.
14.What is named query.
15.Relation ships(one-to-many, many-to-one, many-to-many).
SPRING
1. What is spring.
2. What is spring IOC.
3. What is Dependency look up.
4. What is dependency injection.
5. How many types of dependency injections are their in spring.
6. Bean scopes.
7. Bean auto-wiring.
8. Difference between setter injection and constructor injection.
9. How many types of bean factory’s in spring
10. Where you used spring in your project.