• Post Reply Bookmark Topic Watch Topic
  • New Topic

EPractace labs mock 3 question 34  RSS feed

Himai Minh
Ranch Hand
Posts: 1518
  • Mark post as helpful
  • send pies
  • 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.
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!