PrepAway - Latest Free Exam Questions & Answers

what class allows the use of HTTP to talk to a Java servlet that provides data access?

In JDBC, what class allows the use of HTTP to talk to a Java servlet that provides
data access?

PrepAway - Latest Free Exam Questions & Answers

A.
A CachedRowSet class
or Network Computer (NC., with tabular data
A JDBCRowSet class-a connected rowset that serves mainly as a thin wrapper around a
ResultSet object to make a JDBC driver look like a JavaBeans component
A WebRowSet class-a connected rowset that uses the HTTP protocol internally to talk to
a Java servlet that provides data access; used to make it possible for thin web clients to
retrieve and possibly update a set of rows
QUESTION 5
To properly handle SQLException under JDBC, you must use
a try/catch block

B.
A JDBCRowSet class
a Exception pointer

C.
A WebRowSet class
the Err object

D.
A JavaSource class
the error table

E.
AHTTPRowSet class
the master error dictionary

F.
A JavaDb class

A.
A CachedRowSet class
or Network Computer (NC., with tabular data
A JDBCRowSet class-a connected rowset that serves mainly as a thin wrapper around a
ResultSet object to make a JDBC driver look like a JavaBeans component
A WebRowSet class-a connected rowset that uses the HTTP protocol internally to talk to
a Java servlet that provides data access; used to make it possible for thin web clients to
retrieve and possibly update a set of rows
QUESTION 5
To properly handle SQLException under JDBC, you must use
a try/catch block

A.
A CachedRowSet class
or Network Computer (NC., with tabular data
A JDBCRowSet class-a connected rowset that serves mainly as a thin wrapper around a
ResultSet object to make a JDBC driver look like a JavaBeans component
A WebRowSet class-a connected rowset that uses the HTTP protocol internally to talk to
a Java servlet that provides data access; used to make it possible for thin web clients to
retrieve and possibly update a set of rows
QUESTION 5
To properly handle SQLException under JDBC, you must use
a try/catch block

B.
A JDBCRowSet class
a Exception pointer

C.
A WebRowSet class
the Err object

D.
A JavaSource class
the error table

E.
AHTTPRowSet class
the master error dictionary

Explanation:
According to the online Java tutorial provided by Sun at java.sun.com
Although anyone can implement a rowset, most implementations will probably be
provided by vendors offering RowSet classes designed for fairly specific purposes.
To make writing an implementation easier, the JavaTM Software division of Sun
Microsystems, Inc., plans to provide reference implementations for three different
styles of rowsets in the future. The following list of planned implementations gives
you an idea of some of the possibilities.
A CachedRowSet class-a disconnected rowset that caches its data in memory; not
suitable for very large data sets, but an ideal way to provide thin Java clients, such as a
Personal Digital Assistant (PD

According to the online Java tutorial provided by Sun at java.sun.com
Many of the methods in the java.sql package throw an SQLException , which
requires a try/catch block like any other Exception. Its purpose is to describe
database or driver errors (SQL syntax, for example.. In addition to the standard
getMessage(. inherited from Throwable, SQLException has two methods which
provide further information, a method to get (or chain. additional exceptions and a
method to set an additional exception


Leave a Reply