Quiz: J2EE


1. Which of the following tasks are Java servlets designed to handle?

A Managing requests.

B Encapsulating complex backend business logic.

C Enabling remote component to component communication via the marshaling method calls.

D Constructing complex HTML presentations using dynamic data.

 

2. Enterprise JavaBeans:

A Enable an object on one Java virtual machine to invoke methods on an object in another Java virtual machine.

B Encapsulate one or more application task or application object.

C Manage all load balancing tasks.

D May work within or without the context of a container.

 

3. From a programming perspective, JDBC

A Limits the number of database platforms avavilable.

B Enables generic SQL code through the programming API.

C Provides a uniform interface to a wide range of relational databases and tabular data sources.

D Eliminates the need to write code to handle query results.

 

4. Which of the following best describes JavaServer Pages?

A Compiled into servlets.

B May use both HTML and XML.

C Uses embedded Java code.

D All of the above.

 


 



Your Answers
Q 1:
Q 2:
Q 3:
Q 4:

Correct Answers
Q 1:
Q 2:
Q 3:
Q 4: