A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Certification
»
Developer Certification (SCJD/OCMJD)
Author
DBClient interface
Valeri Mikhailov
Greenhorn
Joined: Oct 18, 2002
Posts: 15
posted
Dec 08, 2002 10:20:00
0
I am using common DBClient interface for local and RMI connection. Why do compieler ask to throw
RemoteException
for the interface methods?
Mark Spritzler
ranger
Sheriff
Joined: Feb 05, 2001
Posts: 17243
1
I like...
posted
Dec 09, 2002 10:25:00
0
Because you are extending Remote in your interface. If you have your interface throw Exception, it will handle your errors.
Mark
Perfect World Programming, LLC
-
Two Laptop Bag
-
Tube Organizer
How to Ask Questions the Smart Way FAQ
Valeri Mikhailov
Greenhorn
Joined: Oct 18, 2002
Posts: 15
posted
Dec 10, 2002 07:00:00
0
Thank you!
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: DBClient interface
Similar Threads
Max Habibi - DBClient
RMI Design : Following Max's Book
Question About RMI
Understanding DBClient in Max's book
[URLyBIRD] guicontroller problem with interfaces
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter