• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

altering DBAccess

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Doing B&S (...still...) just wondering can I tweak DBAccess interface to implement RMI?

Thanks

L
 
Ranch Hand
Posts: 267
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Laura Williamson:
Hi,

Doing B&S (...still...) just wondering can I tweak DBAccess interface to implement RMI?

Thanks

L




Hi! I suppose u have read ur instructions very well and read the part of the instructions that says
...and must implement the following interface..
If u wanna use RMI u could use Adapter Design pattern that way u could work around the defiency of the given interface! U could also get Max's book, it totally good and also get Andrew's upcoming book!Cheers
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
uhm...no!
 
author and jackaroo
Posts: 12200
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Laura,

The problem with changing the interface (as opposed to implementing the given interface as mentioned by Saheed) is that it means that any other programs that are coded to the original interface will no longer work.

While Sun have apparently decided against automatic testing of the Data class (for the moment at least), they still have some programs that verify that your Data class does implement the given interface. So any changes could result in an automatic failure.

Regards, Andrew
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic