3. Question 1:
Which tag should you use in the deployment descriptor to reference an remote ejb?
A <ejb-local-ref
B <ejb-remote-ref
C <ejb-local>
D <ejb-remote>
E <ejb-ref>
F <env-entry>
G <resource-env-ref>
H <resource-ref>
3
4. Question 1:
Which tag should you use in the deployment descriptor to reference an remote ejb?
A <ejb-local-ref
B <ejb-remote-ref
C <ejb-local>
D <ejb-remote>
E <ejb-ref>
F <env-entry>
G <resource-env-ref>
H <resource-ref>
4
5. Question 2:
Which tag should you use in the deployment descriptor to reference an local ejb?
A <ejb-local-ref>
B <ejb-remote-ref>
C <ejb-local>
D <ejb-remote>
E <ejb-ref>
F <env-entry>
G <resource-env-ref>
H <resource-ref>
5
6. Question 2:
Which tag should you use in the deployment descriptor to reference an local ejb?
A <ejb-local-ref>
B <ejb-remote-ref>
C <ejb-local>
D <ejb-remote>
E <ejb-ref>
F <env-entry>
G <resource-env-ref>
H <resource-ref>
6
7. Question 3:
Which tag should you use in the deployment descriptor to reference an value?
A <ejb-local-ref>
B <ejb-remote-ref>
C <ejb-local>
D <ejb-remote>
E <ejb-ref>
F <env-entry>
G <resource-env-ref>
H <resource-ref>
7
8. Question 3:
Which tag should you use in the deployment descriptor to reference an value?
A <ejb-local-ref>
B <ejb-remote-ref>
C <ejb-local>
D <ejb-remote>
E <ejb-ref>
F <env-entry>
G <resource-env-ref>
H <resource-ref>
8
9. Question 4:
Which tag should you use in the deployment descriptor to reference connections in
order to use a 'logical name' in your code without knowing the true connection name?
A <ejb-local-ref>
B <ejb-remote-ref>
C <ejb-local>
D <ejb-remote>
E <ejb-ref>
F <env-entry>
G <resource-env-ref>
H <resource-ref>
9
10. Question 4:
Which tag should you use in the deployment descriptor to reference connections in
order to use a 'logical name' in your code without knowing the true connection name?
A <ejb-local-ref>
B <ejb-remote-ref>
C <ejb-local>
D <ejb-remote>
E <ejb-ref>
F <env-entry>
G <resource-env-ref>
H <resource-ref>
10
11. Question 5:
Which tag should you use in the deployment descriptor to reference a connection using
jndi name mapping without using a connection factory?
A <ejb-local-ref>
B <ejb-remote-ref>
C <ejb-local>
D <ejb-remote>
E <ejb-ref>
F <env-entry>
G <resource-env-ref>
H <resource-ref>
11
12. Question 5:
Which tag should you use in the deployment descriptor to reference a connection using
jndi name mapping without using a connection factory?
A <ejb-local-ref>
B <ejb-remote-ref>
C <ejb-local>
D <ejb-remote>
E <ejb-ref>
F <env-entry>
G <resource-env-ref>
H <resource-ref>
12
13. Question 6:
The tag <resource-env-ref> is used for ...
A URL connection
B JavaMail connection factory
C DataSource
D QueueConnectionFactory
E JMS destination
F Remote EJB's
G Local EJB's
13
14. Question 6:
The tag <resource-env-ref> is used for ...
A URL connection
B JavaMail connection factory
C DataSource
D QueueConnectionFactory
E JMS destination
F Remote EJB's
G Local EJB's
14
15. Question 7:
The tag <resource-ref> is used for ...
A URL connection
B JavaMail connection factory
C DataSource
D QueueConnectionFactory
E JMS destination
F Remote EJB's
G Local EJB's
15
16. Question 7:
The tag <resource-ref> is used for ...
A URL connection
B JavaMail connection factory
C DataSource
D QueueConnectionFactory
E JMS destination
F Remote EJB's
G Local EJB's
16
17. Question 8:
Which interface type can be configured for element <res-type> ?
<resource-ref>
<description>My resource ref</description>
<res-ref-name>foo/bar</res-ref-name>
<res-type>???</res-type>
<res-auth>Container</res-auth>
</resource-ref>
A javax.jms.Queue
B javax.sql.DataSource
C javax.jms.QueueConnectionFactory
D javax.jms.Topic
E javax.mail.Session
F java.net.URL
G javax.jms.TopicConnectionFactory
17
18. Question 8:
Which interface type can be configured for element <res-type> ?
<resource-ref>
<description>My resource ref</description>
<res-ref-name>foo/bar</res-ref-name>
<res-type>???</res-type>
<res-auth>Container</res-auth>
</resource-ref>
A javax.jms.Queue
B javax.sql.DataSource
C javax.jms.QueueConnectionFactory
D javax.jms.Topic
E javax.mail.Session
F java.net.URL
G javax.jms.TopicConnectionFactory
18
19. Question 9:
Which interface type can be configured for element <res-type> ?
<resource-env-ref>
<resource-env-ref-name>myName</resource-env-ref-name>
<resource-env-ref-type>???</resource-env-ref-type>
</resource-env-ref>
A javax.jms.Queue
B javax.sql.DataSource
C javax.jms.QueueConnectionFactory
D javax.jms.Topic
E javax.mail.Session
F java.net.URL
G javax.jms.TopicConnectionFactory
19
20. Question 9:
Which interface type can be configured for element <res-type> ?
<resource-env-ref>
<resource-env-ref-name>myName</resource-env-ref-name>
<resource-env-ref-type>???</resource-env-ref-type>
</resource-env-ref>
A javax.jms.Queue
B javax.sql.DataSource
C javax.jms.QueueConnectionFactory
D javax.jms.Topic
E javax.mail.Session
F java.net.URL
G javax.jms.TopicConnectionFactory
20