Document Details

WellManneredTurkey

Uploaded by WellManneredTurkey

K. M. Agrawal College

unknown

Tags

enterprise java programming java computer science

Full Transcript

20...

20 9 A 7 9 2A B4 71 Paper / Subject Code: 53706 / Enterprise Java 40 8B A5 7A 20 C2 A9 B9 B4 71 40 6A 52 98 7A 20 C2 (2½ Hours) A B2 A B4 71 0 6A [Total Marks: 75] 52 1D 4 7A 0 C2 1A 2 2 C0 B B4 40 A 1D 7 N. B.: (1) All questions are compulsory. 73 6 A 20 2 B2 C C0 07 CF (2) Make suitable assumptions wherever necessary and state the assumptions made. B4 71 A D 04 73 B9 26 (3) Answers to the same question must be written together. 7A C2 01 2 F DB 98 B4 (4) Numbers to the right indicate marks. C 0 C 6A 04 3 B9 2A C2 1 (5) Draw neat labeled diagrams wherever necessary. 7 2 42 0 F DB 98 A5 C 9C A (6) Use of Non-programmable calculators is allowed. 2B 3 2A 26 01 71 F7 B AC DB 8 A5 B4 3C 7A C 9 1. Attempt any three of the following: 15 9 2A 26 C2 01 1 F7 40 8B 7 a. What are the different types of Containers in Java Enterprise Edition? DB 5 C 7A 9C 20 6A 9 A 3 A b. Write a servlet program in Java using JDBC to accept the Customer details such as B4 1 1 F7 0 8B 2 2 0 A7 4 DB 5 Customer ID, Customer Name and Contact No. from the user via HTML form and store C C 0 C2 9 1A 2 3 7 9 A 4 1 the same in the database. F7 40 B 6A 52 B 0 7 B 8 3C A 9C 20 C2 c. What are the life cycle methods of a servlet? Describe with suitable diagram. 9 1D A B2 07 2A B4 71 F7 8B 6A d. How is Servlet better than CGI? 1D C0 4 A5 7A 9C 0 C2 9 B2 e. Explain JDBC drivers in detail. 2 73 C0 A 4 71 0 B 6A 2 D B CF f. Write a note on Deployment descriptor file with elements. 4 73 8 A5 7A 0 2 1 9 2 42 AC C0 CF B9 2A DB 71 0 2B 04 3 98 B9 2. Attempt any three of the following: 15 A5 6 7A 1 7 2 2 AC 0 CF 2A B 98 a. How many types of Cookies are there in Servlet? Where are they used? B4 71 3C 40 D 9 2A A5 26 7A 20 b. Write a program using Servlet application to upload a file. C2 01 7 B F B 98 A5 B4 71 C 0 C A c. Define Request Dispatcher interface. List its two methods with code snippet. D 04 3 9 2A 6 7A 2 1 71 F7 B B2 d. What are Sessions? Elaborate different methods of Session Tracking. 42 C 0 98 A5 3C 7A 40 9C 6A 1D 2B e. Define following methods of Cookie class. A 20 1 F7 40 B 2 2 AC C0 7 i. getMaxAge() DB 8 A5 B4 7A C 20 A9 3 9 ii. getSecure () 26 C2 B4 1 1 7 40 8B 52 0 A7 CF DB iii. getValue() C 0 6A C2 9 A 42 3 7 9 A iv. getDomain() 01 1 F7 0 B 6A B2 2 B A7 4 98 A5 3C C 20 v. setPath() C2 1D B2 07 9 2A B4 1 F7 B A f. Write a note on nonblocking I/O. 1D C0 7 4 98 5 6 7A 9C 20 2 A B2 C 73 C0 A 4 71 0 8B A 2 1D B CF 3. Attempt any three of the following: 15 4 73 5 6 7A 0 2 9 1A B2 2 AC C0 a. What are JSP directives? Explain different types of directives with example. B9 A 4 40 52 D 2B A7 3 98 b. Define following action elements in JSP with suitable code example. 26 20 1 7 1A C 0 07 CF 2A DB i. Jsp:include B4 C A A7 4 3 9 A5 26 0 ii. Jsp:forward C2 01 F7 8B 2 07 B B4 71 C C 6A iii. Jsp:param A9 D 04 3 9 7A C2 1 F7 B iv. Jsp:setProperty 2 42 0 B 98 C 40 C A 1D 2B v. Jsp:getProperty 3 9 A 6 20 F7 8B 2 2 AC C0 c. Write a program to accept roll no, name, age using HTML. Update the student_details DB 5 B4 C 9 1A 73 table using JSP page. 9 A 26 C2 01 B 52 7 F DB d. List the name of JSP implicit objects. Explain any three in detail. 8 C 7A C 6A A9 1A 3 B9 e. Explain JSP life cycle with proper diagram. 01 F7 B2 52 A7 98 3C f. What are different JSP Standard Tag Libraries (JSTL)? Explain any 4 JSTL function 9C 1D A 07 2A 71 F7 8B tags with proper syntax. C0 04 A5 A 9C 9 2 73 07 2A B4 71 8B CF 04 5 7A C2 9 1A 42 B9 A 40 2 2B A7 98 A5 2 0 C 7 2A 10167 B4 71 40 A A5 26 A 20 C2 Page 1 of 2 07 B B4 71 6A 1D 04 7A C2 B2 42 C0 40 6A 1D 2B 20 B2 AC C0 73C01DB26AC2B420407A71A52A98B9CF B4 C0 C2A9 7A 73 1D B4 8B 7 C0 26 B 2 9 1A 1D A 04 2 CF 5 B2 C0 C 07 A 98 7 3 6A 1D 2B A7 C0 B2 42 1A B 9 1D C2 6A 04 52 CF7 B2 B4 f A 20 e c a 6 d b 07 f. 3 e. c. a. d. b. 5. 4. C2 A 71 9 8B C 0 A 40 7A B2 B4 2 A 9 C 1 D C2 B 6A 040 52 F7 B2 42 71 3 6 0 A5 10167 C2 7A A9 8 C A C 40 2A B4 71 B9 01 2 7A 98 20 40 A5 C F7 DB B4 7 1 B9 AC 7 2A 26 20 A5 2B 98 3 C AC 4 0 2A CF A7 1A B9 01 2 7 98 73 42 04 5 C D B B 4 A7 1 B C0 07 2A F 73 26 20 A5 9 1D Write a note on: A 9 A 4 2 A CF 7 B2 B4 71 8B C0 1D C 2B 07 A7 98 3 C0 6A 20 A5 9C 4 1 B 1 40 2 F7 B 2 2 A 9 C D C2 7A A9 3 6A 0 4 52 F B4 71 8B C 01 C2 0 7A A9 7 3C B2 6A 20 40 A5 9C DB B4 7 1 8 B 0 1 C2 7A i. Stateful Session Bean 2A F7 2 20 9C B ii. Stateless Session Bean 6 A5 DB 4 71 98 3C A 40 2 A F7 2 20 A5 B9 01 C2 7A 9 8B 3 C 6A 4 0 2A CF DB B4 71 01 C2 7A 9 Write a note on Java Persistent API. 2 A D 7 98 C Attempt any three of the following: Attempt any three of the following: 73 26 0 4 5 B B4 1 B9 C0 AC 07 2A F7 3C 2 6 20 40 A5 CF 1D 2B A7 98 0 AC 7 2A 73 B 1 2 What are Interceptors? Why are they used? B2 42 1A 5 9 D B 4 A7 1 98 C0 6A 04 2 CF B 2 A B9 1D Write a note on Enterprise Bean Architecture. A 7 26 0 5 C What are the benefits of Enterprise Java Bean? 07 3 4 F Define Message Driven Bean with its lifecycle. C2 98 2A B2 Page 2 of 2 A7 AC 07 What are the different components of Hibernate? C0 73 Enlist the benefits of Object Relational Mapping. B4 1A B 9 1D 2B A 9 8 6A 20 40 52 C B2 42 71A B C0 1D C2 A F7 6 0 5 9C B4 7A 9 3 C A 4 0 2 F 7 B 2 What is Java Naming and Directory Interface? Explain. 0 A 20 71 8B 9C 1 C2 7A 9 8B 3 C 6A A5 DB B4 71 01 C2 2 A 9 D _____________________________ 2A F7 2 C 73C01DB26AC2B420407A71A52A98B9CF 04 B4 Elaborate the architecture of Hibernate with suitable diagram. 3C 6A 0 52 F7 B2 20 98 01 C 7A A 9 3 6 A B9 2 71 8B C0 40 7 DB B4 1 C2 Paper / Subject Code: 53706 / Enterprise Java CF 20 9C 73 26 40 A5 F7 DB B4 C0 AC 2A 26 20 Describe the architecture of Java Persistent API with suitable diagram. 1D 2B 7A 9 8 3C A C 40 B2 42 71 B 9 01 2 7A 6A 04

Use Quizgecko on...
Browser
Browser