Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • 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:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Best Practise and why  RSS feed

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Customer EJB retrieving customer information from a database is to be displayed in a JSP. In order for the EJB provider to make the information from the Customer EJB available to the application assembler, the BEST approach is to provide the application assembler with a:
a) Wrapper object delegating all method calls to the remote Entity bean. The wrapper object provides access to only the getter methods defined in the Entity bean.
b) Jar file containing the Customer bean's stubs, remote and home interface.
c) Wrapper object delegating all method calls to the remote Entity bean. The wrapper object provides access to the bean's getter and setter methods.
d) Wrapper object acting as a local attribute cache for the remote Entity bean. The wrapper object provides access to the bean's getter methods.
 
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Roland,
Please note that your name violates the JavaRanch naming standard. http://www.javaranch.com/name.jsp Please change your display name to your real first name - space - your real last name.
Thanks
 
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Are you just making a read of the info, or are you updating the data first, then displaying the results?
/rick
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!