Subject Code: 2160707
GUJARAT TECHNOLOGICAL UNIVERSITY
--- Content provided by FirstRanker.com ---
BE - SEMESTER- VI (New) EXAMINATION - WINTER 2019Subject Name: Advanced Java
Time: 02:30 PM TO 05:00 PM Date: 06/12/2019 Total Marks: 70
Instructions:
- Attempt all questions.
- Make suitable assumptions wherever necessary.
- Figures to the right indicate full marks.
--- Content provided by FirstRanker.com ---
Q.1
- Write difference between statement and prepared statement interface. (03)
- Write a sample code to store image in Database. (04)
- Explain JDBC Transaction Management in detail. (07)
--- Content provided by FirstRanker.com ---
Q.2
- List types of driver used in JDBC. Explain Thin driver. (03)
- Write a sample code for client send a “Hello” message to server. (04)
- What is ResultSet interface. Write various method for ResultSet interface. Write a code to update record using this interface. (07)
--- Content provided by FirstRanker.com ---
OR
- List the JSF validation tag and explain any Two. (07)
Q.3
- List page directive in JSP? Explain any two with example (03)
- Draw the JSF request processing life cycle and list various stage. (04)
- List and Explain various stages of Servlet life cycle. (07)
--- Content provided by FirstRanker.com ---
OR
- Explain use of ServletConfig and ServletContext object with example (03)
- Write difference between (1) Generic Servlet and Http Servlet (2) doGet and doPost (04)
- List and explain various phases of JSP-life cycle? (07)
--- Content provided by FirstRanker.com ---
Q.4
- Explain use of <jsp:useBean> action tag with example (03)
- Explain Request and Response object in Servlet. (04)
- Write a web application which takes id, name, mobile no, semester, marks, percentage pass to servlet."Servlet forward to model class having method getid(), getname(), getmobno(), getsem(), getmarks() and getPercentage(). Display all the information in .jsp page (07)
OR
--- Content provided by FirstRanker.com ---
- Write working of session management in servlet. (03)
- List JSP implicit object? Explain any two with example. (04)
- Write a student bean class with property student id, name, semester, address and percentage. Write jsp page to set and display all property (07)
Q.5
- What is HQL? Write difference between HQL and SQL? (03)
- List the JSF facelets tags and explain any two. (04)
- Explain Spring Bean life cycle phases. (07)
--- Content provided by FirstRanker.com ---
OR
- What is Spring IoC container (03)
- Explain working of JSF expression language. (04)
- What is ORM? Explain object/relational mappings in hibernate (07)
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
This download link is referred from the post: GTU BE/B.Tech 2019 Winter Question Papers || Gujarat Technological University