Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mock Exam question regarding End points

 
Sachet Varma
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

This is a question from a mock exam.

Which three are true about JAX-RPC Web services? (Choose three.)
A. EJB based endpoints can use container-managed transactions.
B. Servlet-based endpoints can use container-managed transactions.
C. Client-initiated transactions are propagated to EJB based endpoints.
D. EJB based endpoints can programmatically demarcate transactions.
E. Client-initiated transactions are propagated to Servlet-based endpoints.
F. Servlet-based endpoints can programmatically demarcate transactions.
Answer: ADF

Why is C not correct - Client transactions can be propagated using Required and Supported trans attributes , right?

Also,

Why is F correct - A JSE would need something like JTA for transaction separation , right?

So is ACD the correct answer? Do let me know what you think.

 
Jolly Tiwari
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi! sachet,

It would be helpful for other people if you could mention the name of mock i.e source exam from where you have picked
up the question.

Best Regards

Jolly
 
Sachet Varma
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its from a free sample from one of the mock exam site - Certify or something
 
Sachet Varma
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any clue to the answer? Is my reasoning sound or is it outright wrong?
 
Sachet Varma
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey , I got the answer :

Refer to this link :
EJB Endpoints and JSE
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic