• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Rob Spoor
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:

EPractace labs mock 3 question 34

 
Bartender
Posts: 2402
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


You must follow the below guidelines to coding EJB components.
1. if DB connection is not available due to connection pooling issue, you must store the current state into a test file by java.io.PrinterWriter.
2. We are strictly following SOA architecture for partner components, so all data in partner tables must be shared with a web service end point.
3. All EJB logging information must be displayed in a javax.swing.TextArea components.
Which is true?
....
D. none of the requirement can be fulfilled using either session beans or message driven beans.
E. Both session beans and MDB can fulfill some but not all of the requirements



I chose D, but the model answer is E.
I think MDB cannot be exposed as a web service. Only singleton/stateless beans can be exposed as web service.That is why I think E should not be the right option.
 
You showed up just in time for the waffles! And this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic