USN
10ÇS/IS753
Seventh Semester B.E, Degree LIBRART
Examination, Aug./Sept V
Java and J2EE
Time: 3 hrs.
Max.Marks:100
Note: Answer FIVE full questions. selectine atleast Two questions fromn each pa
PART - A
1 a. Briefly explain any six buzzwords used for (05 Marks)
designing Java program.
b. With an example, explain the working of>> and >>> operators. (05 Marks)
(05 Marks)
C. Explain the process ofbuilding and running a java application program.
d. Write a program to calculate the average among the elements {1, 5, 7, 9} using for each
version of for statement in Java. (05 Marks)
(07 Marks)
2 a. Explain the concept of method overriding with an example.
- arguments? Write a program to demonstration command line
D. What is command line
(07 Marks)
arguments.
(06 Marks)
c. What are the two types of applets? Explain the skeleton ofon applet.
new thread. Write a program to create a new thread
3 What are the twO methods of creating a
(08 Marks)
usingany method to display VTUBelgaum'and display it for l second.
(08 Marks)
b. What do you mean by thread synchronization? Explain with syntax.
(04 Marks)
c. Explain the adaptor classes with example.
constructors.
4 a. Name the different types buttons, Give their syntax of corresponding
of swing (06Marks)
(06 Marks)
b. Explain the various constituents ofswing package.
How AWT is different from swing?
What are two key features of swing and explain. Marks)
C. (08
PART -B (08 Marks)
5 a. Explain J2EE multitier architecture.
method.
(08 Marks)
of getConnection
b. With proper syntax, explain three types (04Marks)
C.Write a note on result set.
(07 Marks)
cycle ofservelte.
6 a. What is servelet? Explain life (07 Marks)
the various methods defined by cookie.
b. What is a cookie?List servlet.
how tomcatweb server is configured for development
of
c. Describe in detail, (06 Marks)
JSP? Explain different types of JSP tags with
between sevlets and
7 What is the difference (06 Marks)
a.
syntax. (08 Marks)
with appropriate steps.
Briefly explain the working of JAVA RMI programs (06Marks)
b.
server side and client side
JAVA RMI?
C. What are the differences between
(07 Marks)
EJB transaction attributes.
8 a. Explain various (07 Marks)
explain session java bean.
(06 Marks)
b. With a skeleton
Write a note on JAR file.
C.
** ** *