SlideShare ist ein Scribd-Unternehmen logo
1 von 20
Downloaden Sie, um offline zu lesen
Skillytaire
9 sample questions about Resource References (CX-310-083)
Tems of use

You 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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

Weitere ähnliche Inhalte

Ähnlich wie 9 sample questions about Resource References (Cx 310 083)

Layouts and Rendering in Rails, Season 2
Layouts and Rendering in Rails, Season 2Layouts and Rendering in Rails, Season 2
Layouts and Rendering in Rails, Season 2RORLAB
 
Best Practices for Architecting a Pragmatic Web API.
Best Practices for Architecting a Pragmatic Web API.Best Practices for Architecting a Pragmatic Web API.
Best Practices for Architecting a Pragmatic Web API.Mario Cardinal
 
REST-API introduction for developers
REST-API introduction for developersREST-API introduction for developers
REST-API introduction for developersPatrick Savalle
 
浜松Rails3道場 其の弐 Model編
浜松Rails3道場 其の弐 Model編 浜松Rails3道場 其の弐 Model編
浜松Rails3道場 其の弐 Model編 Masakuni Kato
 
WebLogic Deployment Plan Example
WebLogic Deployment Plan ExampleWebLogic Deployment Plan Example
WebLogic Deployment Plan ExampleJames Bayer
 
Champaign-Urbana Javascript Meetup Talk (Jan 2020)
Champaign-Urbana Javascript Meetup Talk (Jan 2020)Champaign-Urbana Javascript Meetup Talk (Jan 2020)
Champaign-Urbana Javascript Meetup Talk (Jan 2020)Susan Potter
 
Spring review_for Semester II of Year 4
Spring review_for Semester II of Year 4Spring review_for Semester II of Year 4
Spring review_for Semester II of Year 4than sare
 
REST API Best Practices & Implementing in Codeigniter
REST API Best Practices & Implementing in CodeigniterREST API Best Practices & Implementing in Codeigniter
REST API Best Practices & Implementing in CodeigniterSachin G Kulkarni
 
Web REST APIs Design Principles
Web REST APIs Design PrinciplesWeb REST APIs Design Principles
Web REST APIs Design PrinciplesAnji Beeravalli
 
Use drupal 8 as a framework the romance recalibration
Use drupal 8 as a framework   the romance recalibrationUse drupal 8 as a framework   the romance recalibration
Use drupal 8 as a framework the romance recalibrationKevin Wenger
 
apidays LIVE Paris - The Augmented API Design Reviewer by Arnaud Lauret
apidays LIVE Paris - The Augmented API Design Reviewer by Arnaud Lauretapidays LIVE Paris - The Augmented API Design Reviewer by Arnaud Lauret
apidays LIVE Paris - The Augmented API Design Reviewer by Arnaud Lauretapidays
 
Gaelyk: Lightweight Groovy on the Google App Engine
Gaelyk: Lightweight Groovy on the Google App EngineGaelyk: Lightweight Groovy on the Google App Engine
Gaelyk: Lightweight Groovy on the Google App EngineTim Berglund
 
The Render API in Drupal 7
The Render API in Drupal 7The Render API in Drupal 7
The Render API in Drupal 7frandoh
 
Kicking off with Zend Expressive and Doctrine ORM (PHP Srbija 2017)
Kicking off with Zend Expressive and Doctrine ORM (PHP Srbija 2017)Kicking off with Zend Expressive and Doctrine ORM (PHP Srbija 2017)
Kicking off with Zend Expressive and Doctrine ORM (PHP Srbija 2017)James Titcumb
 
GraphQL over REST
GraphQL over RESTGraphQL over REST
GraphQL over RESTBongwon Lee
 
Exam 9a0-384 Adobe Experience Manager 6.0 Developer Exam
Exam 9a0-384 Adobe Experience Manager 6.0 Developer ExamExam 9a0-384 Adobe Experience Manager 6.0 Developer Exam
Exam 9a0-384 Adobe Experience Manager 6.0 Developer ExamKylieJonathan
 
Exam 9A0-384 Adobe ExperienceManager 6.0 Developer Exam
Exam 9A0-384 Adobe ExperienceManager 6.0 Developer ExamExam 9A0-384 Adobe ExperienceManager 6.0 Developer Exam
Exam 9A0-384 Adobe ExperienceManager 6.0 Developer ExamKylieJonathan
 

