Hello,
I'm currently working on URLyBird and have a question regarding the business layer and the use of RMI.
After reading some threads I've concluded that a common solution is to have one BusinessServices interface
that you extend two other interfaces from - LocalBusinessServices and RemoteBusinessServices (also extending Remote).
You then have two classes implementing those interfaces. If you use this approach you will end up with two classes
with almost identical code. The only difference is the exceptions that the methods throw. Or, am I missing something?
Niclas
I'm currently working on URLyBird and have a question regarding the business layer and the use of RMI.
After reading some threads I've concluded that a common solution is to have one BusinessServices interface
that you extend two other interfaces from - LocalBusinessServices and RemoteBusinessServices (also extending Remote).
You then have two classes implementing those interfaces. If you use this approach you will end up with two classes
with almost identical code. The only difference is the exceptions that the methods throw. Or, am I missing something?
Niclas