• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

a requirement

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

with the requirement that you must have a client-side object that implements all the public methods in Data.


What does it mean ??
just like implements a DataImpl class extends DataInterface that have all the public methods in Data class ?
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It really means what it says. I have an interface that has all the ublic methods, then my Remote and Local implementations then have all the same methods as the Data class, then I wrap it into a DataAccessFacade.
Mark
 
author
Posts: 3252
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Although some (like Mark) do write the client-side class for this object, please note that it doesn't say that you have to. For example, rmic may generate that class for you. It depends on your design.
Ah. Design. To set the OOD juices going:
User Interface <==> Business Logic <==> Database
The "public methods in Data" are effectively the Business Logic <==> Database interface. What does Sun's requirement mean for the server you're going to build?
- Peter
reply
    Bookmark Topic Watch Topic
  • New Topic