Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Mock Exam question regarding End points

 
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.

 
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
 
I do some of my very best work in water. Like this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic