ALCCS

 

 

Code: CS481                              Subject: ADVANCED JAVA & INTERNET TECHNOLOGY

Flowchart: Alternate Process: AUGUST 2009Time: 3 Hours                                                                                                     Max. Marks: 100

 

NOTE:  

·      Question 1 is compulsory and carries 28 marks. Answer any FOUR questions from the rest.  Marks are indicated against each question.

·      Parts of a question should be answered at the same place.

 

 

Q.1      a.  What are the differences between http and s-https?

 

             b.  What are the differences between xml and html?

                 

             c.  What are the differences between CORBA and RMI?

 

             d.  Discuss about the life cycle of Servlet.

 

             e.  What are the constituents of jsp?

 

             f.   Discuss the life cycle of Entity Bean.

 

             g. What are the standard application layer protocols available in internet?                    (7  4)

 

Q.2       a.  How many requests by default can be queued in ServerSocket? What are the differences between ServerSocket and Socket? Discuss about the ServerSocket class.                         (2+4+3)

                 

             b.  Discuss about the design of a multi-threaded server. Write a program for developing a multi-threaded server.                                                                                                                                (4+5)

 

  Q.3     a.  Discuss about JINI Technology. Write an http client program by using socket class.   (3+6)

 

             b.  Discuss about URL class and URLConnection class. Write a program for invoking web component by using URL class.                                                                                                               (3+6)

 

  Q.4     a.  What is standard action? What are the standard action available in JSP, discuss about them.            (2+7)  

 

             b.  What is Directive? What are the directives available in JSP? Discuss about these directives with skeleton code.                                                                                                                            (2+2+5)

       


 

            

  Q.5     a.  What are the differences among Statement, Prepared Statement and Callable Statement interfaces? What is database metadata? Discuss about the DatabaseMetadata class.                           (4+2+3)

       

             b.  Write a program for developing query analyzer.                                                            (9)

 

  Q.6     a.  What is java bean? What are the necessary criteria of bean class? How many types of properties are in java bean? Discuss about them.                                                                                    (2+3+4)

 

             b.  What is bound property? Write a skeleton code for implementing bound property.     (2+7)

       

  Q.7     a.  Explain JDBC Architecture?  Discuss any two bridges of this architecture.                 (2+7)

 

             b.  Write a statefull session bean program.                                                                          (9)