Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ibm 158 questions

 
Axel Janssen
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
 
Jochen van Waasen
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic