0% found this document useful (0 votes)
5 views2 pages

Java WebTech Viva 10 Questions

The document outlines key questions and answers related to Java Web Technologies, including topics such as Java Networking, JDBC, Servlets, JSP, JSF, Hibernate, and more. It highlights the differences between various components like Socket and ServerSocket, Statement and PreparedStatement, as well as defines concepts like Cookies and Sessions. Additionally, it mentions tools and frameworks like PrimeFaces and HQL relevant to Java development.

Uploaded by

pitape4086
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views2 pages

Java WebTech Viva 10 Questions

The document outlines key questions and answers related to Java Web Technologies, including topics such as Java Networking, JDBC, Servlets, JSP, JSF, Hibernate, and more. It highlights the differences between various components like Socket and ServerSocket, Statement and PreparedStatement, as well as defines concepts like Cookies and Sessions. Additionally, it mentions tools and frameworks like PrimeFaces and HQL relevant to Java development.

Uploaded by

pitape4086
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Java Web Technologies Viva: 10 Important Questions

1. What is Java Networking?


Java Networking is used for communication between computers using [Link] package.

2. Difference between Socket and ServerSocket?


Socket is used by client. ServerSocket is used by server to accept requests.

3. What is JDBC?
JDBC stands for Java Database Connectivity. It connects Java with databases like MySQL and Oracle.

4. Steps of JDBC connection?


Load driver, create connection, create statement, execute query, close connection.

5. What is Servlet?
Servlet is a Java program that runs on server and handles client requests.

6. What is Servlet Life Cycle?


init(), service(), destroy().

7. What is JSP?
JSP stands for Java Server Pages. Used to create dynamic web pages.

8. What are JSP implicit objects?


request, response, session, application, out, config, pageContext.

9. What is JSF?
JSF stands for JavaServer Faces. It is a component-based web framework.

10. What is Hibernate?


Hibernate is an ORM framework that maps Java objects to database tables.

Bonus: What is Cookie?


Cookie stores small user data in browser.

Bonus: What is Session?


Session tracks user activity between requests.

Bonus: Difference between Statement and PreparedStatement?


PreparedStatement is faster and more secure.

Bonus: What is HQL?


Hibernate Query Language used in Hibernate.

Bonus: What is PrimeFaces?


PrimeFaces is a UI component library for JSF.

You might also like