Call
whatsapp
9447387064 | 9847003556
0471-2335855 | 8089080088 | 0471-2334855
9447387064 | 9847003556
0471-2335855 | 8089080088 | 0471-2334855
Cisco Training in Trivandrum, Trinity Technologies

No.1 Training Institute in Kerala

J2EE QUESTIONS : PART 2

Which can generate HTML dynamically on the client but can hardly interact with the web server to perform complex tasks like database access and image processing etc. in JSP? 

vs.Static HTML

vs.Server-Side Includes

vs.Pure Servlets

Vs.JavaScript

SHOW ANSWER

JSPs eventually are compiled into Java servlets, you can do as much with JSPs as you can do with Java servlets. 

True

False

SHOW ANSWER

Which JSP Action tags is used to include the content of another resource, it may be jsp, html or servlet?

jsp:include

jsp:forward

jsp:plugin

 jsp:papam

SHOW ANSWER

JavaServer Pages often serve the same purpose as programs implemented using the Common Gateway Interface (CGI).

True

False

SHOW ANSWER

In order to transfer data between a database and an application written in the Java programming language, the JDBC API provides which of these methods?

Methods on the ResultSet class for retrieving SQL SELECT results as Java types.

Methods on the PreparedStatement class for sending Java types as SQL statement parameters.

Methods on the CallableStatement class for retrieving SQL OUT parameters as Java types.

All mentioned above

SHOW ANSWER

The JDBC API has always supported persistent storage of objects defined in the Java programming language through the methods getObject and setObject. 

True

True

SHOW ANSWER

Which JDBC type represents a "single precision" floating point number that supports seven digits of mantissa?

REAL

DOUBLE

FLOAT

INTEGER

SHOW ANSWER

Abbreviate the term UDA? 

Unified Data Access

Universal Data Access

Universal Digital Access

Uniform Data Access

SHOW ANSWER

JDBC stands for? 

Java database connectivity

Java database concept

Java database communications

None of the above

SHOW ANSWER

Which class has traditionally been the backbone of the JDBC architecture?

the JDBC driver manager

 the JDBC driver test suite

 

the JDBC-ODBC bridge

All mentioned above

 

SHOW ANSWER

JDBC is a Java API that is used to connect and execute query to the database 

True

False

SHOW ANSWER

What is legal about JSP scriplets?

A loop can begin in one Scriptlet and end in another

Statements in Scriptlets should follow Java Syntax

Semicolon is needed at the end of each statement in a Scriptlet

All the above

SHOW ANSWER

In JSP, how can you know what HTTP method (GET or POST) is used by client request?

by using request.getMethod()

by using request.setMethod()

impossible to know

None of above

SHOW ANSWER
BACK | NEXT
TRINITY SOFTWARE SOLUTIONS,IInd floor, Radheyam Towers, Gandhari Amman Kovil Road, Pulimood, Trivandrum - 1
0471-2334855 | 2335855 | 9447387064 | 9847003556 info@trinitytechnology.in