Está en la página 1de 1

Vidyalankar

T.Y. B.Sc. (IT)

Advanced Java
Time : 3 Hrs.] N.B. :

Prelim Question Paper

[Marks : 100

(1) All questions are compulsory. (2) Assume suitable data wherever required.

1. Attempt the following : (a) Write a program to access a database using JSF. (b) Write a program to implement scrollable and updatable resultant using swing.

[5] [5]

2. Attempt the following (any THREE) [15] (a) Explain event handling in Java. (b) Explain JOptionPane in detail. (c) Write a program to create a tree and 2 text fields, which are used to display tree expansion and tree collapsed path, when appropriate operation will get performed on a tree. (d) Write a program to create a table and perform addition and removal of column by accepting column no. in textfield, using 2 buttons "Add" and "Remove". 3. Attempt the following (any THREE) [15] (a) Explain RequestDispatcher with example. (b) Explain session management with example. (c) Develop simple servlet question-answer application to demonstrate use of HttpServletRequest and HttpServletResponse interfaces. (d) Develop servlet application of basic calculator (+, , *, /) using HttpServletRequest and HttpServletResponse. 4. Attempt the following (any THREE) (a) Explain disadvantages of JSP. (b) Explain character quoting convention in JSP. (c) Explain transaction in JDBC. (d) Explain life cycle of JSP. 5. Attempt the following (any THREE) (a) Explain different components of JSF. (b) Explain 2 ways of accessing EJB. (c) Write a program to create simple "hello" application using EJB. (d) Write a program to add a product in an inventory using EJB. 6. Attempt the following (any THREE) (a) Explain MVC architecture. (b) Explain struts framework case components. (c) What is hibernate? State its advantages. (d) Explain hibernate architecture in detail. 7. Attempt the following (any THREE) (a) Explain web-services with its advantages. (b) Explain different components of Java-mail API. (c) Explain different Java-mail protocols. (d) What is naming and directory services.
1012/BSc/IT/TY/Pre_Pap/2012/CP/Adv. Java 1

[15]

[15]

[15]

[15]

También podría gustarte