Win a copy of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 this week in the Programmer Certification 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
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

ibm 158 questions

 
Ranch Hand
Posts: 2166
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
8)
A developer needs to create a web site that displays information about a user's BankAccount. The information is contained in a BankAccount entity bean and is guaranteed to be accurate to within 1 day of account activity. Which of the following Access beans is the BEST to use to represent the BankAccount in this scenario?

a) RowSet

b) ColumnSet

c) Copy Helper

d) Proxy Wrapper

e) JavaBean Wrapper

This should be about J2EE inter-layer communication design pattern. Anybody has some arguments to answer? And possibly give some hind to find information?
thanks Axel
 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Axel Janssen:
8)
A developer needs to create a web site that displays information about a user's BankAccount. The information is contained in a BankAccount entity bean and is guaranteed to be accurate to within 1 day of account activity. Which of the following Access beans is the BEST to use to represent the BankAccount in this scenario?

a) RowSet

b) ColumnSet

c) Copy Helper

d) Proxy Wrapper

e) JavaBean Wrapper

...
thanks Axel



Choice c) is the correct answer.
Choice b) and d) are false as they do not exist.
Choice a) is useful if you need to represent data that is delivered by two or more EJBs.
Choice e) is just a wrapper for an EJB so that the EJB is accessed every time you read the data.
So choice c) is correct. The data is copied on creation from the EJB and if the data is accessed the 'copy helper object' is accessed without getting data from the EJB. But you do not have the most actual data. But as it is sufficient for data to be accurate within 1 day as the question asks for the Copy Helper is the right choice.
You find information in the WAS redbook and VAJ and WAS documentation.
Kind regards
Jochen
[ May 02, 2002: Message edited by: Jochen van Waasen ]
 
I’m tired of walking, and will rest for a minute and grow some wheels. This is the promise of this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!