Professional Documents
Culture Documents
1. Write a client-server program using TCP sockets to echo the message send by the client.
2. Write a client-server application using TCP Sockets where client can send message
and server respond with the reverse of them.
3. Write a client-server program using UDP socket. Client send list of N numbers to server and server
respond the sum of N numbers.
4. List the different types of JDBC drivers. Compare the various driver types for their advantages and
disadvantages.
6. What is CallableStatement? Show that how to use it to call a stored procedure running
at database layer.
9. Write a Web application using servlet to find the sum of all the digits of an input integer.
14. Write a Java Servlet of registration form to insert given details into database.
15. Write a Login servlet. Take input username and password from html file login.html and
authenticate the user. Write the web.xml.
17. Develop a jsp code which reads the student detail from web page and stores it in database.
21. List the JSTL core tags and explain any two with example.
22. 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.
23. Develop JSP page to display student information with subjects for particular semester
from database.
25. List the JSF facelets tags and explain any two.
26. List the JSF validation tags and explain any two.
28. Explain Hibernate Architecture and Object Relation Mapping in Hibernate with java code
and required XML files.
29. What is hibernate? What is main advantage of using hibernate than using SQL?
30. Develop program to get all students data from database using hibernate. Write necessary
xml files.