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

Updated Question Bank Adv JAVA

Uploaded by

Aditya Lavhale
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)
8 views2 pages

Updated Question Bank Adv JAVA

Uploaded by

Aditya Lavhale
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
You are on page 1/ 2

ADVANCED JAVA PROGRAMMING

QUESTION BANK

Q.1 Describe why JDBC used for?


Q.2 Describe JDBC used for
Q.3 List three types of hibernate
Q.4 How JSP more Advantageous than servlet
Q.5 Describe the objects in JavaScript
Q.6 Illustrate basics of servlets
Q.7 Difference between servlets & JSP
Q.8 Describe the tags in JavaScript
Q.9 Explain concept of cookies
Q.10 Define dynamic contents in JSP
Q.11 List the steps involved in establishing steps a connection in database in JDBC
Q.12 Describe hibernate and explain its role in java application development
Q.13 Define web service connection statements
Q.14 Explain the collection mapping in hibernate

UNIT I

Q.1 Discuss four types of JDBC drivers.


Q.2 List and explain 5 steps to connect any java application with database using JDBC.
Q.3 Explain stored procedure with the help of example.
Q.4 Differentiate between a Statement and a Prepared Statement in JDBC.
Q.5 Create a stored procedure in your database, and develop a java program that calls and executes it
using Callable Statement.
Q.6 Explain the concept of different Result Set types in JDBC.
Q.7 Describe each parameter (URL, username, password) represents.

UNIT II
Q.1 Discuss how many steps are there in a servlets life cycle.
Q.2 Define Servlet chaining; what is request dispatch in a context of a java web application.
Q.3 Explain following methods in cookies.
 Clone()
 getComment()
 getDomain()
 getName()
 getPath()
Q.4 Analyze the difference between server-side includes and request forwarding in Servlets.
Q.5 Describe the concept of request forwarding in the context of Java servlets. Explain how it differs
from HTTP redirects.
Q.6 Analysis the difference between server side include and request forwarding in servlets

UNIT III
Q.1 List & Explain JSP Elements with syntax.
Q.2 Illustrate different steps are involved in JSP life cycle
Q.3 How to display data from an array list of more than one bin on JSP page using scripting &JSP tags.
Q.4 Analyze the different scopes of a JavaBean in JSP, Compare and contrast them.
Q.5 Describe how JSP pages handle client requests. Explain the role of the service () method, and how is
the dynamic content generated during the execution phase?
Q.6 Explain the following with example - Bean instances ii) Bean scopes.
Q.7 Explain the steps involved in setting up the environments in JSP development

UNIT IV
Q.1 If the relational operator such as (less than equal) <= used in same kind of expression as a logical
Operator such as &&? Explain
Q.2 Write a java Script code to show example of global variable & local variable.
Q.3 Explain the purpose of the switch statement in JavaScript. Provide an example illustrating its syntax
and usage.
Q.4 Differentiate between mouse events and keyboard events in JavaScript. Provide examples of handling
both types of events.
Q.5 Write a JavaScript expression to concatenate two strings stored in variables first Name' and last
Name'.
Q.6 Evaluate the role of event handling in JavaScript. Provide examples of common events.
Q.7 Design a web form using HTML and Implement JavaScript code to validate user input.

UNIT V
Q.1 List & Explain key components of Hibernate with Hibernate architecture in details?
Q.2 Prepare following file for automatic table creation in hibernate. Using MySQL database using id
&name attributes
a. Hibernate.CFG.XMLfile
b. Student.HBM.XMLfile
c. Student.javafile
Q.3 Describe Hibernate O/R Mappings in detail.& Explain the purpose
Q.4 Write a Hibernate Query Language (HQL) statement to retrieve data from a database table.
Q.5 Describe hibernate query language and its uses in hibernate application

You might also like