Sei sulla pagina 1di 5

Adv. Java Programming Question Bank.

UNIT-2 JSP
1. Define JSP? Write the difference between JSP & Servlets.
2. List out the benefits of JSP.
3. What are the drawbacks of servlet and explain nedds for JSP.
4. Advantages of JSP over other technology.
5. Write the table explain JSP operations in various scenarios or
Explain performance of JSP with respect to translation time and
request time.
6. Write a note on JSP scripting elements and explain different
scripting elements with example.
7. Explain two methods of invoking java code from jsp.
8. How to limit the amount of java code in JSp page or Explain
minimization of java code in JSP pages with respect the fallowing
a) Development

b) Compilation

c) Debugging

d) Division of labour

e) Testing

f) Reuse

9. State and Explain JSP predefined variables.

Department of MCA VTU

Page 1

Adv. Java Programming Question Bank.

UNIT-3 CONTROLLING THE


STRUCTURE OF GENERATED
SERVLETS
1. Jsp Page Directive Attribute and Write a proram to demonstrate
import attributes?
2. Write a program using all attributes of page directives.
3. State and explain different directives.
4. Write a note on isThreadSafe attribute.
5. Write the difference between jsp:include and include directive.
6.Explain different methods to include files in the jsp documents.
7. How to include applets in jsp pages or explain invoking applet
from java plug-in.
8. Define jsp plug-in element and state and explain option present
in jsp plug-in elements.
9. How to pass parameters to jsp plug-in elements.

Department of MCA VTU

Page 2

Adv. Java Programming Question Bank.

UNIT-5 Java Beans


1.Define java bean and write advantages of java bean.
2. Define introspection and explain different ways of implementing
introspection for a bean class.
3. Write a note on persistence.
4. What is java bean explain the steps to create java beans with an
example.
5.Write a note on java bean API.

Department of MCA VTU

Page 3

Adv. Java Programming Question Bank.

UNIT-7 INTRODUCTION TO EJB


1. Define EJB? Explain EJB class or Define EJB? State and explain
EJB component types
2. Write the difference between stateless session bean and statefull
session beans
3. State and explain EJB container services
4. Write the steps to create a EJBs
5. Write a session bean program to implement appropriate
business logic
6. Write a MD bean program to implement appropriate business
logic
7. . Write a Entity bean program to implement appropriate
business logic
8.Write a note on
a) JMS
b) LOCAL AND REMOTE INTERFACE
c) COMPONENT INTERFACE
d) ENDPOINT INTERFACE
e) JMS/QUEUE
f) JMS/TOPIC

Department of MCA VTU

Page 4

Adv. Java Programming Question Bank.

UNIT-8 SERVER SIDE COMPONENT


MODELS
1.
2.
3.
4.
5.
6.
7.

Define session bean Expalian life cycle of stateless session bean.


Expalian life cycle of statefull session bean.
Discuss the life cycle of MD bean.
Discuss the life cycle of Enterprise bean.
What is EB ?Explain Java persistence model.
What is SB? Explain the types of session bean.
Describe the important rules of java message services(JMS) in
MD bean
8. With help of an Example explain EJB deployment descriptor
9. Defference between Stateless and Statefull session bean.
10. Defference between Bean manage persistence and container
manage persistence
11. Define Statefull and Stateless session bean? Explain code SB
and EB
12. Explain the methods available in MDB and Explain the
functionality of Event descriptor.
13. Write a note on
a) POJO
b) Persistance
c) Tomcat server
d) Deployment descriptor in EJB.
13.State and Explain EJBs entity relations.

Department of MCA VTU

Page 5

Potrebbero piacerti anche