PDF Google Drive Downloader v1.1


Report a problem

Content text 3160707 - AJP 2022W.pdf

1 Seat No.: ________ Enrolment No.___________ GUJARAT TECHNOLOGICAL UNIVERSITY BE - SEMESTER–VI(NEW) EXAMINATION – WINTER 2022 Subject Code:3160707 Date:17-12-2022 Subject Name:Advanced Java Programming Time:02:30 PM TO 05:00 PM Total Marks:70 Instructions: 1. Attempt all questions. 2. Make suitable assumptions wherever necessary. 3. Figures to the right indicate full marks. 4. Simple and non-programmable scientific calculators are allowed. Q.1 (a) 1) How do you get the IP address of a machine from its hostname? 2) List out the important methods of HttpServletResponse. 3) What are the attributes for the JSP page directive? 03 (b) 1) What is the function of a SessionFactory object? How will you obtain such an object? 2) How can you apply JSF Input Validation using input validators? 04 (c) What do you mean by session tracking? What are the session tracking techniques? Demonstrate any of them. 07 Q.2 (a) What are the differences between a TCP socket and UDP socket? How are they created in Java? 03 (b) Differentiate ServletConfig and ServletContext. 04 (c) What is connection URL? How do you make a database connection? Explain various ways to make the database connection using JDBC code snippets. 07 OR (c) What is JDBC driver? Explain its role and compare various JDBC drivers. 07 Q.3 (a) What is the use of PreparedStatement? How will you use it? 03 (b) What is filter? How will you configure filter using deployment descriptor? 04 (c) What are the directive tags of JSP? Write a JSP page to demonstrate the use of them. 07 OR Q.3 (a) What is the use of CallableStatement? How will you use it? 03 (b) What is FilterConfig? How will you use it? 04 (c) What are the implicit objects of JSP? Write a JSP page to demonstrate the use them. 07 Q.4 (a) What is EL? Write a code snippet to show the use of method expressions in JSF page. 03 (b) How will you use and ? 04 (c) Develop a web application as following to demonstrate the use of .  Create a Java Bean named Employee with attributes name and age.  Create a web page to set the properties of Employee using .  Create a web page to display the properties of Employee using . 07 OR Q.4 (a) What is JSTL? Write a code snippet to show the use of flow control tags. 03 (b) Write a code snippet to show the use of JSF action event. 04

Related document

x
Report download errors
Report content



Download file quality is faulty:
Full name:
Email:
Comment
If you encounter an error, problem, .. or have any questions during the download process, please leave a comment below. Thank you.