9 sample questions about Resource References (Cx 310 083)

490 views

Published on

9 sample questions about Resource References (CX-310-083) for exam CX-310-083.

  • Be the first to comment

  • Be the first to like this

9 sample questions about Resource References (Cx 310 083)

  1. 1. Skillytaire9 sample questions about Resource References (CX-310-083)
  2. 2. Tems of useYou may use this document for your own purpose only if you leave the document as is.© Copyright 2010 Prolector.For more information please visit http://www.prolector.nl 2
  3. 3. Question 1: Which tag should you use in the deployment descriptor to reference an remote ejb?A <ejb-local-refB <ejb-remote-refC <ejb-local>D <ejb-remote>E <ejb-ref>F <env-entry>G <resource-env-ref>H <resource-ref> 3
  4. 4. Question 1: Which tag should you use in the deployment descriptor to reference an remote ejb?A <ejb-local-refB <ejb-remote-refC <ejb-local>D <ejb-remote>E <ejb-ref>F <env-entry>G <resource-env-ref>H <resource-ref> 4
  5. 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. 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. 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. 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. 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. 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. 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. 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. 13. Question 6: The tag <resource-env-ref> is used for ...A URL connectionB JavaMail connection factoryC DataSourceD QueueConnectionFactoryE JMS destinationF Remote EJBsG Local EJBs 13
  14. 14. Question 6: The tag <resource-env-ref> is used for ...A URL connectionB JavaMail connection factoryC DataSourceD QueueConnectionFactoryE JMS destinationF Remote EJBsG Local EJBs 14
  15. 15. Question 7: The tag <resource-ref> is used for ...A URL connectionB JavaMail connection factoryC DataSourceD QueueConnectionFactoryE JMS destinationF Remote EJBsG Local EJBs 15
  16. 16. Question 7: The tag <resource-ref> is used for ...A URL connectionB JavaMail connection factoryC DataSourceD QueueConnectionFactoryE JMS destinationF Remote EJBsG Local EJBs 16
  17. 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.QueueB javax.sql.DataSourceC javax.jms.QueueConnectionFactoryD javax.jms.TopicE javax.mail.SessionF java.net.URLG javax.jms.TopicConnectionFactory 17
  18. 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.QueueB javax.sql.DataSourceC javax.jms.QueueConnectionFactoryD javax.jms.TopicE javax.mail.SessionF java.net.URLG javax.jms.TopicConnectionFactory 18
  19. 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.QueueB javax.sql.DataSourceC javax.jms.QueueConnectionFactoryD javax.jms.TopicE javax.mail.SessionF java.net.URLG javax.jms.TopicConnectionFactory 19
  20. 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.QueueB javax.sql.DataSourceC javax.jms.QueueConnectionFactoryD javax.jms.TopicE javax.mail.SessionF java.net.URLG javax.jms.TopicConnectionFactory 20

×