Sunteți pe pagina 1din 1

M.S.P.

VELAYUTHA NADAR LAKSHMITHAIAMMAL POLYTECHNIC COLLEGE,


PAVOORCHATRAM
FIRST MODEL EXAMINATIONS MARCH 2010
Branch : III Year INFO TECH
Subject : Advanced Java Programming
Note:
1. Answer all questions.
2. Part A Each 1 Mark
3. Part B Each 3 Marks
4. Part C Each 10 Marks
---------


Time: 3 Hrs.
Max. Marks: 75
PART A

1. What is DNS?
2. Which class is used to create TCP server?
3. What is Result set Meta data?
4. What are the types of statements?
5. Which method Inet Address class is used to get the host address?
6. Name any two functions of EJB.
7. What are the web components available in EJB.
8. What are J2EE containers?
9. Define packaging.
10. What is the use of home interface of an Ejb?

PART - B
1. Explain factory methods of Inet Address class.
2. Write the constructors of Socket class.
3. Explain Prepared statement with example.
4. Explain on Message ( ) of MDB.
5. Explain Remote interface of EJB.
PART - C
1. Explain how to establish a TCP / IP Client server communication in java with
example.
2. a) Explain batch updates.
b) Explain the distributed multitiered architecture of EJB.
3. Explain the life cycle of stateful and stateless session bean with neat diagram.

S-ar putea să vă placă și