Ähnlich wie 9 sample questions about Resource References (Cx 310 083) (20)

Layouts and Rendering in Rails, Season 2
Layouts and Rendering in Rails, Season 2Layouts and Rendering in Rails, Season 2
Layouts and Rendering in Rails, Season 2
 
Best Practices for Architecting a Pragmatic Web API.
Best Practices for Architecting a Pragmatic Web API.Best Practices for Architecting a Pragmatic Web API.
Best Practices for Architecting a Pragmatic Web API.
 
REST-API introduction for developers
REST-API introduction for developersREST-API introduction for developers
REST-API introduction for developers
 
Ruby On Rails
Ruby On RailsRuby On Rails
Ruby On Rails
 
浜松Rails3道場 其の弐 Model編
浜松Rails3道場 其の弐 Model編 浜松Rails3道場 其の弐 Model編
浜松Rails3道場 其の弐 Model編
 
WebLogic Deployment Plan Example
WebLogic Deployment Plan ExampleWebLogic Deployment Plan Example
WebLogic Deployment Plan Example
 
Champaign-Urbana Javascript Meetup Talk (Jan 2020)
Champaign-Urbana Javascript Meetup Talk (Jan 2020)Champaign-Urbana Javascript Meetup Talk (Jan 2020)
Champaign-Urbana Javascript Meetup Talk (Jan 2020)
 
Spring review_for Semester II of Year 4
Spring review_for Semester II of Year 4Spring review_for Semester II of Year 4
Spring review_for Semester II of Year 4
 
REST API Best Practices & Implementing in Codeigniter
REST API Best Practices & Implementing in CodeigniterREST API Best Practices & Implementing in Codeigniter
REST API Best Practices & Implementing in Codeigniter
 
Web REST APIs Design Principles
Web REST APIs Design PrinciplesWeb REST APIs Design Principles
Web REST APIs Design Principles
 
Php resque
Php resquePhp resque
Php resque
 
Use drupal 8 as a framework the romance recalibration
Use drupal 8 as a framework   the romance recalibrationUse drupal 8 as a framework   the romance recalibration
Use drupal 8 as a framework the romance recalibration
 
apidays LIVE Paris - The Augmented API Design Reviewer by Arnaud Lauret
apidays LIVE Paris - The Augmented API Design Reviewer by Arnaud Lauretapidays LIVE Paris - The Augmented API Design Reviewer by Arnaud Lauret
apidays LIVE Paris - The Augmented API Design Reviewer by Arnaud Lauret
 
Gaelyk: Lightweight Groovy on the Google App Engine
Gaelyk: Lightweight Groovy on the Google App EngineGaelyk: Lightweight Groovy on the Google App Engine
Gaelyk: Lightweight Groovy on the Google App Engine
 
The Render API in Drupal 7
The Render API in Drupal 7The Render API in Drupal 7
The Render API in Drupal 7
 
Kicking off with Zend Expressive and Doctrine ORM (PHP Srbija 2017)
Kicking off with Zend Expressive and Doctrine ORM (PHP Srbija 2017)Kicking off with Zend Expressive and Doctrine ORM (PHP Srbija 2017)
Kicking off with Zend Expressive and Doctrine ORM (PHP Srbija 2017)
 
GraphQL over REST
GraphQL over RESTGraphQL over REST
GraphQL over REST
 
Exam 9a0-384 Adobe Experience Manager 6.0 Developer Exam
Exam 9a0-384 Adobe Experience Manager 6.0 Developer ExamExam 9a0-384 Adobe Experience Manager 6.0 Developer Exam
Exam 9a0-384 Adobe Experience Manager 6.0 Developer Exam
 
Exam 9A0-384 Adobe ExperienceManager 6.0 Developer Exam
Exam 9A0-384 Adobe ExperienceManager 6.0 Developer ExamExam 9A0-384 Adobe ExperienceManager 6.0 Developer Exam
Exam 9A0-384 Adobe ExperienceManager 6.0 Developer Exam
 
Gohan
GohanGohan
Gohan
 

9 sample questions about Resource References (Cx 310 083)

  • 1. Skillytaire 9 sample questions about Resource References (CX-310-083)
  • 2. Tems of use You 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. 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