Você está na página 1de 3

AJT Most Important Questions (Question Bank)

CHAPTER 1: Swing and applet


1.
2.
3.
4.
5.
6.
7.

Life Cycle of Applet.


How applet is secure in java?
Explain MVC architecture of swing.
Write a short note on JFC.
Diff between awt and swing.
What is awt? What are Limitations of awt?
Develop an arithmetic calculator using swing components.

CHAPTER 2: JDBC
1.
2.
3.
4.
5.
6.
7.
8.

Types of JDBC Drivers.


Explain working of jdbc-odbc bridge with example.
Explain role of Driver Manager, Driver and Connection in establishing database
connectivity.
Explain and differentiate between Statement, Prepared Statement, and Callable
Statement.
What is stored procedure? Explain the use of Callable Statement.
Explain the Result Set object. How to retrieve the results from it?
Explain Batch Update. List the related methods. Show its use with statement Object.
Explain the Transaction Management supported by JDBC.

CHAPTER 3: Network Programming


1.
2.
3.
4.
5.

Explain the following terms: i. IP Address ii.DNS iii. Socket iv. URL v. Inet Address
class
List and explain the important classes of java.net package.
Explain the URL Connection Class.
Write steps for Socket programming (TCP).
Write steps to perform Datagram Socket programming (UDP).

CHAPTER 4: RMI (Remote Method Invoke)


1.
2.
3.
4.
5.
6.
7.

Explain the different layers of RMI architecture: 1. Stub and skeleton Layer 2. Remote
Reference Layer 3. Transport Layer .
Explain the role and working of RMI Registry.
Explain naming service and directory service. Explain with examples.
What is JNDI? Explain its working and advantages.
Explain Serialization and its relation with RMI.
Explain Internationalization. Also explain the working of Locale and Resource Bundle.
Explain Property Resource Bundle class with suitable example.

CHAPTER 5: J2EE platform


1.
2.
3.
4.
5.
6.

Explain foll: i. Web Container ii. Deployment descriptor( web.xml) iii. Application
Server iv. Servletv. HTTP.
What is Enterprise Architecture? List all its logical layers along with the functions.
Explain 2-tier, 3-tier and n-tier architectures.
What is J2EE? Explain its features.
Explain J2EE Container in detail.
What is a web application? Explain its various components and modules.

CHAPTER 6: Servlets
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.

Compare Servlet, CGI, and fast CGI.


What is the meaning of HTTP specific servlets ?
Explain servlet life cycle.
Explain web.xml file. Give its structure and various elements. Write a sample web.xml
for a simple web application.
Explain parameter passing to servlet with example.
Explain the request and response headers.
Explain the different scopes for storing objects.
Explain Request Dispatcher with forward() and include().
Explain Session Tracking with suitable example.
What do you mean by cookies? Explain the java API for using cookies along with
suitable example.
Explain Filter, Filter Chain. Also explain its working and use.
Explain the life cycle of a filter.
List and explain the various types of servlet events.
What entries have to be made in the deployment descriptor corresponding to every servlet
and filter used in your web application?

CHAPTER 7: JSP (Java Service Pages)


1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.

List and Explain the various JSP Actions (Action tags).


Explain the 9 implicit objects available on any JSP page.
What is JSP? Compare it with servlets.
Explain the stages of JSP life cycle.
What are the elements of a Java Server Page. Explain purpose of each.
Explain the 3 types of directives in JSP.
Explain the use of scriplets and expressions along with the difference between them.
Explain the action tags used to access the java bean components stored in any of the
scope.
Explain the various types of EL expressions with example.
Explain the foll: i. Tag handler ii Classical tag handler iii Simple tag handler iv jstl.
What are custom tags? Explain their elements and features.
What is jstl? Explain its features.
What is sql tag library? Explain its features.

14.
15.

What is xml tag library? Explain its features.


What is Functions tag library? Explain its features.

CHAPTER 8: Hibernate
What is hibernate? Explain its need and benefits.
Draw and explain the hibernate architecture. Explain foll: i. HQL ii Hibernate Cache iii
Hibernate interfaces iv OR mapping.
3. What is OR mapping? Give an example of the Mapping file (XML format).
4. What is the importance of a configuration file (XML format)? Give an example.
5. Explain the steps to develop a hibernate web application.
1.
2.

Você também pode gostar