permaculture playing cards*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Data class Interface help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Data class Interface help" Watch "Data class Interface help" New topic
Author

Data class Interface help

Andre Mermegas
Ranch Hand

Joined: Jun 20, 2001
Posts: 158
ok, id like to make a common Interface both
Data and RemoteData class can implement which
exposes all the public methods.As it stands I'm
having a problem with them both using one inteface
which defines all the public methods of Data.
Here is the interface for Data class

here is the interface for RemoteData

What would be the way to make one common interface?
I thought perhaps that removing all the throws from
each method would work, but it causes compile errors.
I may be kinda confused..
reguards,
Andre
[This message has been edited by Andre Mermegas (edited December 13, 2001).]


--=( Andre Mermegas )=--
Andre Mermegas
Ranch Hand

Joined: Jun 20, 2001
Posts: 158
thanks guys, found what i was looking for in search!!
=) this place is awesome. http://www.javaranch.com/ubb/Forum25/HTML/000832.html

------------------
Andre Mermegas
Sun Certifed Java Programmer
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Data class Interface help
 
Similar Threads
Trying to instantiate my middle tier class??see code
Remote Objects Interface
Writing Data Client
FBN : Exception in High level Data Interface
creating an Adapter for my interface??