jQuery in Action, 3rd edition
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes DBClient interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "DBClient interface" Watch "DBClient interface" New topic

DBClient interface

Valeri Mikhailov

Joined: Oct 18, 2002
Posts: 15
I am using common DBClient interface for local and RMI connection. Why do compieler ask to throw RemoteException for the interface methods?
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17271

Because you are extending Remote in your interface. If you have your interface throw Exception, it will handle your errors.

Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Valeri Mikhailov

Joined: Oct 18, 2002
Posts: 15
Thank you!
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: DBClient interface
It's not a secret anymore!