File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Can the Data class definition be changed ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Developer Certification (SCJD/OCMJD)
Reply Bookmark "Can the Data class definition be changed ?" Watch "Can the Data class definition be changed ?" New topic
Author

Can the Data class definition be changed ?

Vivian Richards
Greenhorn

Joined: Jun 19, 2001
Posts: 7
HI,
I would like to change the definition of Data class to:
interface DataInterface implements remote
{
//all public methods of Data
}
class Data implements DataInterface
{
}
Please let me know if this is allowed ? Will SUN allow me to change the class definition of Data ?
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
You can change the definition, as long as you've got a good reason for it (as in this case).
- Peter
 
 
subject: Can the Data class definition be changed ?
 
Threads others viewed
Design issues with local-remote Data class
FBN : Design
RemoteData implementation
DataInterface extends Remote?
Design questions (with RMI)
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture