AJ Question Bank
AJ Question Bank
AJ Question Bank
Question Bank
Sr. No Question
4 Write an RMI application where client supplies two numbers and server response by
summing it. Provide your custom security policy for this application.
Sr. No Question
1 What is JDBC? WAP to get data from the user & save it into the table.
7 What are the differences between Java Bean and basic java class? Explain Java Bean
Architecture
9 Show the use of PreparedStatement object to run precompiled SQL statement. Also
write example of java snippet for PreparedStaement.
12 What is ResultSet interface. Write various method for ResultSet interface. Write a
code to update record using this interface.
Sr. No Question
1 What is a Session? How to set value and get value from session?
13 What is doFilter() method? What are its parameters? Give its use with proper
example.
15 What is servlet filters? Give the necessary API for filters and explain their use.
17 Give the characteristics of the HTTP protocol and explain the GET, HEAD and PUT
methods of the HTTP protocol.
Sr. No Question
2 Write a program to create a java class and call it in the JSP page.
4 What is the difference between a Servlet and a JSP? When would you use one over
the other?
8 Explain Directives. Give its type and explain any one in detail.
9 Explain JSP Object scope: (i) Page (ii) Request (iii) Session (iv) Application with
example.
10 Show the use of JSP page directive tag with its attributes.
11 Show the use of JSP inbuilt objects: request and response, with their use in
application.
12 What is XML tag library? Explain the XML core tags and show their use.
13 Write a JSP page to display your semester mark sheet. Give the necessary
files to deploy it.
14 Explain the action tags used to access the JavaBeans from a JSP page with
example.
15 Show the use of JSP inbuilt objects: request and response, with their use in application.
1 Draw the JSF request processing life cycle and briefly give the function of each
phase
6 Write a short note on JSF Facelets. List the JSF facelets tags and explain any two.
7 What is the JSF tag library? Explain any four html tag
3 What is HQL? How does it differ from SQL? Give its advantages.
14 What is the difference between first level cache and second level cache?
5 Write a java bean named “student” having roll no and name having getter & setter
methods. Write a JSP page to set the roll number and name for a student object and
then print them by reading from object.