University Of Pune Question Paper
M. C. M. (Semester - IV) Examination - 2012
ADVANCED JAVA
(Old 2005 Pattern)
Time : 3 Hours] [Max. Marks : 70
Instructions :
(1) Question No. 1 is compulsory.
(2) Solve any five from the remaining.
(3) Figures to the right indicate full marks.
Q.l) Solve the following : [20]
(a) List any four methods of ResultSetMetaData.
(b) List any four interfaces involved in Java Mail.
(c) What is Port Number ?
(d) What are Cookies ?
(e) What is Deployment Descriptor ?
Q.2) Write JSP application to accept item number from user through HTML
page and display description, available quantity, rate and cost of
available quantity from underlying table. ITEM table has : ITEMCD,
DESCRIPTION, QUANTITY, RATE Fields. [10]
Q.3) Write working of RMI with the help of suitable example. [10]
Q.4) Write socket program for client that will send a sentence to server.
Server will count the number of characters, special characters, digits
from the sentence and send the counts as single string to client. Client
program with display output as the passed string from server. [10]
Q.5) Write servlet program to display department wise employee list and
department wise total salary in the client's browser. Given tables
(DEPT : DeptNo, Dname,Dloc); (EMP : EmpNo, Ename, DeptNo,
Salary). [10]
Q.6) Write EJB component to display user details. The Browser client sent
user name to the ejb. Through bean retrieve the record of that user
from underlined database and display details in client browser.
(Assume suitable data)
Remote Interface
Home Interface
Implementation Class
ejb-jar.xml File
Client Program
Q.7) Write notes : (Any Two) [10]
(a) JSP Include and Forward
(b) Session tracking in servlets
(c) JNDI
[
M. C. M. (Semester - IV) Examination - 2012
ADVANCED JAVA
(Old 2005 Pattern)
Time : 3 Hours] [Max. Marks : 70
Instructions :
(1) Question No. 1 is compulsory.
(2) Solve any five from the remaining.
(3) Figures to the right indicate full marks.
Q.l) Solve the following : [20]
(a) List any four methods of ResultSetMetaData.
(b) List any four interfaces involved in Java Mail.
(c) What is Port Number ?
(d) What are Cookies ?
(e) What is Deployment Descriptor ?
Q.2) Write JSP application to accept item number from user through HTML
page and display description, available quantity, rate and cost of
available quantity from underlying table. ITEM table has : ITEMCD,
DESCRIPTION, QUANTITY, RATE Fields. [10]
Q.3) Write working of RMI with the help of suitable example. [10]
Q.4) Write socket program for client that will send a sentence to server.
Server will count the number of characters, special characters, digits
from the sentence and send the counts as single string to client. Client
program with display output as the passed string from server. [10]
Q.5) Write servlet program to display department wise employee list and
department wise total salary in the client's browser. Given tables
(DEPT : DeptNo, Dname,Dloc); (EMP : EmpNo, Ename, DeptNo,
Salary). [10]
Q.6) Write EJB component to display user details. The Browser client sent
user name to the ejb. Through bean retrieve the record of that user
from underlined database and display details in client browser.
(Assume suitable data)
Remote Interface
Home Interface
Implementation Class
ejb-jar.xml File
Client Program
Q.7) Write notes : (Any Two) [10]
(a) JSP Include and Forward
(b) Session tracking in servlets
(c) JNDI
[
0 comments:
Pen down your valuable important comments below