You are on page 1of 4

Q1. What is a Servlet?

What is the difference between a Generic Servlet and HTTP


Servlet?

Q2 What are the life cycle methods of a servlet with diagram?

Q3xplain the Servlet Filter. Why do we need Servlet Filter

Q4 Write a Hello World Program using Servlets.

Q5.What is the difference between ServletConfig and ServletContext?

Q6. What are the different methods involved in the process of session
management in servlets?

Q7 what is different between RequestDisptachar and send redirect

2.JSP Server Page

Q1 What is JSP?What are the different Life-Cycle methods?

Q2 what is different between Servlet and jsp?

Q3Mention some important JSP Action Tags?

Q4 Q11. List down the major differences between the JSP Custom Tags and Java
Beans.

Ans: The Major Differences between JSP Custom Tags and Java Beans are as
follows:

Custom Tags Java Beans


Custom Tags can manipulate JSP content Java Beans cannot manipulate JSP con
Executing complex operations is simple Executing complex operations is diffic
Custom Tags are hard to set up Java Beans are simple to set up
Custom Tags are available only in JSP 1.1 Java Beans are used in all JSP 1.x vers

Q5 What are Implicit Objects in jsp?

Q6 What is java Bean?expali with example?

Q7 .Database connectivity in jsp


3 Java Server Faces

Q1 What is JSF (JavaServer Faces)? What are the benefits of JSF (JavaServer
Faces)? What are the features of JSF (JavaServer Faces)?

Q2 What is the life cycle of JSF (JavaServer Faces)?

Q3 What is managed bean in JSF (JavaServer Faces)?

Q4 What is UI Component h:inputText, ,h:outputText,h:commandButton tag in JSF


(JavaServer Faces)?

Q5 What is f:validateBean, f:validateDoubleRange, f:validateLength,


f:validateLongRangetag in JSF (JavaServer Faces)?

Q6 Connectivity in JSF

4.Hibernate

Q1 What is hibernate? What is ORM Tool?Aventage of hibernate

Q2. Explain Hibernate architecture With Digram

Q3 write a program in hibernate to store a data in database

1.Student.java
2.Configration file
3.Hiberanate,cfg.xml
4.Mapping file hibernate.mapping.xml

Q4 what is Hibernate Query Language ?expalin with example ?

Q5 Explain a MVC model with example

Q6 What are Native SQL in Hibernate?


5.Spring

Q1 what is a spring Framework?Explain with digram?

Q2 What are the features of Spring Framework?

Q3 What do you mean by IoC (Inversion of Control) Container?

Q4 What do you understand by Dependency Injection?

Q5 Explain Bean life cycle in Spring Bean Factory Container.

Q6 What is Spring AOP?

Q7 What is the Spring MVC framework

Q8. What is DispatcherServlet in Spring MVC? In other words, can you


explain the Spring MVC architecture?

You might also like