• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

a requirement

 
Chris Chang
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • 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 ?
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • 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
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic