© 2014 Firstsoft Technologies (P) Limited. login
Hi 'Guest'
Home SiteMap Contact Us Disclaimer
enggedu

B.E/B.Tech DEGREE EXAMINATION Nov/Dec 2007

     Sixth Semester

Computer Science and Engineering

CS1005 – ADVANCED JAVA PROGRAMMING

(Regulation 2004)

Time: 3 hours                                                                   Maximum marks: 100


Answer ALL questions

PART A (10 x 2 =20 marks)

1.What is the use of thread?

2.Give the syntax and use of any four classes in Swing.

3.Differentiate between Socket and Server Socket.

4.What is Domain Naming Service (DNS)?

5.What is meant by middleware architecture?

6.Mention the Interfaces used for creating RMI.

7.What is Server-side programming?

8.Give the life cycle of Servlets.

9.What are the advantages of Java Beans?

10.What does a session bean do?

 

PART B (5 x 16 = 80)

11.(a) (i) Write a Java program for Reading the data from a file.                        (8)

11. (a) (ii) Explain the properties and methods in FileReader, FileWriter, BufferedReader and BufferedWriter.                                                                (8)

Or

11. (b) (i) Write a program in Java foe dynamically changing the color of Text using Multithreading.                                                                                                  (8)

11.(b) (ii) Develop Java swing code for creating student Bio-data form. (8)

12. (a) (i) Explain the principles and working of Multicast Socket.                      (6)

12. (a) (ii)Write a Client/Server program for establishing connection usingTCP. (10)

Or

12. (b) (i) Compare and contrast the feature of TCP/UDP.                              (6)

12. (b) (ii) Write a Java program for Netchatting.                                           (10)

 

13. (a) (i) Discuss a simple client/server application using RMI.                        (10)

13. (a) (ii)What is meant by object serialization? Explain.                                   (6)

 

Or

13. (b) (i)What is the use of CORPA? Draw the programming Model of CORPA.                                                                                                        (10)

13. (b) (ii)Write short notes on IDL technology.                                                (6)

14. (a) (i) What is Session Tracking? Write a program for implementing session tracking.                                                                                                         (12)

14. (a) (ii) What are hidden fields? Explain their use.                                           (4)

Or

14. (b) (i) Write a Java program for printing student mark sheet using JDBC.      (8)

14. (b) (ii) Develop a JSP code to create a Web site for ordering books.            (8)

15. (a) (i) Write a simple program for creating reusable component using Java Beans.                                                                                                               (8)

15. (a) (ii) Write steps for developing a simple beans using BDK.                       (8)

Or

15. (b) (i) Explain concepts and use of Entity Beans and Persistent Entity Beans. (8)

15. (b) (ii) Enumerate the features and the applications of J2EE.                          (8)


bottom