Exam1pass
Easiest way to pass IT exams
Exam1pass Help You Pass Any IT Exam
http://www.exam1pass.com
Exam
:
IBM 000-154
Title
: Test 154,web developer
Version : Demo
Exam1pass
Easiest way to pass IT exams
Exam1pass Help You Pass Any IT Exam
http://www.exam1pass.com
1. EJB clients must supply which two of the following pieces of information in order to use JNDI services?
A. The IP address of a Web container
B. The DataSource name for a JDBC database
C. A provider URL detailing the location of the name tree
D. The class name of the initial context factory
Answer: CD
2. When the JMS API is used, which two subtypes of javax.jms.Message are most appropriate for sending
a message to a consumer that is not a Java client?
A. BytesMessage
B. MapMessage
C. ObjectMessage
D. StreamMessage
E. TextMessage
Answer: AE
3. In the JMS API for the publish-subscribe domain, how does a durable subscriber differ from a
non-durable subscriber?
A. Messages in topics that have durable subscribers remain in the topic until they expire or the subscriber
connection to the JMS provider is closed.
B. If a durable subscriber becomes disconnected without unsubscribing and later reconnects, the
subscriber receives messages that arrived while the subscriber was not active.
C. If a topic has a durable subscriber, the JMS provider logs all messages in a persistent media so that an
application can inspect the log and extract messages at a later time.
D. The application server delivers each message in a transactional context so that if a durable subscriber
then rolls back the transaction, the state of the message reverts to that prior to delivery.
Answer: B
4. Which of the following is NOT a message transfer protocol?
A. POP
Exam1pass
Easiest way to pass IT exams
Exam1pass Help You Pass Any IT Exam
http://www.exam1pass.com
B. SMTP
C. IMAP
D. MIME
Answer: D
5. Which two of the following are NOT parts of the J2C Version 1.0 Common Client Interface?
A. ConnectionFactory
B. ConnectionException
C. ResultSetMetaData
D. TransactionFactory
E. ResultSet
Answer: